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
Failed to parse Trivy JSON report: must be str, not int
And I think the cause lies in trivy_report/report_generator.py because "StartLine" is a number in the "Secrets" array in the report, not a string.
For now I just skipped the file that causes Secrets to appear in the report file since it's not actually a problem in my case and the error doesn't appear anymore but others might run into the same issue.
Kind Regards
The text was updated successfully, but these errors were encountered:
Hi!
Recently I had the error:
And I think the cause lies in
trivy_report/report_generator.py
because "StartLine" is a number in the "Secrets" array in the report, not a string.For now I just skipped the file that causes Secrets to appear in the report file since it's not actually a problem in my case and the error doesn't appear anymore but others might run into the same issue.
Kind Regards
The text was updated successfully, but these errors were encountered: