Skip to content

fix(defect_dojo): apply test tags to individual findings on (re)import#6

Merged
slManuel merged 1 commit into
trunkfrom
fix/apply-tags-to-findings
Jun 15, 2026
Merged

fix(defect_dojo): apply test tags to individual findings on (re)import#6
slManuel merged 1 commit into
trunkfrom
fix/apply-tags-to-findings

Conversation

@slManuel

Copy link
Copy Markdown
Owner

The engine only sent tags at the test level, so findings imported to DefectDojo had no tags. Send apply_tags_to_findings=true on import and reimport so DefectDojo propagates the test tags to every affected finding. This restores the exceptions/risk flow that queries findings by tag (e.g. /findings/?tags=engine_dependencies).

Description

Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.

Fix

How does someone fix the issue in code and/or in runtime?

Checklist:

  • The pull request is complete according to the guide of contributing of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes

The engine only sent tags at the test level, so findings imported to DefectDojo had no tags. Send apply_tags_to_findings=true on import and reimport so DefectDojo propagates the test tags to every affected finding. This restores the exceptions/risk flow that queries findings by tag (e.g. /findings/?tags=engine_dependencies).
@slManuel slManuel merged commit ca72c44 into trunk Jun 15, 2026
6 of 7 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.

1 participant