Skip to content

Commit 00641ab

Browse files
committed
build: configure trivy offline scan mode for audit task
1 parent 2a4aaee commit 00641ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.unirtm.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ unirtm exec -- trivy fs --format cyclonedx --output sbom.json .
137137
unirtm exec -- trivy sbom sbom.json
138138
'''
139139
output = 'interleaved'
140+
env = { TRIVY_SKIP_DB_UPDATE = "true", TRIVY_SKIP_JAVA_DB_UPDATE = "true", TRIVY_SKIP_CHECK_UPDATE = "true", TRIVY_OFFLINE_SCAN = "true", TRIVY_SKIP_VERSION_CHECK = "true" }
140141

141142
[tasks.lint]
142143
description = 'Fast lint: Check only modified files (staged & unstaged)'

0 commit comments

Comments
 (0)