Skip to content

Policy violation audit supress action sometimes not tracked #5967

@schoofseggl

Description

@schoofseggl

Current Behavior

When auditing a policy violation I observed, that supress actions are not always tracked.

Steps to Reproduce

Have a new empty violation:
Image

Click "supress" before selecting anything in the dropdown:

Image

(trail stays emtpy)

Click supress again. Now an "unsupressed" action is tracked in the audit trail

Image

Note: the order matters: If you FIRST select anything in the dropdown and THEN click supress, it's tracked.

Expected Behavior

Supress is always tracked in the audit trail

Dependency-Track Version

4.14.0

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

10

Browser

Google Chrome

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions