Check if decision has been succesfully taken?
I'm really unsure if I've configured crowdsec fully functional now or not.
So
journalctl -u sshd -e
contains messages like this:
cscli explain --log <the log entry> --type syslog
gives me this:
so the parses seem to detect (if I'm interpreting the output right) that this is an attack.
However, if I do nft list ruleset | grep '45.140.17.124
I can't find an entry of it. Also I can't find a new alert entry in cscli alerts list
. What could I've been doing wrong?6 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 β€οΈ
So most of our scenarios are a
leaky
bucket meaning there must be multiple attempts to login before a alert/decision is made, a single event does not mean bad behaviour (this is contextual to yourself as you may be the sole person logging in so you may want to be more aggressive). Our scenarios are designed to be minimal false positive as possible which may not fit your threat model so you can change the capacity of the scenarios to reduce the attempts before a decisions is made.Fair enough. Thank you
Resolving Check if decision has been succesfully taken?
This has now been resolved. If you think this is a mistake please run
/unresolve
may I ask how I can be more aggressive? Would I have to write my own decisions? I can't see a way to "configure" the current available decisions
btw. thank you for answering my questions. I appreciate it.
You would have to edit the scenario directly, each one has a
capacity
and a leakspeed
you can think of the capacity
as the attempts and leakspeed
is timerange.
imo most times you dont have to modify the leakspeed
, so just reduce the capacity
.