Skip to content

Commit

Permalink
Added semgrep code scanning (#33)
Browse files Browse the repository at this point in the history
* add semgrep workflow

* test upload/download

* testing semgrep with manual installation

* revert to working YML

* display findings

* revert to working config

---------

Co-authored-by: Michael Long <mlongii@amazon.com>
  • Loading branch information
bluesentinelsec and Michael Long authored Apr 18, 2024
1 parent cd29462 commit cd3f6a4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/scan_repo_with_semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Semgrep Scan

on: [push]

jobs:
semgrep:
runs-on: ubuntu-latest
container:
image: semgrep/semgrep

steps:
- name: Checkout this repository
uses: actions/checkout@v4

- name: semgrep scan
run: |
semgrep \
--sarif --output report.sarif \
--metrics=off \
--config="p/default"

0 comments on commit cd3f6a4

Please sign in to comment.