Skip to content

git-pkgs vulns diff

Compare vulnerabilities between commits

Show vulnerabilities that were added or fixed between two commits. With no refs, compares the selected branch’s latest indexed commit with its first parent. With one ref, compares that ref with HEAD. With two refs, compares them directly.

git-pkgs vulns diff [from] [to] [flags]

Options

  -b, --branch string      Branch to query (default: first tracked branch)
  -e, --ecosystem string   Filter by ecosystem
  -f, --format string      Output format: text, json (default "text")
  -h, --help               help for diff
  -s, --severity string    Minimum severity: critical, high, medium, low

Options inherited from parent commands

      --color string         When to colorize output: auto, always, never (default "auto")
      --include-submodules   Include git submodules when scanning for manifests
  -p, --pager                Use pager for output
  -q, --quiet                Suppress non-essential output