docker / scout-cli

Docker Scout CLI
https://docker.com/products/docker-scout
Other
252 stars 60 forks source link

Unicode characters \u003e & \u003c in sarif output instead of great-than and less-than symbols #45

Closed zkarpinski closed 9 months ago

zkarpinski commented 10 months ago

When results are exported to sarif format, greater-than and less-than symbols are in unicode.

Steps to reproduce:

  1. Using the latest v0.24.1 version of docker-scout
  2. Run docker-scout cves webgoat/webgoat:latest --format sarif --output test.sarif
  3. Open test.sarif with a plaintext editor like notepad or VS Code.
  4. Observe \u003e & \u003c in place of > & < symbols.
  5. image

eunomie commented 9 months ago

Thanks for the report. A fix is on its way, it will be part of the next release.