mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
- Simplified clone & checkout of CRS repository - Removed no longer maintained OWASP Core Ruleset v2
10 lines
278 B
Bash
Executable File
10 lines
278 B
Bash
Executable File
#!/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."
|
|
|