Colorize severity and link files/rules in the PR summary #11
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/summary-links-and-colors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity gets a colored circle (no other color is available in a PR
comment): red/orange/yellow/green/white for
critical/high/medium/low/unknown, in both the counts table and the
details table.
Issue locations (File:Line) link to that exact line at the commit
that was scanned, not a branch -- so the link stays correct even
after the branch moves on. Path segments are percent-encoded
individually so '/' stays a separator. Vuln IDs link to their .URL
when the report provides one.
Verified against a real ojo-report.json from balam, through the
actual docker-cp scan path (not synthetic data) -- linked paths use
forward slashes as expected on the real Linux runner; only my earlier
Windows-native test data had backslashes.