mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Remote validator output (#347)
* The validator is now able to print the details of the remote validations. --------- Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com> Co-authored-by: JanHoefelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de> Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
This commit is contained in:
parent
92433c1272
commit
8f87273837
7 changed files with 289 additions and 70 deletions
|
|
@ -8,11 +8,17 @@ is a tool to validate local advisories files against the JSON Schema and an opti
|
|||
csaf_validator [OPTIONS] files...
|
||||
|
||||
Application Options:
|
||||
--version Display version of the binary
|
||||
--validator=URL URL to validate documents remotely
|
||||
--validatorcache=FILE FILE to cache remote validations
|
||||
--validatorpreset= One or more presets to validate remotely (default: mandatory)
|
||||
--version Display version of the binary
|
||||
--validator=URL URL to validate documents remotely
|
||||
--validatorcache=FILE FILE to cache remote validations
|
||||
--validatorpreset= 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
|
||||
-h, --help Show this help message
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue