DependencyTrack / DependencyTrack/dependency-track

Policy violation notifications based on the violation state

Open
#4,375 4 comments 1 reaction 0 assignees View on GitHub
enhancement p2 size/M
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

Lets assume we define 2 policies.

Policy 1:
violation state: fail
conditions: severity is CRITICAL

Policy 2:
violation state: warn
conditions: severity is HIGH

If we now setup a notification for policy violations we will receive notifications for both types of violations. My current use case would be something like: if polciy2 is violated just display the violation in the UI , if policy1 is violated send a notification. Currently we recieve notifications either for both policies or for none.

### Proposed Behavior

It would be nice to be able to configure a violation state for an alert or if notifications are enabled for one policy at all.

### 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.