Skip to content

GitHub Advisory Mirroring task triggers too many notifications #4400

@antoinbo

Description

@antoinbo

Current Behavior

With system informational data-source mirroring notifications enabled.
When GitHub Advisories are mirrored, a couple hundred of notifications are sent.

Steps to Reproduce

Not tested, but I guess:

  1. Configure notifications for
  2. Configure and Enable GitHub Advisories Mirroring

Investigation: method retrieveAdvisories is called recursively, dispatching multiple notifications.

Expected Behavior

Only one notification is sent when the GitHub Advisory Mirroring task is executed.

Dependency-Track Version

4.12.1

Dependency-Track Distribution

Container Image

Database Server

Microsoft SQL Server

Database Server Version

No response

Browser

Microsoft Edge

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSomething isn't workingintegration/githubRelated to the GitHub integrationp2Non-critical bugs, and features that help organizations to identify and reduce risksize/SSmall effort

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions