Skip to content

Commit 40f81b0

Browse files
authored
Fix trivy scan and update (#88)
* fix trivy scan and update * fix trivy scan and update
1 parent e2027d8 commit 40f81b0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/autoupdate-pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# on demand
88
workflow_dispatch:
99

10-
# Request from Org admin to allow Github Action workflow to make PR under Settings > Actions > General
10+
# Request from Org admin to allow Github Action workflow to make PR under Settings > Actions > General
1111
permissions:
1212
actions: read
1313
checks: read

.github/workflows/sonarqube.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
build:
2424
name: Build
2525
runs-on:
26-
- ${{ inputs.default_runner_override_label }}
26+
- ${{ inputs.default_runner_override_label }}
2727
- ${{ inputs.runner_label }}
2828
steps:
2929
- uses: actions/checkout@v2

.github/workflows/terraform.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,13 +322,13 @@ jobs:
322322
submodules: ${{ inputs.enable_submodules }}
323323

324324
- name: Run Trivy vulnerability scanner in IaC mode
325-
uses: aquasecurity/trivy-action@0.19.0
325+
uses: aquasecurity/trivy-action@0.20.0
326326
with:
327-
scan-type: 'config'
327+
scan-type: 'fs'
328328
hide-progress: false
329329
format: 'sarif'
330330
output: 'trivy-results.sarif'
331-
exit-code: '0'
331+
exit-code: '1'
332332
ignore-unfixed: true
333333
severity: 'CRITICAL,HIGH'
334334

0 commit comments

Comments
 (0)