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 dc420a6 commit 094ead7Copy full SHA for 094ead7
.github/workflows/vuln-scan.yml
@@ -0,0 +1,29 @@
1
+name: Vulnerability Scan
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - "*.*"
7
+ types:
8
+ - opened
9
+ - synchronize
10
11
+jobs:
12
+ run-analysis:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout source code for this repository
17
+ uses: actions/checkout@v4
18
19
+ - name: Run vulnerability scanner
20
+ uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1
21
+ with:
22
+ scan-type: "repo"
23
+ scan-ref: "./"
24
+ severity: "CRITICAL,HIGH"
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_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
0 commit comments