mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34: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:
@@ -1,10 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
git clone https://github.com/coreruleset/coreruleset.git owasp-v3
|
||||
cd owasp-v3
|
||||
git checkout v3.0.2 -b tag3.0.2
|
||||
cd -
|
||||
git clone -c advice.detachedHead=false --depth 1 --branch v3.0.2 https://github.com/coreruleset/coreruleset.git owasp-v3
|
||||
|
||||
echo 'Include "owasp-v3/crs-setup.conf.example"' >> basic_rules.conf
|
||||
echo 'Include "owasp-v3/rules/*.conf"' >> basic_rules.conf
|
||||
|
Reference in New Issue
Block a user