mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
* make it more clear that a domain can also be interpreted as a direct URL. resolve #316 --------- Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com> Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de> Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
## csaf_downloader
|
|
A tool to download CSAF documents from CSAF providers.
|
|
|
|
### Usage
|
|
|
|
```
|
|
csaf_downloader [OPTIONS] domain...
|
|
|
|
Application Options:
|
|
-d, --directory=DIR DIRectory to store the downloaded files in
|
|
--insecure Do not check TLS certificates from provider
|
|
--version Display version of the binary
|
|
-v, --verbose Verbose output
|
|
-r, --rate= The average upper limit of https operations per second
|
|
-H, --header= One or more extra HTTP header fields
|
|
--validator=URL URL to validate documents remotely
|
|
--validatorcache=FILE FILE to cache remote validations
|
|
--validatorpreset= One or more presets to validate remotely (default: mandatory)
|
|
|
|
Help Options:
|
|
-h, --help Show this help message
|
|
```
|
|
|
|
Will download all CSAF documents for the given _domains_, by trying each as a CSAF provider.
|
|
|
|
If a _domain_ starts with `https://` it is instead considered a direct URL to the `provider-metadata.json` and downloading procedes from there.
|