Skip to content

[actions] Support Semgrep by Github Actions#40

Merged
maipbui merged 2 commits intosonic-net:masterfrom
maipbui:bui/semgrep
Oct 3, 2022
Merged

[actions] Support Semgrep by Github Actions#40
maipbui merged 2 commits intosonic-net:masterfrom
maipbui:bui/semgrep

Conversation

@maipbui
Copy link
Copy Markdown
Contributor

@maipbui maipbui commented Sep 30, 2022

Signed-off-by: maipbui [email protected]

Why I did it

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 - Semgrep Rules

How I did it

Integrate Semgrep into this repository by committing a job configuration file

How to verify it

PR: maipbui/sonic-buildimage#2
Master branch full scan findings: Master branch findings results
PR maipbui/sonic-buildimage#2 scan findings: Pull request findings results

@maipbui maipbui requested a review from qiluo-msft September 30, 2022 18:47
Signed-off-by: maipbui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants