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
{{ message }}
Repository navigation
Enhancement: include source path for license findings in machine-readable scan output #213
License scanners sometimes drop or under-specify licenses that fail SPDX parsing, leaving JSON/SARIF consumers without a file path to investigate. For Vibgrate, license-related findings in vg scan machine-readable output should carry a stable source path (manifest, NOTICE, or declared license file) whenever one exists, so CI and humans can act.
What to do
Find where license findings are serialized in scan JSON/SARIF (or confirm if license findings are out of scope today — if absent, document that and stop, or add a minimal field if the pipeline already has the path).
When a license finding is emitted, include a deterministic path / location field pointing at the evidence file.
If SPDX parse fails, prefer an actionable finding (“unparseable license text at …”) over silent drop — only if that matches product intent; otherwise document the drop.
Add a fixture with a known license file and assert the path appears in output.
Acceptance
Machine-readable license findings include a stable source path when available
Silent drops are either fixed or explicitly documented
Output remains deterministic; no secrets in fixtures
DCO sign-off on commits (git commit -s) if the PR touches the repo
Mentoring notes
Do not paste private policy engines. Keep the change bounded to serialization + fixture. Related to actionable-errors themes in #150 / #163 — this ticket is specifically license path evidence.
Activity