Skip to content

Python: Improve SARIF severity level reporting of extractor diagnostics#6928

Merged
tausbn merged 5 commits intogithub:mainfrom
RasmusWL:diagnostic-as-warning
Oct 21, 2021
Merged

Python: Improve SARIF severity level reporting of extractor diagnostics#6928
tausbn merged 5 commits intogithub:mainfrom
RasmusWL:diagnostic-as-warning

Conversation

@RasmusWL
Copy link
Copy Markdown
Member

Python port of #6830

/cc @henrymercer

Rename going to happen in second commit, so git doesn't get too confused

I don't actually recall where to lookup that warning is 1, and error is
2, but I took this from
https://github.com/github/codeql/pull/6830/files#diff-460fc20823ced3b074784db804f2d4d6cfcad4f23fe5d264dc7496c782629a2eR121-R123
I reworded this slightly from what was done in C++, such that I can
completely stand behind what it says.
Copy link
Copy Markdown
Contributor

@tausbn tausbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor comments, otherwise LGTM. 👍

Co-authored-by: Taus <tausbn@github.com>
@RasmusWL RasmusWL requested a review from tausbn October 21, 2021 08:24
@tausbn tausbn merged commit 562a57b into github:main Oct 21, 2021
@RasmusWL RasmusWL deleted the diagnostic-as-warning branch October 21, 2021 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants