DependencyTrack / DependencyTrack/dependency-track

Policy Condition for Direct Components

Open
#4,444 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

In the policy management we can add coordinates as condition. While coordinates can be specified with a group, name, and version, an _exact_ match is not provided.

Example: Component shown as belonging to group "org.keycloak" is actually part of "org.keycloak.bom" group and shows up as a result in the alert. This results in reporting on 70 components instead of 34 direct ones.

![Image](https://github.com/user-attachments/assets/a54c51a6-e0a1-4704-b412-3da8155a720a)

### Proposed Behavior

Add a new condition to the policy management for direct components only.

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.