Display policy sync inconsistencies as error state in policies page
Why are we doing this work
Currently, when policies fail to sync between policy YAML and the database, users have no visual indication that their policies may be out of sync. This creates a false sense of security and can lead to compliance issues when policies shown in the UI don't match what's actually enforced.
By displaying sync inconsistencies as error states, we provide immediate visibility into sync failures, allowing users to quickly identify and resolve issues before they impact security posture or compliance requirements.
As a part of this issue, we want to show the inconsistencies as error state in the UI and also allow the user to force resync policies using resyncSecurityPolicies
graphql mutation.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
Verification steps
Edited by 🤖 GitLab Bot 🤖