Skip to content

[actions] Support Semgrep by Github Actions#141

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
maipbui:semgrep
Jun 19, 2023
Merged

[actions] Support Semgrep by Github Actions#141
qiluo-msft merged 1 commit intosonic-net:masterfrom
maipbui:semgrep

Conversation

@maipbui
Copy link
Contributor

@maipbui maipbui commented Jun 19, 2023

Make Semgrep CI same practice with other SONiC repositories

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

Signed-off-by: Mai Bui <maibui@microsoft.com>
@qiluo-msft qiluo-msft merged commit 1109e49 into sonic-net:master Jun 19, 2023
@maipbui maipbui deleted the semgrep branch June 20, 2023 00:45
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Jun 20, 2023
Update sonic-py-swsssdk submodule pointer to include the following:
* 1109e49 add semgrep ([sonic-net#141](sonic-net/sonic-py-swsssdk#141))

Signed-off-by: dprital <drorp@nvidia.com>
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