Skip to content

Unable to switch between jobs within Trivy tab on Azure Devops #211

@jrdevops1

Description

@jrdevops1

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

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions