We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a0ced commit 99c009dCopy full SHA for 99c009d
crowdsec-docs/docs/appsec/rules_examples.md
@@ -482,11 +482,11 @@ Dynamically disable specific rules before evaluation.
482
pre_eval:
483
- filter: req.URL.Path == "/admin/upload"
484
apply:
485
- - RemoveInBandRuleByName('file-upload-scanner')
+ - RemoveInBandRuleByName('some-specific-rule')
486
```
487
488
#### Use Case
489
-Disable file upload restrictions for specific admin endpoints.
+Disable existing rules on specific endpoints.
490
491
### 2. Disable Rules by Tag
492
0 commit comments