Skip to main content

Auto-attachment of policies to Intent Projects via labels

Allow Intent policies (and ideally also contexts and integrations on Intent Projects) to use the existing autoattach:<label> label convention. When an Intent Project is created or updated with a matching label, any policy carrying autoattach:<that-label> should be automatically attached.

Concretely:

  • An Intent policy labeled autoattach:intent-baseline should auto-attach to every Intent Project labeled intent-baseline.

  • The wildcard form autoattach:* should attach a policy to all Intent Projects within the policy's space (and child spaces), matching the behavior described in the Context docs.

  • Auto-attached policies should be visible in the Intent Project's Policies tab, clearly marked as auto-attached (same UX as stacks).

  • Support should extend to the Terraform provider and GraphQL API so that Intent Projects can be governed declaratively from an administrative stack.

Workaround
Problem
Status: ✅ Completed2 comments

Log in to comment and vote

Comments2

  • Natalia Gazda

    Team•

    Jul 2

    @Marcelo Almeida I’m happy to share it’s already possible :) Here the docs.

    • Coral Deer

      •

      Jul 6

      Awesome! Thanks @Natalia Gazda