UI: Add AND logic for tag filtering#13789
Merged
mtesauro merged 1 commit intoDefectDojo:bugfixfrom Dec 1, 2025
Merged
Conversation
🔴 Risk threshold exceeded.This pull request modifies dojo/filters.py, which the scanner flagged as a sensitive edit; sensitive file paths and allowed authors can be configured in .dryrunsecurity.yaml. The change is marked at a failing risk threshold but is not set to block the merge.
🔴 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.
All finding details can be found in the DryRun Security Dashboard.
valentijnscholten
approved these changes
Nov 30, 2025
Maffooch
approved these changes
Dec 1, 2025
Jino-T
approved these changes
Dec 1, 2025
Maffooch
pushed a commit
to valentijnscholten/django-DefectDojo
that referenced
this pull request
Feb 16, 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.
Closes #13555
I have applied logic to filters.py, where OR logic is present. Review and address any required revisions.
I have kept the existing code as is, so there are now two logics for filter OR and AND with label Tags (AND)
Test results
Have performed manual verification using the UI with a local development instance:
Setup: Created findings with various tag combinations (e.g.,
pci,pentest, andcloud).Action: Tested the new
Tags (AND)filter withpciandpentest..Result: The new filter works as expected without disrupting the existing functionality.
Documentation
N/A (UI enhancement).