changed default für Software Inventory & Vulnerability Analyzer to off (pre-release phase)

This commit is contained in:
Oliver Kieselbach
2026-03-20 14:53:40 +01:00
parent dc3a3a5923
commit b62c2c554a
4 changed files with 6 additions and 6 deletions
@@ -1 +1 @@
532
533
@@ -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,
@@ -248,6 +248,6 @@ namespace AutopilotMonitor.Shared.Models
/// emits a baseline snapshot (startup) plus delta (shutdown) for vulnerability insight.
/// Default: true
/// </summary>
public bool EnableSoftwareInventoryAnalyzer { get; set; } = true;
public bool EnableSoftwareInventoryAnalyzer { get; set; } = false;
}
}
@@ -106,7 +106,7 @@ export default function SettingsPage() {
const [enableLocalAdminAnalyzer, setEnableLocalAdminAnalyzer] = useState(true);
const [localAdminAllowedAccounts, setLocalAdminAllowedAccounts] = useState<string[]>([]);
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");