mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
merge branch 'main' into checker-timerange-report
This commit is contained in:
commit
7a6cbd182c
2 changed files with 15 additions and 22 deletions
|
|
@ -42,7 +42,6 @@ type config struct {
|
|||
Range *models.TimeRange `long:"timerange" short:"t" description:"RANGE of time from which advisories to download" value-name:"RANGE" toml:"timerange"`
|
||||
IgnorePattern []string `long:"ignorepattern" short:"i" description:"Do not download files if their URLs match any of the given PATTERNs" value-name:"PATTERN" toml:"ignorepattern"`
|
||||
ExtraHeader http.Header `long:"header" short:"H" description:"One or more extra HTTP header fields" toml:"header"`
|
||||
|
||||
RemoteValidator string `long:"validator" description:"URL to validate documents remotely" value-name:"URL" toml:"validator"`
|
||||
RemoteValidatorCache string `long:"validatorcache" description:"FILE to cache remote validations" value-name:"FILE" toml:"validator_cache"`
|
||||
RemoteValidatorPresets []string `long:"validatorpreset" description:"One or more presets to validate remotely" toml:"validator_preset"`
|
||||
|
|
|
|||
|
|
@ -102,16 +102,10 @@ It is only allowed to specify one off them.
|
|||
All interval boundaries are inclusive.
|
||||
|
||||
You can ignore certain advisories while checking by specifying a list
|
||||
<<<<<<< HEAD
|
||||
of regular expressions to match their URLs by using the `ignorepattern` option.
|
||||
E.g. `-i='.*white.*' -i='*.red.*'` will ignore files which URLs contain the sub strings **white** or **red**.
|
||||
=======
|
||||
of regular expressions to match their URLs by using the `ignorepattern`
|
||||
option.
|
||||
|
||||
E.g. `-i='.*white.*' -i='*.red.*'` will ignore files which URLs contain
|
||||
the sub strings **white** or **red**.
|
||||
>>>>>>> main
|
||||
In the config file this has to be noted as:
|
||||
```
|
||||
ignorepattern = [".*white.*", ".*red.*"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue