sonic-buildimage/.github
Mai Bui 95f4af3407
[actions] Support Semgrep by Github Actions (#12249)
Signed-off-by: maipbui <maibui@microsoft.com>
#### Why I did it
[Semgrep](https://github.com/returntocorp/semgrep) is a static analysis tool to find security vulnerabilities.
When opening a PR or commtting to PR, Semgrep performs a diff-aware scanning, which scans changed files in PRs.
When merging PR, Semgrep performs a full scan on master branch and report all findings.
Ref: - [Supported Language](https://semgrep.dev/docs/supported-languages/#language-maturity) - [Semgrep Rules](https://registry.semgrep.dev/rule)
#### How I did it
Integrate Semgrep into this repository by committing a job configuration file
#### How to verify it
PR: https://github.com/maipbui/sonic-buildimage/pull/2
Master branch full scan findings: [Master branch findings results](https://github.com/maipbui/sonic-buildimage/actions/runs/3160181876/jobs/5144332404)
PR https://github.com/maipbui/sonic-buildimage/pull/2 scan findings: [Pull request findings results](https://github.com/maipbui/sonic-buildimage/actions/runs/3160193505/jobs/5144357859)
2022-10-03 14:38:55 -04:00
..
workflows [actions] Support Semgrep by Github Actions (#12249) 2022-10-03 14:38:55 -04:00
CODEOWNERS [CODEOWNERS]: update code owners for various repos (#10980) 2022-05-30 01:25:51 -07:00
issue_template.md [doc]: Update issue_template.md (#7067) 2021-03-31 00:04:43 -07:00
labeler.yml [ci] Support to merge SONiC package versions change pr automatically (#7065) 2021-04-11 21:17:28 -07:00
pull_request_template.md [doc]: Updated PR Template for a comment to add label/tag for the feature raised. (#12058) 2022-09-13 21:49:05 -07:00