
VShanmugam973172 (Community Member) asked a question.
Getting the below error message during Veracode image scan . Scan is triggered thru jenkins pipeline
"Veracode SCA could not find any dependencies in **xxxxxxx** image; please check that it is of a supported distribution. For distributions using yum package manager, please also check that yum update is possible."
My docker file has below base image
Below is the script used to perform scan
script {
sh """
export SRCCLR_API_TOKEN='${TOKEN}'
curl -sSL https://download.sourceclear.com/ci.sh | sh -s scan --image "${imageRepo}:${BUILD_NUMBER}"
"""
}
Please help
.png)
Hi,
This is being addressed in the case that was submitted with support that is 00731620
The error message "could not find any dependencies" during an image scan typically occurs when a software tool or system is attempting to analyze or inspect a container image for its dependencies, but it can't find any dependencies to report. This can be caused by several factors, and troubleshooting may involve the following steps:
The specific resolution may vary depending on the tool you are using and the context of your container image. If you could provide more details about the tool, container image, and the steps you are taking, I can offer more targeted guidance.