1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add extra http header support to downloader and checker.

This commit is contained in:
Sascha L. Teichmann 2023-01-25 16:45:05 +01:00
parent 732383561b
commit 51fba46893
7 changed files with 117 additions and 41 deletions

View file

@ -15,13 +15,14 @@ Application Options:
-v, --verbose Verbose output
-r, --rate= The average upper limit of https operations per second
-y, --years=YEARS Number of years to look back from now
-H, --header= One or more extra HTTP header fields
Help Options:
-h, --help Show this help message
```
Usage example:
` ./csaf_checker example.com -f html --rate=5.3 -o check-results.html`
` ./csaf_checker example.com -f html --rate=5.3 -H apikey:SECRET -o check-results.html`
Each performed check has a return type of either 0,1 or 2:
```