mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Updated references to coreruleset repository
- For OWASP v2 rules, switch to a v2 tag for the paths referenced in the rest of the script to apply.
This commit is contained in:
parent
fef419f986
commit
7bff2f77aa
@ -2,7 +2,10 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git owasp-v2
|
git clone https://github.com/coreruleset/coreruleset.git owasp-v2
|
||||||
|
cd owasp-v2
|
||||||
|
git checkout 2.2.9 -b tag2.2.9
|
||||||
|
cd -
|
||||||
|
|
||||||
echo 'Include "owasp-v2/base_rules/*.conf"' >> basic_rules.conf
|
echo 'Include "owasp-v2/base_rules/*.conf"' >> basic_rules.conf
|
||||||
echo 'Include "owasp-v2/optional_rules/*.conf"' >> basic_rules.conf
|
echo 'Include "owasp-v2/optional_rules/*.conf"' >> basic_rules.conf
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git owasp-v3
|
git clone https://github.com/coreruleset/coreruleset.git owasp-v3
|
||||||
cd owasp-v3
|
cd owasp-v3
|
||||||
git checkout v3.0.2 -b tag3.0.2
|
git checkout v3.0.2 -b tag3.0.2
|
||||||
cd -
|
cd -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user