Fix: query crowdsec api without limit

This commit is contained in:
Cyb3rzombie 2024-07-29 10:32:25 +02:00
parent ed928bfa25
commit d67aa12012

View File

@ -7,10 +7,10 @@ const widget = {
mappings: {
alerts: {
endpoint: "alerts",
endpoint: "alerts?limit=0",
},
bans: {
endpoint: "alerts?decision_type=ban&origin=crowdsec&has_active_decision=1",
endpoint: "alerts?decision_type=ban&origin=crowdsec&has_active_decision=1&limit=0",
},
},
};