Closed gr22d closed 1 year ago
Hello @gr22d Thanks for your report!
Trivy repository contains broken files to use for error checking. (e.g. for you case - https://github.com/aquasecurity/trivy/blob/main/pkg/fanal/analyzer/language/python/poetry/testdata/sad/poetry.lock). You need to skip these files to scanning. e.g. we skip next folders - https://github.com/aquasecurity/trivy/blob/428ee19cae8264d4090c0c4c1ffe25357f1d1af3/.github/workflows/scan.yaml#L20
I close this issue. Feel free to reopen this issue, if you still have questions.
Best Regards, Dmitriy
Description
When using the repo scan in Trivy (0.38.3), an error occurs when executing the trivy github(https://github.com/aquasecurity/trivy). However, it works normally on Trivy (0.36.1)
What did you expect to happen?
error occured on some repositories (ex. https://github.com/aquasecurity/trivy)
What happened instead?
it works normally on Trivy (0.36.1)
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):