File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://github.com/ruivieira/trustyai-explainability-python/blob/main/.github/workflows/security.yaml
2
+ ---
3
+ name : Security
4
+ " on " :
5
+ push :
6
+ branches :
7
+ - 2024b
8
+ - release-2024b
9
+ pull_request :
10
+ workflow_dispatch :
11
+ jobs :
12
+ build :
13
+ name : Trivy scan (fs)
14
+ runs-on : ubuntu-24.04
15
+ permissions :
16
+ contents : read
17
+ security-events : write
18
+ steps :
19
+
20
+ - name : Checkout code
21
+ uses : actions/checkout@v4
22
+
23
+ - name : Trivy scan
24
+ uses : aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # 0.32.0
25
+ with :
26
+ scan-type : ' fs'
27
+ format : ' sarif'
28
+ output : ' trivy-results.sarif'
29
+ severity : ' MEDIUM,HIGH,CRITICAL'
30
+ exit-code : ' 0'
31
+ ignore-unfixed : false
32
+
33
+ - name : Update Security tab
34
+ uses : github/codeql-action/upload-sarif@v3
35
+ with :
36
+ sarif_file : ' trivy-results.sarif'
You can’t perform that action at this time.
0 commit comments