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");