Hi,
I have this problem. The cscli alerts list command shows alerts, but everywhere it displays Remediation: false.
However, in the npmplus logs I have:
2025/12/22 21:32:33 [alert] 1840#1840: *1501 [lua] crowdsec.lua:642: Allow(): [Crowdsec] denied 'xxx.xx.xxx.xx' with 'ban' (by appsec), client: xxx.xx.xxx.xx, server: mapu.test, request: "GET /sqli_1.php?title=0%27+union+select+all+1%2C+concat%28id%2Clogin%29%2Cpassword%2Cemail%2Csecret%2C6%2C7+from+users+%23%3B&action=search HTTP/1.1", host: "mapu.test", referrer: "http://mapu.test/sqli_1.php?title=1%27+or+1%3D1%23&action=search"
2025/12/22 21:32:33 [alert] 1840#1840: *1501 [lua] crowdsec.lua:642: Allow(): [Crowdsec] denied 'xxx.xx.xxx.xx' with 'ban' (by appsec), client: xxx.xx.xxx.xx, server: mapu.test, request: "GET /favicon.ico HTTP/1.1", host: "mapu.test", referrer: "http://mapu.test/sqli_1.php?title=0%27+union+select+all+1%2C+concat%28id%2Clogin%29%2Cpassword%2Cemail%2Csecret%2C6%2C7+from+users+%23%3B&action=search"
So it's clear from this that the request was blocked.
Why doesn't the cscli alerts inspect id command show correctly whether the request was blocked?
docker exec -it crowdsec cscli alerts inspect 166
- ID : 166
- Date : 2025-12-22T20:32:34Z
- Machine : localhost
- Simulation : false
- Remediation : false
- Reason : anomaly score block: sql_injection: 55, anomaly: 55,
- Events Count : 8
....
docker exec -it crowdsec cscli alerts inspect 167
- ID : 167
- Date : 2025-12-22T20:32:34Z
- Machine : localhost
- Simulation : false
- Remediation : false
- Reason : anomaly score block: sql_injection: 5, anomaly: 5,
- Events Count : 4
Can something be done so that the cscli alerts inspect id command shows whether a given request was actually blocked? I'd like to be able to check everything quickly from one place, instead of searching for that request in npmplus logs later.