From d67aa12012d93fadccf7a5628b2c87f6990cd0e5 Mon Sep 17 00:00:00 2001 From: Cyb3rzombie Date: Mon, 29 Jul 2024 10:32:25 +0200 Subject: [PATCH] Fix: query crowdsec api without limit --- src/widgets/crowdsec/widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/crowdsec/widget.js b/src/widgets/crowdsec/widget.js index d29fa1f1..1c770bc0 100644 --- a/src/widgets/crowdsec/widget.js +++ b/src/widgets/crowdsec/widget.js @@ -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", }, }, };