Skip to content

Finding Group Filter should only show groups from the same Test/Engagement #10268

@maxwai

Description

@maxwai

Bug description

When using the filter on the general "All Findings" Page (or other page where all Findings regardless of Product/Engagement are shown), all known groups are correctly shown in the List.
But when using the filter while on an Engagement Test, I also get all known groups. But I would expect to only see the Groups that belong to this Engagement Test since the Findings shown can only belong to the Groups of the current Engagement Test.

Steps to reproduce
Steps to reproduce the behavior:

  1. Create multiple Tests/Engagements
  2. Create groups in each Test
  3. Try to filter by finding group inside a Test -> all finding groups, also from other Tests, are showing up.

Expected behavior

The Finding Group filter should only show finding groups that are available in the given context:

  • all if viewing all findings
  • only groups of Tests belonging to the product if viewing product findings
  • only groups of the current Test if viewing findings in a Test

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • Operating System: not relevant
  • DefectDojo version: v2.34.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp_wantedWe would welcome a community contribution on this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions