Skip to content

finding groups: filter by product if applicable#12711

Merged
valentijnscholten merged 1 commit intoDefectDojo:bugfixfrom
valentijnscholten:finding-group-filter-per-product
Jul 3, 2025
Merged

finding groups: filter by product if applicable#12711
valentijnscholten merged 1 commit intoDefectDojo:bugfixfrom
valentijnscholten:finding-group-filter-per-product

Conversation

@valentijnscholten
Copy link
Member

Partly fixes: #10268

This PR limits the list of Finding Group options in the Finding Filter to those groups that belong to the Product the user is viewing.
This also applies to when viewing findings by Test or by Enagement. In that case Finding Groups from the whole product will be shown. This is because currently the FindingFilter class is not aware of which Engagement or Test is being viewed. It only has the Product as context via self.pid. I didn't want to refactor too many things and I think limiting the list to the Product context is already a good improvement.

@dryrunsecurity
Copy link

DryRun Security

No security concerns detected in this pull request.


All finding details can be found in the DryRun Security Dashboard.

Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@Maffooch Maffooch requested review from dogboat and hblankenship July 2, 2025 15:39
@valentijnscholten valentijnscholten merged commit fef9339 into DefectDojo:bugfix Jul 3, 2025
77 checks passed
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.

5 participants