From b62c2c554a67d71986139561c5ae2e62a34eb06f Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Fri, 20 Mar 2026 14:53:40 +0100 Subject: [PATCH] =?UTF-8?q?changed=20default=20f=C3=BCr=20Software=20Inven?= =?UTF-8?q?tory=20&=20Vulnerability=20Analyzer=20to=20off=20(pre-release?= =?UTF-8?q?=20phase)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Agent/AutopilotMonitor.Agent/buildcounter.txt | 2 +- .../Functions/Config/GetAgentConfigFunction.cs | 2 +- .../Models/Config/AgentConfigResponse.cs | 2 +- src/Web/autopilot-monitor-web/app/settings/page.tsx | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt index 625c09bc..910fbe3b 100644 --- a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt +++ b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt @@ -1 +1 @@ -532 +533 diff --git a/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs b/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs index a7c9f652..ace65a41 100644 --- a/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs +++ b/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs @@ -160,7 +160,7 @@ namespace AutopilotMonitor.Functions.Functions.Config { EnableLocalAdminAnalyzer = tenantConfig.EnableLocalAdminAnalyzer ?? true, LocalAdminAllowedAccounts = tenantConfig.GetLocalAdminAllowedAccounts(), - EnableSoftwareInventoryAnalyzer = tenantConfig.EnableSoftwareInventoryAnalyzer ?? true + EnableSoftwareInventoryAnalyzer = tenantConfig.EnableSoftwareInventoryAnalyzer ?? false }, SendTraceEvents = tenantConfig.SendTraceEvents, UnrestrictedMode = tenantConfig.UnrestrictedModeEnabled && tenantConfig.UnrestrictedMode, diff --git a/src/Shared/AutopilotMonitor.Shared/Models/Config/AgentConfigResponse.cs b/src/Shared/AutopilotMonitor.Shared/Models/Config/AgentConfigResponse.cs index d4879853..5d937e94 100644 --- a/src/Shared/AutopilotMonitor.Shared/Models/Config/AgentConfigResponse.cs +++ b/src/Shared/AutopilotMonitor.Shared/Models/Config/AgentConfigResponse.cs @@ -248,6 +248,6 @@ namespace AutopilotMonitor.Shared.Models /// emits a baseline snapshot (startup) plus delta (shutdown) for vulnerability insight. /// Default: true /// - public bool EnableSoftwareInventoryAnalyzer { get; set; } = true; + public bool EnableSoftwareInventoryAnalyzer { get; set; } = false; } } diff --git a/src/Web/autopilot-monitor-web/app/settings/page.tsx b/src/Web/autopilot-monitor-web/app/settings/page.tsx index da8ec51c..369cfd5e 100644 --- a/src/Web/autopilot-monitor-web/app/settings/page.tsx +++ b/src/Web/autopilot-monitor-web/app/settings/page.tsx @@ -106,7 +106,7 @@ export default function SettingsPage() { const [enableLocalAdminAnalyzer, setEnableLocalAdminAnalyzer] = useState(true); const [localAdminAllowedAccounts, setLocalAdminAllowedAccounts] = useState([]); const [newAllowedAccount, setNewAllowedAccount] = useState(""); - const [enableSoftwareInventoryAnalyzer, setEnableSoftwareInventoryAnalyzer] = useState(true); + const [enableSoftwareInventoryAnalyzer, setEnableSoftwareInventoryAnalyzer] = useState(false); // Unrestricted mode state const [unrestrictedMode, setUnrestrictedMode] = useState(false); @@ -183,7 +183,7 @@ export default function SettingsPage() { } catch { setLocalAdminAllowedAccounts([]); } - setEnableSoftwareInventoryAnalyzer(data.enableSoftwareInventoryAnalyzer ?? true); + setEnableSoftwareInventoryAnalyzer(data.enableSoftwareInventoryAnalyzer ?? false); setUnrestrictedMode(data.unrestrictedMode ?? false); // Parse SAS expiry and fire notification to bell if needed @@ -530,7 +530,7 @@ export default function SettingsPage() { setLocalAdminAllowedAccounts(config.localAdminAllowedAccountsJson ? JSON.parse(config.localAdminAllowedAccountsJson) : []); } catch { setLocalAdminAllowedAccounts([]); } setNewAllowedAccount(""); - setEnableSoftwareInventoryAnalyzer(config.enableSoftwareInventoryAnalyzer ?? true); + setEnableSoftwareInventoryAnalyzer(config.enableSoftwareInventoryAnalyzer ?? false); }; const handleSaveNotifications = () => saveConfiguration("notifications");