soprasteria / sonar-report

Generates an html report from SonarQube
GNU General Public License v3.0
87 stars 43 forks source link

allbugs flag #234

Open mtcolman opened 11 months ago

mtcolman commented 11 months ago

Hello, how should I provide true or false to the --allbugs flag? In previous versions I've used --allbugs="true" but now I have an error error: unknown option '--allbugs=true' and likewise when I try --allbugs=true I get error: unknown option '--allbugs=true'.

sonar-report --help shows:

--allbugs                               flag to indicate if the report should contain all bugs, not only vulnerabilities. (default: false)
--fix-missing-rule                  Extract rules without filtering on type (even if allbugs=false). Not useful if allbugs=true. (default: false)

So I'm not sure.

Thanks, Matt

KARTIK10BIN commented 9 months ago

@mtcolman you should be using it as: --allbugs true

danielFesenmeyer commented 6 months ago

I think you should just use --allbugs as a single arg, it implies allbugs=true. I had the same issue, and it works for me as described.