Validate writing to a different location
Validate also modsecurity to write to a different location instead of the default directory
This commit is contained in:
parent
e485345224
commit
fa0fcf36ea
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,8 @@ var _ = framework.DescribeAnnotation("modsecurity owasp", func() {
|
||||||
|
|
||||||
f.WaitForNginxServer(host,
|
f.WaitForNginxServer(host,
|
||||||
func(server string) bool {
|
func(server string) bool {
|
||||||
return !strings.Contains(server, "modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;")
|
return !strings.Contains(server, "modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;") &&
|
||||||
|
strings.Contains(server, "SecAuditLog /var/tmp/modsec_audit.log")
|
||||||
})
|
})
|
||||||
|
|
||||||
f.HTTPTestClient().
|
f.HTTPTestClient().
|
||||||
|
|
Loading…
Reference in a new issue