File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Security
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+ schedule :
9
+ - cron : ' 0 0 * * *'
10
+
11
+ jobs :
12
+ dependencies :
13
+ runs-on : ubuntu-latest
14
+ name : Dependencies & Secrets Scan
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+
19
+ - name : Code Security Scan
20
+ uses : aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # v0.29.0
21
+ with :
22
+ scan-type : ' fs'
23
+ scanners : vuln,secret
24
+ trivy-config : .trivy.yml
25
+ exit-code : 1
26
+ ignore-unfixed : true
27
+ env :
28
+ TRIVY_DB_REPOSITORY : ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
29
+ TRIVY_USERNAME : ${{ github.actor }}
30
+ TRIVY_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments