mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Add script to download OWASP CRS v4 to run benchmark
- Simplified clone & checkout of CRS repository - Removed no longer maintained OWASP Core Ruleset v2
This commit is contained in:
9
test/benchmark/download-owasp-v4-rules.sh
Executable file
9
test/benchmark/download-owasp-v4-rules.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
git clone -c advice.detachedHead=false --depth 1 --branch v4.3.0 https://github.com/coreruleset/coreruleset.git owasp-v4
|
||||
|
||||
echo 'Include "owasp-v4/crs-setup.conf.example"' >> basic_rules.conf
|
||||
echo 'Include "owasp-v4/rules/*.conf"' >> basic_rules.conf
|
||||
|
||||
echo "Done."
|
||||
|
Reference in New Issue
Block a user