Add exact_title filter to findings API#14597
Merged
mtesauro merged 1 commit intoDefectDojo:devfrom Mar 27, 2026
Merged
Conversation
|
This pull request modifies a sensitive file path (dojo/filters.py) flagged by the configured codepaths scanner as a sensitive edit; reviewers should verify the change or update
🔴 Configured Codepaths Edit in
|
| Vulnerability | Configured Codepaths Edit |
|---|---|
| Description | Sensitive edits detected for this file. Sensitive file paths and allowed authors can be configured in .dryrunsecurity.yaml. |
We've notified @mtesauro.
Comment to provide feedback on these findings.
Report false positive: @dryrunsecurity fp [FINDING ID] [FEEDBACK]
Report low-impact: @dryrunsecurity nit [FINDING ID] [FEEDBACK]
Example: @dryrunsecurity fp drs_90eda195 This code is not user-facing
All finding details can be found in the DryRun Security Dashboard.
valentijnscholten
approved these changes
Mar 26, 2026
Maffooch
approved these changes
Mar 26, 2026
blakeaowens
approved these changes
Mar 26, 2026
Jino-T
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a new optional query parameter exact_title to the /api/v2/findings endpoint to allow exact title matching.
Existing behavior remains unchanged:
New behavior:
Example:
GET /api/v2/findings?exact_title=TLS%20Certificate%20Expired
Test results
Ideally you extend the test suite in
tests/anddojo/unitteststo cover the changed in this PR.Alternatively, describe what you have and haven't tested.
Manual testing using local DefectDojo docker-compose environment:
Documentation
OpenAPI should include it via django-filter introspection; verified in swagger UI locally
Checklist
This checklist is for your information.
dev.dev.bugfixbranch.