Skip to content

Commit 99c009d

Browse files
committed
up
1 parent e9a0ced commit 99c009d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crowdsec-docs/docs/appsec/rules_examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,11 @@ Dynamically disable specific rules before evaluation.
482482
pre_eval:
483483
- filter: req.URL.Path == "/admin/upload"
484484
apply:
485-
- RemoveInBandRuleByName('file-upload-scanner')
485+
- RemoveInBandRuleByName('some-specific-rule')
486486
```
487487
488488
#### Use Case
489-
Disable file upload restrictions for specific admin endpoints.
489+
Disable existing rules on specific endpoints.
490490
491491
### 2. Disable Rules by Tag
492492

0 commit comments

Comments
 (0)