You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by martinclaus February 19, 2025
Description
In an CI Job, I am creating a single trivy misconfiguration scan report in JSON Format and then convert this report into different formats using the trivy convert command. The original JSON report is configured to contain also non-failures, however, the reports resulting from conversion do not contain any non-failures.
This is behavior disadvantageous, if you generate a JUnit Report, since the CI, which is capable of integrating theses reports in the pipeline UI, will not show the checks that has been passed. And it is particularly confusing if all checks have been passed but none are displayed.
Discussed in #8420
Originally posted by martinclaus February 19, 2025
Description
In an CI Job, I am creating a single trivy misconfiguration scan report in JSON Format and then convert this report into different formats using the
trivy convert
command. The original JSON report is configured to contain also non-failures, however, the reports resulting from conversion do not contain any non-failures.This is behavior disadvantageous, if you generate a JUnit Report, since the CI, which is capable of integrating theses reports in the pipeline UI, will not show the checks that has been passed. And it is particularly confusing if all checks have been passed but none are displayed.
Desired Behavior
I expect that
and
Produce identical files
report.junit.xml
.Actual Behavior
Reports of a Dockerfile containing only
FROM alpine:latest
share the failed but lack the passed test cases:Reproduction Steps
Target
Filesystem
Scanner
Misconfiguration
Output Format
Template
Mode
Standalone
Debug Output
Operating System
Linux
Version
Checklist
trivy clean --all
The text was updated successfully, but these errors were encountered: