Skip to content

DefectDojo Hook: Allow setting minimum severity on Import (closes #1700 )#1775

Merged
Weltraumschaf merged 5 commits intomainfrom
feature/minimum_severity_integration
Jul 2, 2023
Merged

DefectDojo Hook: Allow setting minimum severity on Import (closes #1700 )#1775
Weltraumschaf merged 5 commits intomainfrom
feature/minimum_severity_integration

Conversation

@ManuelNeuer
Copy link
Contributor

ADDED: Functionality to set a minimum_severity in scans

Description

The issue 1700 is closed with this pull request. This PR adds the functionality to set the defectdojo.securecodebox.io/minimum_severity: "..." annotation for each scan. If this is set DefectDojo only create findings for fidings of the scan, which have at least this severity.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

@github-actions
Copy link

github-actions bot commented Jun 22, 2023

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ GROOVY npm-groovy-lint 1 0 9.38s
⚠️ JAVA checkstyle 2 2 6.17s
✅ SPELL misspell 4 0 0.06s
✅ YAML prettier 1 0 0.78s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

Vanessa Hermann added 2 commits June 26, 2023 16:37
@Weltraumschaf Weltraumschaf force-pushed the feature/minimum_severity_integration branch from 55b6449 to 7fed628 Compare June 26, 2023 14:37
Vanessa Hermann and others added 2 commits June 27, 2023 10:10
@rfelber rfelber added this to the v4.1.0 milestone Jun 28, 2023
@rfelber rfelber linked an issue Jun 28, 2023 that may be closed by this pull request
@Weltraumschaf Weltraumschaf merged commit 6b5f3e8 into main Jul 2, 2023
@Weltraumschaf Weltraumschaf deleted the feature/minimum_severity_integration branch July 2, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

DefectDojo Hook: Allow setting minimum severity on Import

3 participants