We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8400d29 commit 32c30d8Copy full SHA for 32c30d8
.github/workflows/trivy-scan.yaml
@@ -0,0 +1,28 @@
1
+name: Trivy Scan
2
+
3
+on:
4
+ #pull_request:
5
+ # branches:
6
+ # - main
7
+ # - master
8
+ # - develop
9
+ push:
10
+ branches:
11
+ - sp-9923-repo-scan
12
13
+jobs:
14
+ trivy-scan:
15
+ name: Scanner
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v3
20
21
+ - name: Run Trivy vulnerability scanner in fs mode
22
+ uses: aquasecurity/trivy-action@master
23
+ with:
24
+ scan-type: 'fs'
25
+ exit-code: '1'
26
+ ignore-unfixed: true
27
+ severity: 'CRITICAL,HIGH,MEDIUM,LOW'
28
0 commit comments