mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add documention for update_interval (#281)
Add documentation for new option "update_interval" and behavior from #278.
This commit is contained in:
parent
4f3f7efd5a
commit
06bd16db47
1 changed files with 10 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ rate
|
|||
insecure
|
||||
write_indices
|
||||
category
|
||||
update_interval
|
||||
```
|
||||
|
||||
If you want an entry to be listed instead of mirrored
|
||||
|
|
@ -110,6 +111,12 @@ in a `aggregator.category == "aggregator"` instance,
|
|||
set `category` to `lister` in the entry.
|
||||
Otherwise it is recommended to not set `category` for entries.
|
||||
|
||||
If a provider's domain starts with https:// its considered a publisher.
|
||||
These publishers are added to the csaf_publishers list instead of the csaf_providers list which was used before.
|
||||
|
||||
The mandatory value of update_interval can be configured for each publisher (provider) individually. If not given it falls back
|
||||
to the global update_interval. If this is not given either the default is "on best effort".
|
||||
|
||||
#### Example config file
|
||||
<!-- MARKDOWN-AUTO-DOCS:START (CODE:src=../docs/examples/aggregator.toml) -->
|
||||
<!-- The below code snippet is automatically added from ../docs/examples/aggregator.toml -->
|
||||
|
|
@ -148,12 +155,15 @@ insecure = true
|
|||
# rate = 1.5
|
||||
# insecure = true
|
||||
|
||||
|
||||
[[providers]]
|
||||
name = "local-dev-provider2"
|
||||
domain = "https://localhost:8443/.well-known/csaf/provider-metadata.json"
|
||||
# rate = 1.2
|
||||
# insecure = true
|
||||
write_indices = true
|
||||
# Default value: "on best effort"
|
||||
update_interval = "monthly"
|
||||
|
||||
[[providers]]
|
||||
name = "local-dev-provider3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue