Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This pull request adds Semgrep SAST scanner which scans pull request (code changes) and this would be **non-blocking, non-mandatory check**. This scan should ideally take less than ~2 minutes to execute and report results directly to the pull request. ### **Note:** 1. _**Initially this semgrep scan will be non-blocking, non-mandatory check for merging the pull request.**_ ### Rollout plan 1. Merge this SAST Scan check, keep executing on pull request and monitor for errors. 2. Connect `code scanning alert` [webhook](https://docs.github.com/en/webhooks/webhook-events-and-payloads#code_scanning_alert) to SIEM, Slack alert notification. 3. Communicate in `discuss-cody` & `announce-security` about semgrep scan, how to resolve issues. 4. Make this scan as required check before merging branches to `main` & release branch 5. If something goes wrong, revert this pull request and disable mandatory check. ## Test plan - [x] Ensure Semgrep SAST is executing actively in github action CI - [x] Ensure Semgrep reports vulnerabilities and upload results to code scanning <!-- Required. See https://sourcegraph.com/docs/dev/background-information/testing_principles. -->
- Loading branch information