File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 54
54
<%- end -%>
55
55
SecArgumentSeparator &
56
56
SecCookieFormat 0
57
- <%- if scope [ 'os:: family' ] == 'Debian' -%>
57
+ <%- if scope [ 'facts' ] [ 'os' ] [ ' family'] == 'Debian' -%>
58
58
SecDebugLog <%= @logroot %> /modsec_debug.log
59
59
SecAuditLog <%= @logroot %> /modsec_audit.log
60
60
SecTmpDir /var/cache/modsecurity
61
61
SecDataDir /var/cache/modsecurity
62
62
SecUploadDir /var/cache/modsecurity
63
- <%- elsif scope [ 'os:: family' ] == 'Suse' -%>
63
+ <%- elsif scope [ 'facts' ] [ 'os' ] [ ' family'] == 'Suse' -%>
64
64
SecDebugLog /var/log/apache2/modsec_debug.log
65
65
SecAuditLog /var/log/apache2/modsec_audit.log
66
66
SecTmpDir /var/lib/mod_security
Original file line number Diff line number Diff line change 1
- <% if scope['os:: family'] == 'Redhat' and scope['os:: release:: major'].to_i <= 7 -%>
1
+ <% if scope['facts']['os'][' family'] == 'Redhat' and scope['facts']['os'][' release'][' major'].to_i <= 7 -%>
2
2
# ---------------------------------------------------------------
3
3
# Core ModSecurity Rule Set ver.2.2.9
4
4
# Copyright (C) 2006-2012 Trustwave All rights reserved.
You can’t perform that action at this time.
0 commit comments