Skip to content

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

Merged
aikebah merged 1 commit intodependency-check:mainfrom
mrclrchtr:main
Jan 7, 2023
Merged

feat: Add "properties.security-severity" to SARIF report be able to filter and sort by Severity in GitHub Security Code scanning#5227
aikebah merged 1 commit intodependency-check:mainfrom
mrclrchtr:main

Conversation

@mrclrchtr
Copy link
Copy Markdown
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 <[email protected]>
@aikebah aikebah added this to the 7.5.0 milestone Jan 7, 2023
@aikebah aikebah merged commit c6b6250 into dependency-check: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
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants