mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Include service/category documents in itests (#239)
This commit is contained in:
parent
cca460c77b
commit
9bb65a8cf8
3 changed files with 5 additions and 1 deletions
|
|
@ -23,6 +23,8 @@ insecure = true
|
||||||
[[providers]]
|
[[providers]]
|
||||||
name = "local-dev-provider"
|
name = "local-dev-provider"
|
||||||
domain = "localhost"
|
domain = "localhost"
|
||||||
|
categories = ["Example Company Product A", "expr:document.lang"]
|
||||||
|
create_service_document = true
|
||||||
# rate = 1.5
|
# rate = 1.5
|
||||||
# insecure = true
|
# insecure = true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ Here is a minimal example configuration,
|
||||||
which you need to customize for a production setup,
|
which you need to customize for a production setup,
|
||||||
see the [options of `csaf_provider`](https://github.com/csaf-poc/csaf_distribution/blob/main/docs/csaf_provider.md).
|
see the [options of `csaf_provider`](https://github.com/csaf-poc/csaf_distribution/blob/main/docs/csaf_provider.md).
|
||||||
|
|
||||||
<!-- MARKDOWN-AUTO-DOCS:START (CODE:src=../docs/scripts/setupProviderForITest.sh&lines=94-99) -->
|
<!-- MARKDOWN-AUTO-DOCS:START (CODE:src=../docs/scripts/setupProviderForITest.sh&lines=94-101) -->
|
||||||
<!-- The below code snippet is automatically added from ../docs/scripts/setupProviderForITest.sh -->
|
<!-- The below code snippet is automatically added from ../docs/scripts/setupProviderForITest.sh -->
|
||||||
```sh
|
```sh
|
||||||
# upload_signature = true
|
# upload_signature = true
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,8 @@ openpgp_private_key = "/usr/lib/csaf/private.asc"
|
||||||
openpgp_public_key = "/usr/lib/csaf/public.asc"
|
openpgp_public_key = "/usr/lib/csaf/public.asc"
|
||||||
#tlps = ["green", "red"]
|
#tlps = ["green", "red"]
|
||||||
canonical_url_prefix = "https://localhost:8443"
|
canonical_url_prefix = "https://localhost:8443"
|
||||||
|
categories = ["Example Company Product A", "expr:document.lang"]
|
||||||
|
create_service_document = true
|
||||||
#no_passphrase = true
|
#no_passphrase = true
|
||||||
' | sudo tee --append /usr/lib/csaf/config.toml
|
' | sudo tee --append /usr/lib/csaf/config.toml
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue