We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fcb45c commit 03e1b32Copy full SHA for 03e1b32
1 file changed
.unirtm.toml
@@ -196,6 +196,20 @@ unirtm run audit
196
'''
197
output = 'interleaved'
198
199
+[tasks."audit:trivy-update"]
200
+description = 'Update Trivy vulnerability databases locally'
201
+run = '''
202
+export TRIVY_DB_REPOSITORY="public.ecr.aws/aquasecurity/trivy-db"
203
+export TRIVY_JAVA_DB_REPOSITORY="public.ecr.aws/aquasecurity/trivy-java-db:1"
204
+
205
+echo "Downloading main vulnerability DB..."
206
+unirtm exec -- trivy image --download-db-only
207
208
+echo "Downloading Java index DB..."
209
+unirtm exec -- trivy image --download-java-db-only
210
+'''
211
+output = 'interleaved'
212
213
[tools]
214
'github:anchore/syft' = '1.44.0'
215
'github:aquasecurity/trivy' = '0.70.0'
0 commit comments