Skip to content

[actions] Support Semgrep by Github Actions#1254

Merged
maipbui merged 1 commit intosonic-net:masterfrom
maipbui:semgrep
Jun 20, 2023
Merged

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

Conversation

@maipbui
Copy link
Copy Markdown
Contributor

@maipbui maipbui commented Jun 19, 2023

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>
@maipbui maipbui merged commit abb02a5 into sonic-net:master Jun 20, 2023
@maipbui maipbui deleted the semgrep branch June 20, 2023 14:53
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Jun 21, 2023
Update sonic-sairedis submodule pointer to include the following:
* abb02a5 [actions] Support Semgrep by Github Actions ([sonic-net#1254](sonic-net/sonic-sairedis#1254))

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