Skip to content

Support Tag Exclusion in Policy Scope #5042

@arjavdongaonkar

Description

@arjavdongaonkar

Current Behavior

Policies apply to projects with selected tags. There's no way to apply a policy to all projects except those with specific tags, making exclusion use cases cumbersome.

Proposed Behavior

Introduce a boolean flag invertTagMatch to allow policies to apply to all projects excluding those with the selected tags.
This enhancement updates both backend logic and frontend UI to support inverted tag matching behavior.

Related PRs:

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions