Skip to content

Commit da2c220

Browse files
committed
fix: run generation again
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
1 parent daea143 commit da2c220

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

README.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -396,40 +396,6 @@ SecRuleUpdateTargetById 942100 "!REQUEST_COOKIES:session_id"
396396

397397
See: https://github.com/coreruleset/coreruleset/pull/4378
398398

399-
## OrderedActions
400-
401-
**Source:** `src/crs_linter/rules/ordered_actions.py`
402-
403-
Check that actions are in the correct order.
404-
405-
This rule verifies that actions in rules follow the CRS-specified order.
406-
The first action must be 'id', followed by 'phase', and then other
407-
actions in their designated order.
408-
409-
Example of a failing rule (wrong action order):
410-
411-
```apache
412-
SecRule REQUEST_URI "@beginsWith /index.php" \
413-
"phase:1,\ # Wrong: phase should come after id
414-
id:1,\
415-
deny,\
416-
t:none,\
417-
nolog"
418-
```
419-
420-
421-
Example of a correct rule:
422-
423-
```apache
424-
SecRule REQUEST_URI "@beginsWith /index.php" \
425-
"id:1,\ # Correct: id comes first
426-
phase:1,\ # Correct: phase comes second
427-
deny,\
428-
t:none,\
429-
nolog"
430-
```
431-
432-
>>>>>>> 0bea3ef (feat: add lint for no negated request_cookies)
433399
## PlConsistency
434400

435401
**Source:** `src/crs_linter/rules/pl_consistency.py`

0 commit comments

Comments
 (0)