mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Apply automatic changes
This commit is contained in:
parent
c704275a38
commit
a608cb0b17
2 changed files with 8 additions and 16 deletions
|
|
@ -177,7 +177,7 @@ categories document. For a more detailed explanation and examples,
|
||||||
```toml
|
```toml
|
||||||
workers = 2
|
workers = 2
|
||||||
folder = "/var/csaf_aggregator"
|
folder = "/var/csaf_aggregator"
|
||||||
lock_file = "/var/csaf_aggregator/run.lock"
|
lock_file = "/var/lock/csaf_aggregator/lock"
|
||||||
web = "/var/csaf_aggregator/html"
|
web = "/var/csaf_aggregator/html"
|
||||||
domain = "https://localhost:9443"
|
domain = "https://localhost:9443"
|
||||||
rate = 10.0
|
rate = 10.0
|
||||||
|
|
@ -187,6 +187,7 @@ insecure = true
|
||||||
#interim_years =
|
#interim_years =
|
||||||
#passphrase =
|
#passphrase =
|
||||||
#write_indices = false
|
#write_indices = false
|
||||||
|
#time_range =
|
||||||
|
|
||||||
# specification requires at least two providers (default),
|
# specification requires at least two providers (default),
|
||||||
# to override for testing, enable:
|
# to override for testing, enable:
|
||||||
|
|
@ -208,6 +209,7 @@ insecure = true
|
||||||
create_service_document = true
|
create_service_document = true
|
||||||
# rate = 1.5
|
# rate = 1.5
|
||||||
# insecure = true
|
# insecure = true
|
||||||
|
# time_range =
|
||||||
|
|
||||||
[[providers]]
|
[[providers]]
|
||||||
name = "local-dev-provider2"
|
name = "local-dev-provider2"
|
||||||
|
|
@ -217,8 +219,8 @@ insecure = true
|
||||||
write_indices = true
|
write_indices = true
|
||||||
client_cert = "./../devca1/testclient1.crt"
|
client_cert = "./../devca1/testclient1.crt"
|
||||||
client_key = "./../devca1/testclient1-key.pem"
|
client_key = "./../devca1/testclient1-key.pem"
|
||||||
# client_passphrase =
|
# client_passphrase = # Limited and experimental, see downloader doc.
|
||||||
# header =
|
# header =
|
||||||
|
|
||||||
[[providers]]
|
[[providers]]
|
||||||
name = "local-dev-provider3"
|
name = "local-dev-provider3"
|
||||||
|
|
@ -226,10 +228,10 @@ insecure = true
|
||||||
# rate = 1.8
|
# rate = 1.8
|
||||||
# insecure = true
|
# insecure = true
|
||||||
write_indices = true
|
write_indices = true
|
||||||
# If aggregator.category == "aggregator", set for an entry that should
|
# If aggregator.category == "aggreator", set for an entry that should
|
||||||
# be listed in addition:
|
# be listed in addition:
|
||||||
category = "lister"
|
category = "lister"
|
||||||
# ignore_pattern = [".*white.*", ".*red.*"]
|
# ignore_pattern = [".*white.*", ".*red.*"]
|
||||||
```
|
```
|
||||||
<!-- MARKDOWN-AUTO-DOCS:END -->
|
<!-- MARKDOWN-AUTO-DOCS:END -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,22 +100,12 @@ The following example file documents all available configuration options:
|
||||||
#tlps = ["csaf", "white", "amber", "green", "red"]
|
#tlps = ["csaf", "white", "amber", "green", "red"]
|
||||||
|
|
||||||
# Make the provider create a ROLIE service document.
|
# Make the provider create a ROLIE service document.
|
||||||
#create_service_document = true
|
#create_service_document = false
|
||||||
|
|
||||||
# Make the provider create a ROLIE category document from a list of strings.
|
# Make the provider create a ROLIE category document from a list of strings.
|
||||||
# If a list item starts with `expr:`
|
# If a list item starts with `expr:`
|
||||||
# the rest of the string is used as a JsonPath expression
|
# the rest of the string is used as a JsonPath expression
|
||||||
# to extract a string from the incoming advisories.
|
# to extract a string from the incoming advisories.
|
||||||
# If the result of the expression is a string this string
|
|
||||||
# is used. If the result is an array each element of
|
|
||||||
# this array is tested if it is a string or an array.
|
|
||||||
# If this test fails the expression fails. If the
|
|
||||||
# test succeeds the rules are applied recursively to
|
|
||||||
# collect all strings in the result.
|
|
||||||
# Suggested expressions are:
|
|
||||||
# - vendor, product family and product names: "expr:$.product_tree..branches[?(@.category==\"vendor\" || @.category==\"product_family\" || @.category==\"product_name\")].name"
|
|
||||||
# - CVEs: "expr:$.vulnerabilities[*].cve"
|
|
||||||
# - CWEs: "expr:$.vulnerabilities[*].cwe.id"
|
|
||||||
# Strings not starting with `expr:` are taken verbatim.
|
# Strings not starting with `expr:` are taken verbatim.
|
||||||
# By default no category documents are created.
|
# By default no category documents are created.
|
||||||
# This example provides an overview over the syntax,
|
# This example provides an overview over the syntax,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue