aquasecurity / aquasecurity/trivy-java-db

trivy scan in azure devops pipeline step fails using latest version

Open
#44 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
41
Forks
26
PR merge metrics
No merged PRs in 30d

Description

I get this error:
2024-10-03T08:49:32Z FATAL Fatal error image scan error: scan error: scan failed: failed analysis: analyze error: pipeline error: failed to analyze layer (sha256:756474215d2903298a97a89b17f234450ca3a7219cae4dd63800afe9b350052f): post analysis error: post analysis error: Unable to initialize the Java DB: Java DB update failed: OCI artifact error: failed to download Java DB from any source

We started having transient issues like this in the past 2 weeks. No sure what is causing this recurrently.

Please help. Thank you!

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing the Trivy Java DB download failure in the Azure DevOps pipeline and trace the failing Java DB update path; done means identifying the cause of the recurrent failure and confirming that image scans complete reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.