mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Improve provider docs
* Rephrase link from setup-provider to csaf_provider options. * Remove a few superfluous whitespace chars.
This commit is contained in:
parent
78d8b89aca
commit
1a6829c9ea
2 changed files with 9 additions and 5 deletions
|
|
@ -30,8 +30,8 @@ Following options are supported in the config file:
|
||||||
- provider_metadata.mirror_on_CSAF_aggregators: Mirror on aggregators
|
- provider_metadata.mirror_on_CSAF_aggregators: Mirror on aggregators
|
||||||
- remote_validator: Use a remote validator service. Not used by default.
|
- remote_validator: Use a remote validator service. Not used by default.
|
||||||
`{ "url" = "http://localhost:3000", "presets" = ["mandatory"], "cache" = "/var/lib/csaf/validations.db" }`
|
`{ "url" = "http://localhost:3000", "presets" = ["mandatory"], "cache" = "/var/lib/csaf/validations.db" }`
|
||||||
- provider_metadata.publisher: Set the publisher. Default:
|
- provider_metadata.publisher: Set the publisher. Default:
|
||||||
```toml
|
```toml
|
||||||
[provider_metadata.publisher]
|
[provider_metadata.publisher]
|
||||||
category = "vendor"
|
category = "vendor"
|
||||||
name = "Example Company"
|
name = "Example Company"
|
||||||
|
|
|
||||||
|
|
@ -109,9 +109,13 @@ sudo chmod g+r,o-rwx /usr/lib/csaf/config.toml
|
||||||
```
|
```
|
||||||
<!-- MARKDOWN-AUTO-DOCS:END -->
|
<!-- MARKDOWN-AUTO-DOCS:END -->
|
||||||
|
|
||||||
**This and the other settings are just examples, please adjust permissions and paths**
|
**This and the other settings are just examples,**
|
||||||
**according to your webserver and security needs**
|
**please adjust permissions and paths**
|
||||||
with suitable [replacements](https://github.com/csaf-poc/csaf_distribution/blob/main/docs/csaf_provider.md)
|
**according to your webserver and security needs.**
|
||||||
|
|
||||||
|
Here is a minimal example configuration,
|
||||||
|
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).
|
||||||
|
|
||||||
<!-- 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-99) -->
|
||||||
<!-- The below code snippet is automatically added from ../docs/scripts/setupProviderForITest.sh -->
|
<!-- The below code snippet is automatically added from ../docs/scripts/setupProviderForITest.sh -->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue