dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Support Tag Exclusion in Policy Scope

Open arjavdongaonkar opened this issue 10 months ago • 0 comments

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:

  • [FE](https://github.com/DependencyTrack/frontend/pull/1275)
  • [BE](https://github.com/DependencyTrack/dependency-track/pull/5041)

Checklist

arjavdongaonkar avatar Jun 11 '25 11:06 arjavdongaonkar