Skip to content

Commit cd3f6a4

Browse files
bluesentinelsecMichael Long
andauthored
Added semgrep code scanning (#33)
* 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>
1 parent cd29462 commit cd3f6a4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Semgrep Scan
2+
3+
on: [push]
4+
5+
jobs:
6+
semgrep:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: semgrep/semgrep
10+
11+
steps:
12+
- name: Checkout this repository
13+
uses: actions/checkout@v4
14+
15+
- name: semgrep scan
16+
run: |
17+
semgrep \
18+
--sarif --output report.sarif \
19+
--metrics=off \
20+
--config="p/default"

0 commit comments

Comments
 (0)