Skip to content

Commit fc68a23

Browse files
committed
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.
1 parent ed36b13 commit fc68a23

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/benchmark/download-owasp-v2-rules.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
#
33
#
44

5-
git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git owasp-v2
5+
git clone https://github.com/coreruleset/coreruleset.git owasp-v2
6+
cd owasp-v2
7+
git checkout 2.2.9 -b tag2.2.9
8+
cd -
69

710
echo 'Include "owasp-v2/base_rules/*.conf"' >> basic_rules.conf
811
echo 'Include "owasp-v2/optional_rules/*.conf"' >> basic_rules.conf

test/benchmark/download-owasp-v3-rules.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33

4-
git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git owasp-v3
4+
git clone https://github.com/coreruleset/coreruleset.git owasp-v3
55
cd owasp-v3
66
git checkout v3.0.2 -b tag3.0.2
77
cd -

0 commit comments

Comments
 (0)