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
We use finding interface for ModifiedFinding.Results.ExperimentalModifiedFindings.Finding field. That is why we see error when converting json report with ExperimentalModifiedFindings` field:
➜ trivy -d convert --show-suppressed --exit-code 0 reports/trivyFull.json
...
2024-09-09T10:22:22+06:00 FATAL Fatal error
- json decode error:
github.com/aquasecurity/trivy/pkg/commands/convert.Run
github.com/aquasecurity/trivy/pkg/commands/convert/run.go:32
- json: cannot unmarshal object into Go struct field ModifiedFinding.Results.ExperimentalModifiedFindings.Finding of type types.finding
Description
We use
finding
interface forModifiedFinding.Results.ExperimentalModifiedFindings.Finding field. That is why we see error when converting json report with
ExperimentalModifiedFindings` field:Discussed in #7453
The text was updated successfully, but these errors were encountered: