Code Monkey home page Code Monkey logo

Comments (10)

gengivan avatar gengivan commented on May 20, 2024

Hi Team, any update?

Thanks
Ivan Geng

from dependency-check-sonar-plugin.

stevespringett avatar stevespringett commented on May 20, 2024

What version of SonarQube? Issues are generated against the project, not a particular source file. Are there any changes to the project in SQ prior to this issue occurring?

from dependency-check-sonar-plugin.

gengivan avatar gengivan commented on May 20, 2024

The sonar version is Version 5.6.1.

Issues were not reported on the source files. The issues were reported on JARs. As some of the JARs are already latest or the latest version has known issues, so we marked them as 'Won't Fix'.

A few days later some files were reported again(no change on the jar dependency), but not all of the issues happens again.

Any suggestion? Thanks.

from dependency-check-sonar-plugin.

gengivan avatar gengivan commented on May 20, 2024

Hi @stevespringett , any suggestion? Thanks.

from dependency-check-sonar-plugin.

stevespringett avatar stevespringett commented on May 20, 2024

Have you compared the paths of the jars from each of the runs? Are the paths exactly the same? If not, then they would be considered separate issues. I've looked through the plugin code and don't see anything that would cause this issue randomly. You may want to diff the DC XML files.

from dependency-check-sonar-plugin.

stevespringett avatar stevespringett commented on May 20, 2024

Also, can you provide me the exact version of a few jars that you've seen this with?

from dependency-check-sonar-plugin.

gengivan avatar gengivan commented on May 20, 2024

@stevespringett , you are right. Actually, the alerts were reported on different type files: in war and individual jar. But the incorrect alert behavior is not consistent, not figure out when it was reported again.

I think the reason should be alerts status had been moved to FIXED, so sonar treat them as new issues.

Please find one sample jar: jackson-mapper-asl-1.9.13.jar.

By the way, any more detail about this?

You may want to diff the DC XML files.

from dependency-check-sonar-plugin.

pioto avatar pioto commented on May 20, 2024

This still appears to be an issue with version 1.1.2 of this plugin, and version 6.7.6 of SonarQube.

It seems that the "key" of the issue changes with each run, causing the issues to be marked as "isNew" in the JSON report, which in turn ends up falsely marking some builds as introducing "new" issues that have been around for months.

from dependency-check-sonar-plugin.

Reamer avatar Reamer commented on May 20, 2024

Hi,
please checkout new version of this plugin.
1.1.4 for Sonarqube 6.7.5 and above
1.2.3 for Sonarqube 7.6 and above

from dependency-check-sonar-plugin.

Reamer avatar Reamer commented on May 20, 2024

Should be fixed with actual version of this plugin. This plugin looks for a pom.xml or gradle.build in your project to link issue against this files.

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.