Skip to content

Commit b43a89c

Browse files
committed
relevant example
1 parent 184638d commit b43a89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crowdsec-docs/docs/appsec/rules_examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Disable specific rules using their unique ID during request processing.
526526
#### Hook Example
527527
```yaml
528528
pre_eval:
529-
- filter: req.URL.Path == "/api/upload" && req.Method == "POST"
529+
- filter: req.Method == "DELETE"
530530
apply:
531531
- RemoveInBandRuleByID(123)
532532
```

0 commit comments

Comments
 (0)