30
30
trivy_output :
31
31
description : Save results to a file
32
32
type : string
33
- default : ' trivy-results.sarif'
33
+ default : " trivy-results.sarif"
34
34
required : false
35
35
trivy_inspect_output :
36
36
description : Print trivy output for inspection, set to 'true' for debugging purposes
37
37
type : string
38
- default : ' false'
38
+ default : " false"
39
39
required : false
40
40
main_branch :
41
41
description : Name of the main branch
@@ -127,7 +127,7 @@ jobs:
127
127
128
128
- uses : actions/setup-python@v5
129
129
with :
130
- python-version : ' 3.11'
130
+ python-version : " 3.11"
131
131
132
132
- run : mkdir -p "${TF_PLUGIN_CACHE_DIR}"
133
133
- name : Cache Terraform
@@ -156,7 +156,7 @@ jobs:
156
156
- name : Setup Helm
157
157
uses : azure/setup-helm@v4
158
158
with :
159
- version : ' latest'
159
+ version : " latest"
160
160
token : ${{ secrets.GITHUB_TOKEN }}
161
161
162
162
- name : Pre-init Hook
@@ -225,7 +225,7 @@ jobs:
225
225
226
226
- uses : actions/setup-python@v5
227
227
with :
228
- python-version : ' 3.11'
228
+ python-version : " 3.11"
229
229
230
230
- run : mkdir -p "${TF_PLUGIN_CACHE_DIR}"
231
231
- name : Cache Terraform
@@ -243,7 +243,7 @@ jobs:
243
243
- name : Setup Helm
244
244
uses : azure/setup-helm@v4
245
245
with :
246
- version : ' latest'
246
+ version : " latest"
247
247
248
248
- name : Cache TFlint
249
249
uses : actions/cache@v4
@@ -354,12 +354,12 @@ jobs:
354
354
- name : Run Trivy vulnerability scanner in IaC mode
355
355
uses :
aquasecurity/[email protected]
356
356
with :
357
- scan-type : ' config'
357
+ scan-type : " config"
358
358
hide-progress : false
359
359
format : ${{ inputs.trivy_format }}
360
360
output : ${{ inputs.trivy_output }}
361
361
ignore-unfixed : true
362
- severity : ' CRITICAL,HIGH'
362
+ severity : " CRITICAL,HIGH"
363
363
364
364
- name : Upload Trivy scan results to Github for inspection
365
365
if : ${{ inputs.trivy_inspect_output == 'true' }}
@@ -383,7 +383,7 @@ jobs:
383
383
384
384
- name : Get changed files
385
385
id : changed-files
386
- uses : tj-actions /changed-files@v44
386
+ uses : step-security /changed-files@v45
387
387
388
388
- name : Run Checkov action
389
389
id : checkov
@@ -401,7 +401,7 @@ jobs:
401
401
if : inputs.upload_sarif == true
402
402
uses : github/codeql-action/upload-sarif@v3
403
403
with :
404
- sarif_file : ' results.sarif'
404
+ sarif_file : " results.sarif"
405
405
406
406
fmt-validate_on_dualstack :
407
407
if : github.ref_name != 'main' && inputs.enable_format == true && inputs.runner_label == 'platform-eng-ent-v2-dual'
@@ -417,7 +417,7 @@ jobs:
417
417
418
418
- uses : actions/setup-python@v5
419
419
with :
420
- python-version : ' 3.11'
420
+ python-version : " 3.11"
421
421
422
422
- run : mkdir -p "${TF_PLUGIN_CACHE_DIR}"
423
423
- name : Cache Terraform
@@ -446,7 +446,7 @@ jobs:
446
446
- name : Setup Helm
447
447
uses : azure/setup-helm@v4
448
448
with :
449
- version : ' latest'
449
+ version : " latest"
450
450
token : ${{ secrets.GITHUB_TOKEN }}
451
451
452
452
- name : Pre-init Hook
@@ -514,7 +514,7 @@ jobs:
514
514
515
515
- uses : actions/setup-python@v5
516
516
with :
517
- python-version : ' 3.11'
517
+ python-version : " 3.11"
518
518
519
519
- run : mkdir -p "${TF_PLUGIN_CACHE_DIR}"
520
520
- name : Cache Terraform
@@ -532,7 +532,7 @@ jobs:
532
532
- name : Setup Helm
533
533
uses : azure/setup-helm@v4
534
534
with :
535
- version : ' latest'
535
+ version : " latest"
536
536
537
537
- name : Cache TFlint
538
538
uses : actions/cache@v4
@@ -643,12 +643,12 @@ jobs:
643
643
- name : Run Trivy vulnerability scanner in IaC mode
644
644
uses :
aquasecurity/[email protected]
645
645
with :
646
- scan-type : ' config'
646
+ scan-type : " config"
647
647
hide-progress : false
648
648
format : ${{ inputs.trivy_format }}
649
649
output : ${{ inputs.trivy_output }}
650
650
ignore-unfixed : true
651
- severity : ' CRITICAL,HIGH'
651
+ severity : " CRITICAL,HIGH"
652
652
653
653
- name : Upload Trivy scan results to Github for inspection
654
654
if : ${{ inputs.trivy_inspect_output == 'true' }}
@@ -672,7 +672,7 @@ jobs:
672
672
673
673
- name : Get changed files
674
674
id : changed-files
675
- uses : tj-actions /changed-files@v44
675
+ uses : step-security /changed-files@v45
676
676
677
677
- name : Run Checkov action
678
678
id : checkov
@@ -690,4 +690,4 @@ jobs:
690
690
if : inputs.upload_sarif == true
691
691
uses : github/codeql-action/upload-sarif@v3
692
692
with :
693
- sarif_file : ' results.sarif'
693
+ sarif_file : " results.sarif"
0 commit comments