Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivy Scan: FATAL error seen while running the trivy scan #5463

Closed
ramsanka opened this issue Oct 27, 2023 · 2 comments
Closed

Trivy Scan: FATAL error seen while running the trivy scan #5463

ramsanka opened this issue Oct 27, 2023 · 2 comments

Comments

@ramsanka
Copy link

Observing the following error -:

�[31mFATAL�[0m report error: unable to write results: failed to write results: failed to write with template: template: output template:88:60: executing "output template" at <.Type>: wrong type for value; expected string; got types.TargetType

@github-actions
Copy link

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
@jaapspiering
Copy link

I ran into the same exception message. Turned out the HTML template I was specifying was not the same as the one for my current Trivy version. There is a recent change that I didn't have, causing this exception:

44656f2#diff-2cd0cbc37b819eeeae50cba02ee81b39e4e31ab9b3ea664811f9919d84c0d2eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants