Skip to content

feat: add advanced features — policies, dependency graph, drift detec…#231

Open
erfanmo wants to merge 4 commits into
crossplane-contrib:pre-releasefrom
erfanmo:feat/advanced-features-113
Open

feat: add advanced features — policies, dependency graph, drift detec…#231
erfanmo wants to merge 4 commits into
crossplane-contrib:pre-releasefrom
erfanmo:feat/advanced-features-113

Conversation

@erfanmo

@erfanmo erfanmo commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Add five advanced features to Crossview:

What changed
Policy Resources: new Policies page listing CompositionValidationPolicy resources
Resource Dependency Graph: new /api/resource/tree endpoint that recursively traverses Crossplane resource relationships (claims, XRs, managed resources, compositions)
Drift Detection: new /api/resource/drift endpoint comparing desired vs actual state (Synced/Ready conditions + spec.forProvider vs status.atProvider field diffs), with a new Drift tab in resource details
Resource History/Audit: new resource_events DB table, history API endpoints, and a History tab with timeline view in resource details (requires DB enabled)
Resource Metrics/Analytics: new resource_metrics DB table, background collector (5 min interval), metrics API endpoints, and a new Analytics page with health trend visualization (requires DB enabled)

@MoeidHeidari MoeidHeidari deleted the branch crossplane-contrib:pre-release April 16, 2026 17:53
@MoeidHeidari MoeidHeidari reopened this Apr 16, 2026
@MoeidHeidari

Copy link
Copy Markdown
Collaborator

@erfanmo, thanks for the contribution. Please make sure that after the changes, the test cases stay valid and can actually pass the tests. As of now, it is failing the tests. Could you please fix that and update the PR so we can move forward?

@erfanmo erfanmo force-pushed the feat/advanced-features-113 branch from eea5b9b to 648a6ae Compare April 21, 2026 18:16
erfanmo added 4 commits April 21, 2026 20:19
…tion, history, analytics

Signed-off-by: Takin <erfan.mohebi@gmail.com>
Signed-off-by: Takin <erfan.mohebi@gmail.com>
Signed-off-by: Takin <erfan.mohebi@gmail.com>
Signed-off-by: Takin <erfan.mohebi@gmail.com>
@erfanmo erfanmo force-pushed the feat/advanced-features-113 branch from 648a6ae to 83d88e8 Compare April 21, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants