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:
Eduardo Arias 2024-04-23 16:35:37 -03:00
parent fef419f986
commit 7bff2f77aa
2 changed files with 5 additions and 2 deletions

View File

@ -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/optional_rules/*.conf"' >> basic_rules.conf

View File

@ -1,7 +1,7 @@
#!/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
git checkout v3.0.2 -b tag3.0.2
cd -