CID-19785 - Updload Sarif file directly to code scanning api#243
CID-19785 - Updload Sarif file directly to code scanning api#243andrewlundberg-wf wants to merge 3 commits into
Conversation
Merge Requirements Unmet ❌Request Rosie to automerge this pull request by including @Workiva/release-management-p in a comment. ❌ All commits reviewed (1553c3c authored by andrewlundberg-wf) General InformationTicket(s): Code Review(s): #243 Reviewers: None Additional InformationWatchlist Notifications: None Note: This is a shortened report. Click here to view Rosie's full evaluation. |
Security Audit ResultsPlease direct questions to #support-infosec. Commit Signing✅ All commits are signed Raven✅ 40 global file checks pass Images✅ No Workflows✅ |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
02b6619 to
1553c3c
Compare
| const config = { | ||
| input: 'src/index.ts', | ||
| onwarn(warning, warn) { | ||
| if (warning.code === 'THIS_IS_UNDEFINED') return |
There was a problem hiding this comment.
It removes unhelpful warnings that are being displayed in the build process
|
Do all we actually have to do here is just remove this gha-security-scanner/action.yml Lines 24 to 28 in f86d3c6 The main point of the ticket is removing the artifact from being publicly accessible. Is there a reason we upload it to the public artifact storage in the first place? |
Not sure we can answer that question. |
331bef8
How about pushing this to a future ticket, |
What I'm saying here is I think that the majority of this PR is unnecessary, the |
Replaces the external github/codeql-action/upload-sarif composite step with an in-process SARIF upload using the GitHub REST API (code-scanning/uploadSarif). This gives the action direct control over the upload lifecycle, including retry logic and error handling.
This was done to support allowing the action to be used in public repositories.