Skip to content

Provide a VEX document #157

@icekom

Description

@icekom

Latest govulncheck versions support outputting OpenVEX formatted documents, which can be submitted to vulnerability scanners to filter out false positives. Right now govulncheck-with-excludes.sh uses the non-standard JSON format and excludes mitigated vulnerabilities. The -json flag is now considered legacy in favor of -format.

Proposal

  • govulncheck-with-excludes.sh should be updated to use -format openvex instead of -json and override the status of mitigated vulnerabilities from affected to fixed per OpenVEX spec instead of excluding them.
  • ci.yml workflow should provide the resulting VEX document as an artifact.

If that works for you, I can do it and submit a PR.

Caveats

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions