Inspectcode output without severity/level abote 'note'
Problem:
Issues above the level 'note' are not marked as such in the output of InspectCode.
Command used:
inspectcode.exe $(PathtoSln) --exclude=$(ExcludedFiles) --no-build --output="resharper.json"
Issues with severity ‘note’ are marked with "level": “note”, however severity ‘WARNING’ does not have any level attached to the issue.
However ruleId, ruleIndex and message are present for the issues as expected.
Is there a reason for this behavior or a setting that I am missing?
InspectCode versions I've tried:
2024.1.1
2023.3.4
Please sign in to leave a comment.
Default severity is a warning. And it's skipped from emitting when matches default level.
Is there a way to change it?
I am trying to import the sarif report into another software but without the level those issues get flagged incorrectly.
Unfortunately, at this moment - no. It's a problem in Sarif SDK we use.
Please follow the ticket for further development.
Thank you very much!