File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ name : tfsec
7
+
8
+ on :
9
+ push :
10
+ branches : [ "main" ]
11
+ pull_request :
12
+ branches : [ "main" ]
13
+ schedule :
14
+ - cron : ' 18 15 * * 3'
15
+
16
+ jobs :
17
+ tfsec :
18
+ name : Run tfsec sarif report
19
+ runs-on : ubuntu-latest
20
+ permissions :
21
+ actions : read
22
+ contents : read
23
+ security-events : write
24
+
25
+ steps :
26
+ - name : Clone repo
27
+ uses : actions/checkout@v3
28
+
29
+ - name : Run tfsec
30
+ uses : aquasecurity/tfsec-sarif-action@9a83b5c3524f825c020e356335855741fd02745f
31
+ with :
32
+ sarif_file : tfsec.sarif
33
+
34
+ - name : Upload SARIF file
35
+ uses : github/codeql-action/upload-sarif@v2
36
+ with :
37
+ # Path to SARIF file relative to the root of the repository
38
+ sarif_file : tfsec.sarif
You can’t perform that action at this time.
0 commit comments