-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix first instance rule being used as rule description for all violations of that rule and other SARIF improvements #7640
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
base: main
Are you sure you want to change the base?
Conversation
… for all warnings for that rule
…n says it is, fix Error details: instance.runs[0].tool.driver.rules[3].defaultConfiguration.level is not one of enum values: none,note,warning,error
…date severity mapping, add more rule description mappings
Thanks for you contribution. I added a remark on how to keep this in sync for future changes. Possibly not something which should addressed before/in this PR. Also something like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!!
I believe we'll need to rethink that getRuleDescription
somehow but unfortunately I don't see a quick/simple method..
@danmar this is ready for review again |
for your information I prefer if people use |
CI: I think you can fix the "dmake" failures by just running |
I have released 2.18.0 but if you fix this I think a 2.18.1 can be released with this fix. |
@danmar I fixed the dmake issue. |
@danmar this is ready for review |
@Nettozx there are 5 failing tests in the CI have you looked at those? |
…nge tests so it doesnt need to run executable
I made an update to move sarif reporter out to its own header because it was in an anonymous class so it couldn't be used for unit test originally. Now that I moved it, I updated the tests so it no longer relies on cppcheck executable and it can use internal libraries. |
… declaration - Include json.h in header - Remove duplicate include
|
Before:

After:
