1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00
gocsaf/docs/csaf_validator.md
JanHoefelmeyer 086c4ab48b
Convert a lot of command line arguments to snake case (#498)
* Convert a lot of variables to snake case

* Add snakecase for variables made out of two words that had it in no version yet (for consistency)

* Adjust example files too

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-11-06 14:33:05 +01:00

868 B

csaf_validator

is a tool to validate local advisories files against the JSON Schema and an optional remote validator.

Usage

csaf_validator [OPTIONS] files...

Application Options:
      --version                   Display version of the binary
      --validator=URL             URL to validate documents remotely
      --validator_cache=FILE       FILE to cache remote validations
      --validator_preset=          One or more presets to validate remotely (default: mandatory)
      -o AMOUNT, --output=AMOUNT  If a remote validator was used, display the results in JSON format

AMOUNT:
 all: Print the entire JSON output
 important: Print the entire JSON output but omit all tests without errors, warnings and infos.
 short: Print only the result, errors, warnings and infos.

Help Options:
  -h, --help                      Show this help message