File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
jobs :
8
8
tfsec :
9
- name : tfsec
9
+ name : tfsec sarif report
10
10
runs-on : ubuntu-latest
11
-
11
+ permissions :
12
+ actions : read
13
+ contents : read
14
+ security-events : write
12
15
steps :
13
16
- name : Clone repo
14
- uses : actions/checkout@master
17
+ uses : actions/checkout@v2
18
+ with :
19
+ persist-credentials : false
20
+
15
21
- name : tfsec
16
- uses : aquasecurity/tfsec-action@v1.0.0
22
+ uses : aquasecurity/tfsec-sarif-action@v0.1.0
23
+ with :
24
+ sarif_file : tfsec.sarif
25
+
26
+ - name : Upload SARIF file
27
+ uses : github/codeql-action/upload-sarif@v1
17
28
with :
18
- soft_fail : true
19
- additional_args : ' --gif --sort-severity --run-statistics --allow-checks-to-panic '
29
+ # Path to SARIF file relative to the root of the repository
30
+ sarif_file : tfsec.sarif
You can’t perform that action at this time.
0 commit comments