-
Notifications
You must be signed in to change notification settings - Fork 149
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 Parser Creates Malformed Location URL #2324
Comments
Hi @danil-smirnov, thanks for submitting this issue. We'll investigate this. |
Good point, the trivy-k8s sets the location to a invalid uri. Thank you for reporting it. We need to chagne this to a format which is URI compliant, but it'll be hard to fit all of the information in there. https://github.com/secureCodeBox/secureCodeBox/blob/main/scanners/trivy/parser/parser.js#L175 |
We need to define a valid URL format for the docker image. As discussed today we need to do some research what a good spec is. Some ideas:
First check if URI not starting with |
Relates to #2364 |
🐞 Bug report
Describe the bug
We do the following scan by Trivy:
Scan and parse stages go just fine. But in the
Persistence-defectdojo hook
we see a lot of warnings like this:Steps To Reproduce
Expected behavior
System (please complete the following information):
Screenshots / Logs
Additional context
The text was updated successfully, but these errors were encountered: