fix enrollment summary persistance in table

This commit is contained in:
Oliver Kieselbach
2026-03-06 21:17:22 +01:00
parent 6119bfa4c9
commit c85bccae94
2 changed files with 15 additions and 1 deletions
@@ -1 +1 @@
287
289
@@ -226,6 +226,13 @@ namespace AutopilotMonitor.Functions.Services
{ "TeamsWebhookUrl", config.TeamsWebhookUrl },
{ "TeamsNotifyOnSuccess", config.TeamsNotifyOnSuccess },
{ "TeamsNotifyOnFailure", config.TeamsNotifyOnFailure },
{ "ShowScriptOutput", config.ShowScriptOutput },
{ "ShowEnrollmentSummary", config.ShowEnrollmentSummary },
{ "EnrollmentSummaryTimeoutSeconds", config.EnrollmentSummaryTimeoutSeconds },
{ "EnrollmentSummaryBrandingImageUrl", config.EnrollmentSummaryBrandingImageUrl },
{ "HelloWaitTimeoutSeconds", config.HelloWaitTimeoutSeconds },
{ "AgentMaxLifetimeMinutes", config.AgentMaxLifetimeMinutes },
{ "SendTraceEvents", config.SendTraceEvents },
{ "EnableLocalAdminAnalyzer", config.EnableLocalAdminAnalyzer },
{ "LocalAdminAllowedAccountsJson", config.LocalAdminAllowedAccountsJson },
{ "BootstrapTokenEnabled", config.BootstrapTokenEnabled }
@@ -273,6 +280,13 @@ namespace AutopilotMonitor.Functions.Services
TeamsWebhookUrl = entity.GetString("TeamsWebhookUrl"),
TeamsNotifyOnSuccess = entity.GetBoolean("TeamsNotifyOnSuccess") ?? true,
TeamsNotifyOnFailure = entity.GetBoolean("TeamsNotifyOnFailure") ?? true,
ShowScriptOutput = entity.GetBoolean("ShowScriptOutput") ?? true,
ShowEnrollmentSummary = entity.GetBoolean("ShowEnrollmentSummary"),
EnrollmentSummaryTimeoutSeconds = entity.GetInt32("EnrollmentSummaryTimeoutSeconds"),
EnrollmentSummaryBrandingImageUrl = entity.GetString("EnrollmentSummaryBrandingImageUrl"),
HelloWaitTimeoutSeconds = entity.GetInt32("HelloWaitTimeoutSeconds") ?? 30,
AgentMaxLifetimeMinutes = entity.GetInt32("AgentMaxLifetimeMinutes"),
SendTraceEvents = entity.GetBoolean("SendTraceEvents") ?? true,
EnableLocalAdminAnalyzer = entity.GetBoolean("EnableLocalAdminAnalyzer"),
LocalAdminAllowedAccountsJson = entity.GetString("LocalAdminAllowedAccountsJson"),
BootstrapTokenEnabled = entity.GetBoolean("BootstrapTokenEnabled") ?? false