Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[actions] Support Semgrep by Github Actions #144

Merged
merged 2 commits into from
Jun 28, 2023
Merged

[actions] Support Semgrep by Github Actions #144

merged 2 commits into from
Jun 28, 2023

Conversation

maipbui
Copy link
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
Copy link
Contributor Author

maipbui commented Jun 19, 2023

/azp run Azure.sonic-restapi

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maipbui
Copy link
Contributor Author

maipbui commented Jun 20, 2023

@xumia could you help check build failure? seems related to your PR #139

@xumia
Copy link
Contributor

xumia commented Jun 28, 2023

/azp run Azure.sonic-restapi

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maipbui maipbui merged commit a69ba06 into sonic-net:master Jun 28, 2023
5 checks passed
@maipbui maipbui deleted the semgrep branch June 28, 2023 13:48
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.

3 participants