diff --git a/controllers/statussync/policy_status_sync.go b/controllers/statussync/policy_status_sync.go index faa161db..a4623a16 100644 --- a/controllers/statussync/policy_status_sync.go +++ b/controllers/statussync/policy_status_sync.go @@ -737,6 +737,8 @@ func StartComplianceEventsSyncer( events.Forget(ceUntyped) events.Done(ceUntyped) + log.Info("Recorded a compliance event with the compliance history API", "eventUID", ce.UID) + if ce.UID != "" { processedEvents[ce.UID] = true }