From 497ea3c3168c6b981269a1fd83870a606311fcfe Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Sun, 1 Feb 2026 09:11:42 +0100 Subject: [PATCH] fix(webapp): Fix CrowdSec decisions data extraction getDecisions() was looking for result.alerts but RPC returns result.decisions - fixed to use correct property name. Co-Authored-By: Claude Opus 4.5 --- .../secubox-app-webapp/files/www/secubox-dashboard/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/secubox/secubox-app-webapp/files/www/secubox-dashboard/index.html b/package/secubox/secubox-app-webapp/files/www/secubox-dashboard/index.html index a2cef359..88a65231 100644 --- a/package/secubox/secubox-app-webapp/files/www/secubox-dashboard/index.html +++ b/package/secubox/secubox-app-webapp/files/www/secubox-dashboard/index.html @@ -3524,7 +3524,7 @@ async getDecisions() { try { const result = await UBUS.call('luci.crowdsec-dashboard', 'decisions'); - return result?.alerts || []; + return result?.decisions || []; } catch (e) { console.warn('CrowdSec decisions error:', e); return [];