trivy-azure-pipelines-task
trivy-azure-pipelines-task copied to clipboard
Vulnerabilities display issue when scanned multiple images
I invoke Trivy task twice in the pipeline and while the report contains tabs of both scans, when switching between the tabs the list of vulnerabilities in not refreshed. On the screenshot below, there are two scan results, one with 12 vulnerabilities and the other one with 0 vulnerabilities. When I switch to the second tab, it still shows vulnerabilities list from the first tab.
Here are the tasks:
- task: Docker@2
displayName: Login to Container Registry
inputs:
containerRegistry: "testmanagement"
command: "login"
- task: trivy@1
displayName: Scanning XXXXXX-client:$(DOCKER_TAG)
inputs:
image: XXXXXX/XXXXXX-client:$(DOCKER_TAG)
docker: false
exitCode: 0
- task: trivy@1
displayName: Scanning XXXXXX-flows:$(DOCKER_TAG)
inputs:
image: XXXXXX/XXXXXX-flows:$(DOCKER_TAG)
docker: false
exitCode: 0