Custom scenario and local RegexpInFile data
Hi, based on http-bad-user-agent, i've created a
local/http-bad-user-agent
file exists in data
-rw------- 1 root root 1,4K 16 sept. 20:18 /var/lib/crowdsec/data/local_bad_user_agents.regex.txt
But nothing match, it look like the regex file is not used.
Doc is not clear for local custom scenario and regexpInFile part.
Do you known how to solve this please ?
Thanks a lot4 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 ❤️
Resolving Custom scenario and local RegexpInFile data
This has now been resolved. If you think this is a mistake please run
/unresolve
It's working, was a problem with my apache log (not combined) and maybe the missing "remediation: true" in config.
Most likely the
remediation: true
as that is what informs crowdsec to take action on the scenario otherwise it doesnt match the default profiles.yaml