mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-15 09:02:15 +03:00
build: add ftw cloud test
This commit is contained in:
12
.github/workflows/test-ci-windows.yml
vendored
12
.github/workflows/test-ci-windows.yml
vendored
@@ -298,4 +298,14 @@ jobs:
|
||||
Exit 1
|
||||
}
|
||||
|
||||
Get-EventLog -LogName Application -Source ModSecurity | Format-List
|
||||
Get-EventLog -LogName Application -Source ModSecurity | Format-List
|
||||
|
||||
- name: Test ModSecurity Rules
|
||||
shell: pwsh
|
||||
run: |
|
||||
$testRuleDir = "C:\Program Files\ModSecurity IIS\coreruleset\tests\regression\tests"
|
||||
|
||||
go install github.com/coreruleset/go-ftw@latest
|
||||
cd go\bin
|
||||
& go-ftw.exe -d $testRuleDir --cloud -e 920380-1 --show-failures-only
|
||||
|
||||
|
||||
Reference in New Issue
Block a user