duration_expr not working in profiles.yaml
Hello,
I just installed crowdsec with apt and I want to enable increasing durations for ban decisions.
In /etc/crowdsec/profiles.yaml, I tried uncommenting the included
duration_expr
string but it causes crowdsec to fail to start with this error
Here is the section from my profiles.yaml
I tried with and without quotations around the expr value, both caused the above error.
Would appreciate any help3 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
Hello,
duration_expr
should be set a the top level of the document, not in decisions
Resolving duration_expr not working in profiles.yaml
This has now been resolved. If you think this is a mistake please run
/unresolve