Skip to content

Add notifications for comments posted on vulnerability analyses - #7112

Open
Kortekaasy wants to merge 1 commit into
DependencyTrack:mainfrom
Kortekaasy:main
Open

Kortekaasy wants to merge 1 commit into
DependencyTrack:mainfrom
Kortekaasy:main

Conversation

@Kortekaasy

Copy link
Copy Markdown

Description

This change adds a separate notification group and notification for comments on vulnerabilities. The notification includes the project, component, vulnerability and details on the comment such as timestamp, user, and message. All notification channels have also been updated to support rendering this new notification.

Addressed Issue

This PR implements #7041

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have updated the migration changelog accordingly
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly
  • This PR is a substantial change (per the ADR criteria), and I have added an ADR under docs/adr/

Vulnerability analysis comment notifications were previously part of
the generic project audit change group. This bundling made it
difficult to subscribe to and filter comment-specific notifications.

This change introduces a dedicated comment notification group. Now,
submitting a comment triggers only a comment notification, while state
changes automatically trigger both an audit change and a comment
notification due to the system-generated audit trail.

All notification channels (Slack, MS Teams, Email, Mattermost, etc.)
are updated to support rendering of comment metadata, including the
commenter details and timestamp.

Signed-off-by: Yoep Kortekaas <yoep.kortekaas@gmail.com>
@owasp-dt-bot

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants