Skip to content

Limit PORTFOLIO alert to project does not work for audit changes #975

Closed

Description

@dfn-certling

Current Behavior:

This is similar to #616. Limiting PORTFOLIO alerts to projects does not work for PROJECT_AUDIT_CHANGE notifications like suppressing findings and setting their analysis state. Changing a finding status for a project sends the notification via all alerts that include PROJECT_AUDIT_CHANGE not depending on the configured project limits.

Steps to Reproduce:

Define two projects and respective PORTFOLIO alerts limited to the projects with PROJECT_AUDIT_CHANGE selected. Changing a finding status for one of the projects results in a notification sent for both projects.

Expected Behavior:

The notification should not be sent to alerts that limit their scope to other projects.

Environment:

  • Dependency-Track Version: 4.1.0
  • Distribution: Executable WAR
  • Database Server: PostgreSQL
  • Browser: Firefox

Additional Details:

Seems like the same handling that was changed in 286e2f2 should be applied to PROJECT_AUDIT_CHANGE notifications.

Activity

  1. ElisaDgbrt commented on Oct 19, 2022

    @ElisaDgbrt

    Hello @stevespringett @nscuro
    We are facing the same issue (Dependency-Track v4.5.0).
    I work in a big company and this problem affects many users and creates a security breach (sensitive information is therefore sent to people outside the projects).
    Would it be possible to have a status on this issue ?

  2. ridaeh commented on Oct 19, 2022

    @ridaeh

    We have the same issue , we are spammed by other projects alerts

  3. nscuro commented on Oct 19, 2022

    @nscuro
    Member

    Did not have this on the radar, thanks for bringing it up.

    Just raised a PR that should address it. @stevespringett I don't think this justifies a bugfix release, so I'd schedule this for 4.7. Or would you prefer this to be released sooner?

  4. added
    defect
    and removed on Oct 19, 2022
  5. added this to the 4.7 milestone on Oct 19, 2022
  6. stevespringett commented on Oct 19, 2022

    @stevespringett
    Member

    Thanks all. @nscuro lets target 4.7

  7. added a commit that references this issue on Oct 20, 2022
    2cc12c0
  8. github-actions commented on Nov 25, 2022

    @github-actions
    Contributor

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  9. locked as resolved and limited conversation to collaborators on Nov 25, 2022
  10. added a commit that references this issue on Mar 1, 2023
    8dd431b
  11. added a commit that references this issue on Jun 17, 2026
    e236130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    defect

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions