I am currently attempting to do 2 scans using the Trivy Azure Devops task (base image scan and post docker image build scan). When attempting to select a job under the trivy tab on azure devops after the pipeline has completed, it only allows you to view the first image scan results but unable to view the second scans results and view the vulnerabilities.
Agent details
- Type: Self-Hosted Agent
- OS: Linux
- Version: 4.266.2
Task Version
v0.68.2
Task Inputs
- task: Docker@2
displayName: 'Login to Azure Container Registry'
inputs:
containerRegistry: 'acr-contoso'
command: 'login'
- task: trivy@2
inputs:
type: 'image'
target: 'contoso.azurecr.io/mini-service:latest'
reports: 'junit, sarif, table'
publish: true
ignoreScanErrors: true
ignoreUnfixed: true
Error message
I am currently attempting to do 2 scans using the Trivy Azure Devops task (base image scan and post docker image build scan). When attempting to select a job under the trivy tab on azure devops after the pipeline has completed, it only allows you to view the first image scan results but unable to view the second scans results and view the vulnerabilities.
Agent details
Task Version
v0.68.2
Task Inputs
Error message