Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Refresh AI settings contract snapshots for the Patrol notification fields

rcourtman252d04603b01
diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go
index 06d23a4bec..ffc493430f 100644
--- a/internal/api/contract_test.go
+++ b/internal/api/contract_test.go
@@ -1756,6 +1756,8 @@ func TestContract_AISettingsUpdateProviderResolutionJSONSnapshot(t *testing.T) {
"patrol_auto_fix":false,
"alert_triggered_analysis":true,
"patrol_event_triggers_enabled":true,
+ "patrol_finding_notifications_enabled":true,
+ "patrol_finding_notify_min_severity":"warning",
"patrol_alert_triggers_enabled":true,
"patrol_anomaly_triggers_enabled":true,
"patrol_alert_trigger_min_severity":"critical",
@@ -1949,6 +1951,8 @@ func TestContract_AISettingsBYOKOverrideDoesNotExposeQuickstartInventoryJSONSnap
"patrol_auto_fix":false,
"alert_triggered_analysis":true,
"patrol_event_triggers_enabled":true,
+ "patrol_finding_notifications_enabled":true,
+ "patrol_finding_notify_min_severity":"warning",
"patrol_alert_triggers_enabled":true,
"patrol_anomaly_triggers_enabled":true,
"patrol_alert_trigger_min_severity":"critical",
@@ -4201,6 +4205,8 @@ func TestContract_HostedAISettingsDoesNotAutoBootstrapQuickstartJSONSnapshot(t *
"patrol_auto_fix":false,
"alert_triggered_analysis":true,
"patrol_event_triggers_enabled":true,
+ "patrol_finding_notifications_enabled":true,
+ "patrol_finding_notify_min_severity":"warning",
"patrol_alert_triggers_enabled":true,
"patrol_anomaly_triggers_enabled":true,
"patrol_alert_trigger_min_severity":"critical",
@@ -4270,6 +4276,8 @@ func TestContract_AISettingsRetiredQuickstartAliasJSONSnapshot(t *testing.T) {
"patrol_auto_fix":false,
"alert_triggered_analysis":true,
"patrol_event_triggers_enabled":true,
+ "patrol_finding_notifications_enabled":true,
+ "patrol_finding_notify_min_severity":"warning",
"patrol_alert_triggers_enabled":true,
"patrol_anomaly_triggers_enabled":true,
"patrol_alert_trigger_min_severity":"critical",
@@ -4343,6 +4351,8 @@ func TestContract_AISettingsOllamaAuthJSONSnapshot(t *testing.T) {
"patrol_auto_fix":false,
"alert_triggered_analysis":true,
"patrol_event_triggers_enabled":true,
+ "patrol_finding_notifications_enabled":true,
+ "patrol_finding_notify_min_severity":"warning",
"patrol_alert_triggers_enabled":true,
"patrol_anomaly_triggers_enabled":true,
"patrol_alert_trigger_min_severity":"critical",
@@ -4911,6 +4921,8 @@ func TestContract_HostedTenantAISettingsDoesNotAutoBootstrapQuickstartJSONSnapsh
"patrol_auto_fix":false,
"alert_triggered_analysis":true,
"patrol_event_triggers_enabled":true,
+ "patrol_finding_notifications_enabled":true,
+ "patrol_finding_notify_min_severity":"warning",
"patrol_alert_triggers_enabled":true,
"patrol_anomaly_triggers_enabled":true,
"patrol_alert_trigger_min_severity":"critical",