1
0
Fork 0
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:
Sascha L. Teichmann 2023-08-17 16:54:11 +02:00 committed by GitHub
parent 42709a8554
commit d49049c3af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 0 deletions

View file

@ -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_:

View file

@ -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"