CLI Overview
vulnlog <command> <file...> [flags]
Every command except init requires one or more Vulnlog files as positional arguments.
Read-only commands like validate accept multiple files.
Output-generating commands like suppress and report operate on a single file.
No automatic file detection.
Filtering Flags
Available on report and suppress commands.
| Flag | Description |
|---|---|
|
Include vulnerabilities affecting all releases up to and including this release. |
|
Filter by tag (repeatable). |
|
Filter by reporter type. |
Exit Codes
| Code | Name | Description |
|---|---|---|
|
Success |
Command completed successfully. |
|
General error |
Unexpected error (I/O failure, missing argument, invalid flag value, file not found, unhandled exception). |
|
Validation error |
The Vulnlog file failed parsing or contains validation errors. |
| Finer-grained exit codes for specific failure categories (file not found, missing flag, invalid flag value, lint violation) are planned for a future release. |