dependency-track
dependency-track copied to clipboard
Support Tag Exclusion in Policy Scope
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
- [x] I have read and understand the contributing guidelines
- [x] I have checked the existing issues for whether this enhancement was already requested