Skip to content

Commit e9af5a4

Browse files
authored
Add security scans workflow
1 parent 9477362 commit e9af5a4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Security scans
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
pull_request:
8+
9+
jobs:
10+
security_scan:
11+
#uses: singlestore/securitytesting/.github/workflows/[email protected] # Use this workflow when pulling images from the GCR.
12+
uses: singlestore/securitytesting/.github/workflows/[email protected]
13+
with:
14+
run_sast: true
15+
run_iac: true
16+
run_secret-detection: false # this will disable the secret detection scanner.
17+
run_license: true
18+
run_actions_scan: true
19+
20+
# For multiple paths, please separate them using commas (,).
21+
iac_exclude_path: ".github/workflows,exclude"
22+
sast_exclude_path: ".github/workflows,exclude"
23+
license_scan_path: "./example ./test"
24+
runners_group: "shared-4cpu-8gb"
25+
allowed_licenses: HPND,NCSA,0BSD,BSD-3-Clause,BSD-2-Clause,Python-2.0,Apache-2.0,MIT,ISC,Unlicense,CC0-1.0,WTFPL,BlueOak-1.0.0,Zlib,UNKNOWN
26+
27+
secrets:
28+
PRISMA_ACCESS_KEY_CONFIGURED: ${{ vars.PRISMA_ACCESS_KEY }}
29+
PRISMA_SECRET_KEY_CONFIGURED: ${{ secrets.PRISMA_SECRET_KEY }}

0 commit comments

Comments
 (0)