We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e57c26 commit 16947e4Copy full SHA for 16947e4
1 file changed
.github/workflows/security.yml
@@ -0,0 +1,28 @@
1
+name: Security
2
+
3
+on:
4
+ push:
5
+ branches: ["master"]
6
+ pull_request:
7
+ schedule:
8
+ - cron: "0 6 * * 1"
9
10
+permissions:
11
+ contents: read
12
13
+jobs:
14
+ trivy:
15
+ name: Trivy Security Scan
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: Trivy scan (deps, secrets, IaC, Dockerfiles)
20
+ uses: aquasecurity/trivy-action@v0.36.0
21
+ with:
22
+ scan-type: fs
23
+ scan-ref: .
24
+ scanners: vuln,secret,misconfig
25
+ severity: CRITICAL,HIGH
26
+ ignore-unfixed: true
27
+ format: table
28
+ exit-code: "0"
0 commit comments