Skip to content

Commit 2837a17

Browse files
committed
chore: fix lychee settings
1 parent d420121 commit 2837a17

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ jobs:
6161
id: lychee
6262
uses: lycheeverse/lychee-action@22134d37a1fff6c2974df9c92a7c7e1e86a08f9c # for v1.9.0
6363
with:
64-
args: --no-progress -u "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -E './content/**/*.md'
64+
args: "--cookie-jar /tmp/lychee-cookies './content/**/*.md'"
6565
jobSummary: true

content/development/contribution_guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Rule tests also provide an excellent way to test WAF engines and implementations
369369

370370
The rule tests are located under `tests/regression/tests`. Each CRS rule *file* has a corresponding *directory* and each individual *rule* has a corresponding *YAML file* containing all the tests for that rule. For example, the tests for rule 911100 *(Method is not allowed by policy)* are in the file `REQUEST-911-METHOD-ENFORCEMENT/911100.yaml`.
371371

372-
Full documentation of the required formatting and available options of the YAML tests can be found at https://github.com/coreruleset/ftw-tests-schema/blob/main/spec/v2.0/ftw.md.
372+
Full documentation of the required formatting and available options of the YAML tests can be found at https://github.com/coreruleset/ftw-tests-schema/blob/main/spec.
373373

374374
### Positive Tests
375375

content/rules/ruleid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ of IDs for you thank you.
3535
| 420,000-429,999 | reserved for ScallyWhack |
3636
| 430,000--439,999 | reserved for rules published by Flameeye |
3737
| 440,000-599,999 | unused **(available for reservation)** |
38-
| 600,000-699,999 | reserved for [use by Akamai](https://www.akamai.com/products/web-application-protector) |
38+
| 600,000-699,999 | reserved for [use by Akamai](https://www.akamai.com/products/app-and-api-protector) |
3939
| 700,000-799,999 | reserved for Ivan Ristic |
4040
| 900,000-999,999 | reserved for the OWASP CRS project |
4141
| 1,000,000-1,009,999 | reserved for rules published by Redhat Security Team |

lychee.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
exclude = ["github.com/coreruleset.*/SECURITY.md", "github.com/coreruleset.*/.github/.*"]
2-
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0"
3-
no-progress = true
1+
exclude = ["github.com/coreruleset/coreruleset/blob/?$", "https://www.akamai.com/products/app-and-api-protector"]
2+
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0"
3+
no_progress = true
4+
cache = true
5+
verbose = "debug"
6+
accept = "200..=204, 429"
7+
exclude_all_private = true

0 commit comments

Comments
 (0)