mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-15 17:12:14 +03:00
build: add ftw cloud test
This commit is contained in:
10
.github/workflows/test-ci-windows.yml
vendored
10
.github/workflows/test-ci-windows.yml
vendored
@@ -299,3 +299,13 @@ jobs:
|
||||
}
|
||||
|
||||
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