File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 23
23
# @param modsec_secruleengine
24
24
# Configures the rules engine.
25
25
#
26
+ # @param debug_log_level
27
+ # Configures the debug log level.
28
+ #
26
29
# @param audit_log_relevant_status
27
30
# Configures which response status code is to be considered relevant for the purpose of audit logging.
28
31
#
140
143
Optional[Array[String]] $custom_rules_set = $apache::params::modsec_custom_rules_set,
141
144
Stdlib::Absolutepath $modsec_dir = $apache::params::modsec_dir,
142
145
String $modsec_secruleengine = $apache::params::modsec_secruleengine,
146
+ Integer[0, 9] $debug_log_level = 0,
143
147
String $audit_log_relevant_status = ' ^(?:5|4(?!04))' ,
144
148
String $audit_log_parts = $apache::params::modsec_audit_log_parts,
145
149
String $audit_log_type = $apache::params::modsec_audit_log_type,
258
262
' audit_log_type' => $audit_log_type ,
259
263
' audit_log_storage_dir' => $audit_log_storage_dir ,
260
264
' logroot' => $logroot ,
265
+ ' debug_log_level' => $debug_log_level ,
261
266
}
262
267
263
268
file { 'security.conf' :
Original file line number Diff line number Diff line change 44
44
SecResponseBodyMimeType text/plain text/html text/xml
45
45
SecResponseBodyLimit 524288
46
46
SecResponseBodyLimitAction <%= $secresponsebodylimitaction %>
47
- SecDebugLogLevel 0
47
+ SecDebugLogLevel <%= $debug_log_level %>
48
48
SecAuditEngine RelevantOnly
49
49
SecAuditLogRelevantStatus "<%= $audit_log_relevant_status %>"
50
50
SecAuditLogParts <%= $audit_log_parts %>
You can’t perform that action at this time.
0 commit comments