Skip to content

Fixes mapping of Trivy Scantypes to Defectfdojo#2390

Merged
Ilyesbdlala merged 1 commit intomainfrom
bugfix/trivy-dd-mapping
Mar 26, 2024
Merged

Fixes mapping of Trivy Scantypes to Defectfdojo#2390
Ilyesbdlala merged 1 commit intomainfrom
bugfix/trivy-dd-mapping

Conversation

@Ilyesbdlala
Copy link
Member

Description

This PR sets the correct mapping of the different Trivy Scantypes to Defectdojo
Trivy k8s currently does not function as intended. The attribute ClusterName causes a failure in DefectDojo Parser when empty.
Thanks to @nixboot for bringing this issue to our attention and proposing a solution.
closes #2364

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.

@netlify
Copy link

netlify bot commented Mar 22, 2024

Deploy Preview for docs-securecodebox canceled.

Name Link
🔨 Latest commit c7b3ea4
🔍 Latest deploy log https://app.netlify.com/sites/docs-securecodebox/deploys/6602c51906e5790009967129

@github-actions
Copy link

github-actions bot commented Mar 22, 2024

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ JAVA checkstyle 1 30 0.77s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Co-authored-by: Samreet Singh <[email protected]>

Signed-off-by: Ilyes Ben Dlala <[email protected]>
@Ilyesbdlala Ilyesbdlala force-pushed the bugfix/trivy-dd-mapping branch from a31c07e to c7b3ea4 Compare March 26, 2024 12:52
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Ilyesbdlala Ilyesbdlala merged commit 2528737 into main Mar 26, 2024
@Ilyesbdlala Ilyesbdlala deleted the bugfix/trivy-dd-mapping branch March 26, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Trivy Scans persisted to Defect Dojo are missing multiple metadata fields

3 participants