mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Aggregator: Add time range filtering
This commit is contained in:
parent
42709a8554
commit
d49049c3af
4 changed files with 26 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
csaf_aggregator [OPTIONS]
|
||||
|
||||
Application Options:
|
||||
-t, --timerange=RANGE RANGE of time from which advisories to download
|
||||
-i, --interim Perform an interim scan
|
||||
--version Display version of the binary
|
||||
-c, --config=TOML-FILE Path to config TOML file
|
||||
|
|
@ -99,6 +100,7 @@ client_cert // path to client certificate to access access-protected
|
|||
client_key // path to client key to access access-protected advisories
|
||||
client_passphrase // client passphrase to access access-protected advisories
|
||||
header // adds extra HTTP header fields to the client
|
||||
timerange // Accepted time range of advisories to handle. See checker doc for details.
|
||||
```
|
||||
|
||||
Next we have two TOML _tables_:
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ insecure = true
|
|||
#interim_years =
|
||||
#passphrase =
|
||||
#write_indices = false
|
||||
#timerange =
|
||||
|
||||
# specification requires at least two providers (default),
|
||||
# to override for testing, enable:
|
||||
|
|
@ -31,6 +32,7 @@ insecure = true
|
|||
create_service_document = true
|
||||
# rate = 1.5
|
||||
# insecure = true
|
||||
# timerange =
|
||||
|
||||
[[providers]]
|
||||
name = "local-dev-provider2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue