177480cff7
* add support for plugin, support mysql & so on * fix queries Co-authored-by: erenJag <erenJag> Co-authored-by: AlteredCoder <AlteredCoder>
26 lines
No EOL
798 B
YAML
26 lines
No EOL
798 B
YAML
profile: default_remediation
|
|
filter: "sig.Labels.remediation == 'true' && not sig.Whitelisted"
|
|
api: true # If no api: specified, will use the default config in default.yaml
|
|
remediation:
|
|
ban: true
|
|
slow: true
|
|
captcha: true
|
|
duration: 4h
|
|
outputs:
|
|
- plugin: database
|
|
---
|
|
profile: default_notification
|
|
filter: "sig.Labels.remediation != 'true'"
|
|
#remediation is empty, it means non taken
|
|
api: false
|
|
outputs:
|
|
- plugin: database # If we do not want to push, we can remove this line and the next one
|
|
store: false
|
|
---
|
|
profile: send_false_positif_to_API
|
|
filter: "sig.Whitelisted == true && sig.Labels.remediation == 'true'"
|
|
#remediation is empty, it means non taken
|
|
api: true
|
|
outputs:
|
|
- plugin: database # If we do not want to push, we can remove this line and the next one
|
|
store: false |