govulncheck-filter

command
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

govulncheck-filter reads `govulncheck -format json ./...` output from stdin, compares findings against .govulncheck-allow.yml, and exits non-zero on any unallowlisted finding or any allowlisted entry past its expiry date.

Usage:

govulncheck -format json ./... | govulncheck-filter
govulncheck -format json ./... | govulncheck-filter -allow=path/to/allow.yml

Exit codes:

0 - no findings, or every finding has a non-expired allowlist entry
1 - one or more findings with no allowlist entry, or expired entry
2 - filter itself failed (bad input, missing allowlist, etc.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL