feat(catalog): add policy service and admin API - #14318
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* feat(catalog): expose governance config flag * feat(catalog): filter component palette by policy (#14320) * feat(catalog): filter component palette by policy * feat(catalog): filter starter templates by policy (#14321) * feat(catalog): filter starter templates by policy * feat(catalog): enforce component policy at runtime (#14322)
✅ Test Coverage AdvisorNo source changes detected without accompanying tests. Thanks for keeping coverage up! 🎉
|
* feat(catalog): add policy service and admin API * feat(catalog): expose governance config flag (#14319) * feat(catalog): expose governance config flag * feat(catalog): filter component palette by policy (#14320) * feat(catalog): filter component palette by policy * feat(catalog): filter starter templates by policy (#14321) * feat(catalog): filter starter templates by policy * feat(catalog): enforce component policy at runtime (#14322)
* feat(catalog): add policy data model * fix(catalog): harden foundation migration * feat(catalog): add policy service and admin API (#14318) * feat(catalog): add policy service and admin API * feat(catalog): expose governance config flag (#14319) * feat(catalog): expose governance config flag * feat(catalog): filter component palette by policy (#14320) * feat(catalog): filter component palette by policy * feat(catalog): filter starter templates by policy (#14321) * feat(catalog): filter starter templates by policy * feat(catalog): enforce component policy at runtime (#14322) * feat(catalog): close remaining enforcement paths (#14364) * fix(catalog): sequence migration after provider policy * fix(catalog): remove stale authorization test mock
Summary
Adds the central catalog-policy decision service, process-local snapshot cache, and superuser administration API on top of the catalog-policy schema PR.
GET/PUTendpoints for/api/v1/catalog-policy/componentsand/api/v1/catalog-policy/templatescatalog:block/catalog:unblockaudit event per changed keyJira
Validation
Operational note
The ticket specifies an in-process cache. A successful write invalidates and replaces the snapshot in the worker handling that request; sibling workers hydrate at startup and require a future distributed invalidation/version-polling mechanism for immediate cross-worker coherence. The API uses the existing
audit_decisionpipeline, so persistence follows the existingAUTHZ_AUDIT_ENABLEDsetting.