Code Monkey home page Code Monkey logo

Comments (1)

K44sper avatar K44sper commented on June 12, 2024

Hi all,

Found the answer,

The dependency-check sonar quality gates are based on CVSSv2 and CVSSv3 scores,

It can happen that you have a severity High in the dependency-check report but with a CVSS score greater than 9,

Also by default the mapping is the following between CVSS score and

CVSS score Sonar.dependency-check mapping
> 9.0 Blocker
> 8.0 Critical
> 7.0 Major
> 4.0 Minor

And between Sonar.dependency-check and Quality gates metrics

Sonar.dependency-check mapping Quality gates dependency-check sonarQube plugin
Blocker Critical
Critical High
Major Medium
Minor Low

In my case I had a "high" CVE with a score > 9, so my quality gates failed with "you have a critical"

Improvements can be to align the different matrix :

  • If a CVE has a score > 9 then mark it as Critical in the report
  • Align Sonar.dependency-check mapping with what we have in terms of quality gates wording

from dependency-check-sonar-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.