Skip to content

Enhancement: optional “fix available only” filter in vg report HTML #249

Closed

Description

@vibgrate-team

Context

Human vg scan / vg report output can hint when a fix version exists; long HTML reports still bury actionable rows among informational findings. A local-only UI filter (no network) would help CI artifact review without changing machine-readable contracts.

What to do

  • Add an optional client-side (or generation-time) filter/toggle on vg report HTML for findings that have a known fixed version / remediation.
  • Keep default behavior unchanged (show all findings).
  • Do not call registries at report-render time; use data already present in the scan artifact.
  • Preserve determinism: same artifact → same HTML bytes when the filter default is off.

Acceptance

  • HTML report exposes a clear “fix available only” control or generation flag
  • Default (unfiltered) HTML remains byte-stable for a fixed artifact
  • No new network calls; no secrets in output
  • Short docs note + fixture/golden if the repo already snapshots HTML
  • DCO sign-off (git commit -s)

Activity

  1. added
    enhancement
    on Sep 22, 2026
  2. vibgrate-team commented on Oct 3, 2026

    @vibgrate-team
    ContributorAuthor

    Spec notes for implementers

    Fix metadata today. Vuln findings from src/core-open/scanners/vulnerability-scanner.ts → generateVulnerabilityFindings put details.fixedVersions (and message text “fixed in …” / “no fix available”). SARIF surfaces the same via properties in src/core-open/formatters/sarif.ts. No network at report time — use the scan artifact only.

    Prefer client-side toggle on the HTML report (checkbox/JS filter on rows tagged with non-empty fixedVersions / data-fix-available). Optional generation flag is OK only if default remains unfiltered.

    Hard rules:

    • Default HTML (filter off) byte-stable for a fixed artifact.
    • No registry/OSV calls during report render.
    • No secrets in markup.
    • Short docs note + golden if the repo snapshots HTML.
  3. added a commit that references this issue on Oct 12, 2026
    8d53bb5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions