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

feat: Add "properties.security-severity" to SARIF report be able to filter and sort by Severity in GitHub Security Code scanning #5227

Merged
merged 1 commit into from
Jan 7, 2023

Conversation

mrclrchtr
Copy link
Contributor

@mrclrchtr mrclrchtr commented Jan 6, 2023

Description of Change

Actually, all issues have the same Severity in the Security Code scanning overview.

As described here it's possible/recommended to add a severity with the properties.security-severity.

So we added the "properties.security-severity" to the SARIF template to be able to filter and sort by Severity in GitHub Security Code scanning.

We think, that the base score described here, should have the correct value.

Have test cases been added to cover the new functionality?

no - but I uploaded the generated SARIF file and verified, that the file could be processed by GitHub and I could filter and sort in the Security Code scanning overview.

@boring-cyborg boring-cyborg bot added the core changes to core label Jan 6, 2023
…t by Severity in GitHub Security Code scanning.

Co-authored-by: Michael Blume <michael.blume@otto.de>
@aikebah aikebah added this to the 7.5.0 milestone Jan 7, 2023
@aikebah aikebah merged commit c6b6250 into jeremylong:main Jan 7, 2023
@aikebah aikebah changed the title feat: Add "properties.security-severity" to be able to filter and sort by Severity in GitHub Security Code scanning feat: Add "properties.security-severity" to SARIF report be able to filter and sort by Severity in GitHub Security Code scanning Jan 7, 2023
@aikebah aikebah modified the milestones: 7.5.0, 8.0.0 Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core changes to core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants