From 3e168e9153f7f4efa82c3acec54874829e476a08f542fdea60ef05e25fa3fa32 Mon Sep 17 00:00:00 2001 From: larssand Date: Wed, 1 Jul 2026 09:00:46 +0200 Subject: [PATCH] fix advisor. refresh --- src/fgai/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fgai/dashboard.py b/src/fgai/dashboard.py index a893c51..d08c0a4 100644 --- a/src/fgai/dashboard.py +++ b/src/fgai/dashboard.py @@ -273,6 +273,7 @@ async function refresh() { const baseline = data.baseline || {}; const threat = (data.capabilities || {}).threat_intel || {}; const mcp = (data.capabilities || {}).graylog_mcp || {}; + const advisor = ((data.capabilities || {}).profile_advisor || {}); const configuration = data.configuration || {}; const cache = data.status_cache || {}; const streamCoverage = data.stream_coverage || []; @@ -323,7 +324,6 @@ async function refresh() { metric('Enabled streams', enabledStreams.length), metric('Streams missing profile', streamsMissingProfile), metric('MCP aggregate events', mcp.aggregate_events || 0), metric('MCP raw sample', mcp.raw_events_fetched || mcp.events_fetched || 0), metric('Partial streams', mcp.partial_streams || 0), metric('Sample capped', mcp.sample_limited_streams || 0), metric('Truncated streams', mcp.truncated_streams || 0), metric('Correlated entities', correlations.length) ].join(''); window.profileSuggestions = data.profile_suggestions || []; - const advisor = ((data.capabilities || {}).profile_advisor || {}); const showExistingProfiles = document.getElementById('showExistingProfiles')?.checked; const pendingProfileSuggestions = window.profileSuggestions.filter(item => !item.profile_exists); const visibleProfileSuggestions = showExistingProfiles ? window.profileSuggestions : pendingProfileSuggestions;