Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allbugs flag #234

Open
mtcolman opened this issue Nov 4, 2023 · 2 comments
Open

allbugs flag #234

mtcolman opened this issue Nov 4, 2023 · 2 comments

Comments

@mtcolman
Copy link

mtcolman commented Nov 4, 2023

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
Copy link

KARTIK10BIN commented Dec 28, 2023

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

@danielFesenmeyer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants