Skip to content

Handle missing severity field in CycloneDX parser#13583

Merged
mtesauro merged 1 commit intobugfixfrom
cycloneDX-no-severity
Nov 3, 2025
Merged

Handle missing severity field in CycloneDX parser#13583
mtesauro merged 1 commit intobugfixfrom
cycloneDX-no-severity

Conversation

@Maffooch
Copy link
Copy Markdown
Contributor

Default the severity to "Medium" when the severity field is missing in the CycloneDX JSON input. Add a test case to verify this behavior with a sample JSON file lacking the severity field.

Copy link
Copy Markdown
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

@valentijnscholten valentijnscholten added this to the 2.52.0 milestone Nov 1, 2025
@mtesauro mtesauro merged commit 1f90ab7 into bugfix Nov 3, 2025
150 checks passed
@Maffooch Maffooch deleted the cycloneDX-no-severity branch January 26, 2026 16:09
Maffooch added a commit to valentijnscholten/django-DefectDojo that referenced this pull request Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants