From 7b5bc19c6f09cf581c03f680d620a9bf8afee5bb Mon Sep 17 00:00:00 2001 From: "Sebastian L." Date: Sun, 13 Jul 2025 14:20:25 +0200 Subject: [PATCH] [crowdsec]: Increase decisions to 1000 (more than default 100) --- plugins/security/crowdsec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/security/crowdsec b/plugins/security/crowdsec index 83689d3b..44e1cc25 100755 --- a/plugins/security/crowdsec +++ b/plugins/security/crowdsec @@ -100,7 +100,7 @@ class Decisions(): def __init__(self): _state = state.read_section('scenarios') self.state = _state if _state is not None else {} - self.data = call_cli('decisions', 'list') + self.data = call_cli('decisions', 'list', '--limit', '1000') if self.data is not None: self.decisions = len(self.data) self.banned_ips = len(set([d['source']['ip'] for d in self.data if d['source']['scope'] == 'Ip'])) # noqa: E501