Skip to content

Conversation

colinfyfe
Copy link

Description

Adds the ability to exclude suppressed findings from the Vulnerability Audit "Grouped Vulnerabilities" tab, mirroring the functionality in the "Vulnerabilities By Occurrence" tab. Defaults to hiding suppressed findings.

Existing behaviour with suppressed findings visible:

issue-4507-show-suppressed-on

New behaviour with suppressed findings hidden:

issue-4507-show-suppressed-off

Addressed Issue

Resolves #4507

Additional Details

Added showSuppressed filtering based on getAllFindings(). Differs from that method though in that pagination is handled via SQL instead of retrieving all records then sublisting results which should be more performant on large result sets.

This PR covers the Frontend changes - the API changes are covered in DependencyTrack/dependency-track#5257

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 added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@owasp-dt-bot
Copy link

owasp-dt-bot commented Aug 26, 2025

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

security/snyk check is complete. No issues have been found. (View Details)

@colinfyfe colinfyfe changed the title Fix issue 4507 suppressed vulns Feature: Show/Hide Suppressed Findings on Vulnerability Audit Grouped View Aug 26, 2025
@colinfyfe
Copy link
Author

colinfyfe commented Aug 26, 2025

Edited - force pushed a commit to clean up merges and correct the DCO

* Addresses issue 4507
* Added suppressed finding filter checkbox to
  VulnerabilityAuditGroupedByVulnerability.vue in same position as
  VulnerabilityAudit.vue for UI consistency.
* Note: new field is called showSuppressedGrouped rather than using
  the established showSuppressed - showSuppressed worked until the
  user left the page then returned. The network call would still fire
  when the checkbox was clicked but the checkbox wouldn't tick/untick
  and the table didn't refresh.

Signed-off-by: colinfyfe <[email protected]>
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