mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Opens auditlog files and directories with the correct mode
Respecting the directives: SecAuditLogStorageDir and SecAuditLogFileMode
This commit is contained in:
@@ -51,7 +51,9 @@
|
||||
"SecRule ARGS \"@contains test\" \"t:trim,block,auditlog\"",
|
||||
"SecAuditEngine RelevantOnly",
|
||||
"SecAuditLogParts ABCFHZ",
|
||||
"SecAuditLogStorageDir /tmp",
|
||||
"SecAuditLogStorageDir /tmp/test",
|
||||
"SecAuditLogDirMode 0766",
|
||||
"SecAuditLogFileMode 0600",
|
||||
"SecAuditLogRelevantStatus \"^(?:5|4(?!04))\""
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user