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

Github: Add Semgrep Check On Pull Request #3429

Merged
merged 12 commits into from
Mar 5, 2024

Conversation

steelhead31
Copy link
Contributor

@steelhead31 steelhead31 commented Mar 1, 2024

Add a Github Action to run a Semgrep scan using the trail of bits ruleset ( identical to those used in the security audit) against the files changes as part of a PR.

Details About Semgrep: https://github.com/semgrep/semgrep/blob/develop/README.md
Details About ToB Scanning Rules : https://github.com/trailofbits/semgrep-rules/blob/main/README.md

Checklist

@github-actions github-actions bot added the ghActions GitHub Actions label Mar 1, 2024
@github-actions github-actions bot added ansible and removed ansible labels Mar 1, 2024
@steelhead31 steelhead31 changed the title TESTING - SEMGREP GHA - DO NOT MERGE Github: Add Semgrep Check On Pull Request Mar 4, 2024
@steelhead31 steelhead31 marked this pull request as ready for review March 4, 2024 16:20
@steelhead31 steelhead31 merged commit b6cd869 into adoptium:master Mar 5, 2024
5 checks passed
@steelhead31 steelhead31 deleted the add_semgrep_gha branch March 5, 2024 15:23
@steelhead31 steelhead31 restored the add_semgrep_gha branch March 5, 2024 15:23
@tellison
Copy link
Contributor

tellison commented Mar 6, 2024

Noting that this uses the --config "p/trailofbits" which references the Trail of Bits public Semgrep rules that are licensed as AGPL-3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible ghActions GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants