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

Fix #509, Rename Tool for CodeQL Results #512

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

ArielSAdams
Copy link
Contributor

@ArielSAdams ArielSAdams commented Jun 16, 2022

Checklist (Please check before submitting)

Describe the contribution
Fixes #509

Testing performed
Tested on fork here: https://github.com/ArielSAdams/cFS/actions/runs/2509680609

Tested renaming SARIF file here: https://github.com/ArielSAdams/cFS/actions/runs/2510376525

Expected behavior changes
Users can filter between coding standard results and security results for CodeQL by Tool in code scanning alerts.

The CodeQL sarif file, by default, is named cpp.sarif. The default file is renamed to Codeql-${{ matrix.scan-type }}.sarif so when users download the artifacts from cppcheck and CodeQL, they are not confusing one for the other.

image

Downside is that the number of alerts are not shown.

Contributor Info - All information REQUIRED for consideration of pull request
Ariel Adams, ASRC Federal

@ArielSAdamsNASA ArielSAdamsNASA added CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) continuous-integration labels Jun 16, 2022
@ArielSAdamsNASA ArielSAdamsNASA force-pushed the fix-509-rename-tool-codeql-results branch from d1a8222 to c61a326 Compare June 16, 2022 17:33
@ArielSAdamsNASA ArielSAdamsNASA force-pushed the fix-509-rename-tool-codeql-results branch from c61a326 to c14a1f7 Compare June 16, 2022 17:33
@astrogeco
Copy link
Contributor

@ArielSAdams can you add a screeenshot of how this change affects the code-scanning results page?

@ArielSAdamsNASA
Copy link
Contributor

@ArielSAdams can you add a screeenshot of how this change affects the code-scanning results page?

Provided screenshot.

@astrogeco astrogeco added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Jun 22, 2022
@astrogeco
Copy link
Contributor

CCB:2022-06-22 APPROVED

@dzbaker dzbaker merged commit a87abd1 into nasa:main Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB continuous-integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Tool for CodeQL Results
5 participants