#Is it possible to disable a scenario?

1 messages · Page 1 of 1 (latest)

late ginkgo
#

Hello,

I'm surprised I couldn't find an answer to my question, but it is possible to disable a scenario? And a scenario that is part of another collection? The only thing I found is to remove it completely, which I don't mind, but even with that I can see that the alerts are generated with removed scenario. Is there anything that I'm missing? Thank you!

In my example, I've tried to disable crowdsecurity/http-bad-user-agent. In the attached screenshots, you can see it's not in the list of the scenarios and the statuses of collections are tainted, but there are still generated alerts with it.

Thank you!

primal coralBOT
#
Important Information

Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.

Log Files

If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.

Guide Followed (CrowdSec Official)

If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.

Screenshots

Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.

devout birch
#

which I don't mind, but even with that I can see that the alerts are generated with removed scenario. Is there anything that I'm missing?
If this is the case you removed the sceanario but didnt restart the crowdsec service after removal?

#

However, if the question was more I can still see past alerts then yes it doesnt flush the old ones, it just stops new ones from generating

late ginkgo
#

No, even the new alerts are generated with that scenario. And I did restart the service. Tried both reload and restart as whole.

devout birch