You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In a whitelist configuration, if we want to add a static in meta, the static will be applied even if the whitelist not succeed.
To Reproduce
# cat /etc/crowdsec/config/parsers/s02-enrich/mywhitelists.yamlname: crowdsecurity/whitelistsdescription: "Whitelist events from my ip addresses"debug: truewhitelist:
reason: "my ip ranges"ip:
- "1.2.3.4"statics:
- meta: totovalue: lol
Expected behavior
The statics should be applied only if the whitelist is a success
The text was updated successfully, but these errors were encountered:
Describe the bug
In a whitelist configuration, if we want to add a static in
meta
, the static will be applied even if the whitelist not succeed.To Reproduce
Expected behavior
The statics should be applied only if the whitelist is a success
The text was updated successfully, but these errors were encountered: