1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Improve provider example configuration and docs

* Change "Organization" to include the string "Company" to reflect common sense of category "vendor"
This commit is contained in:
tschmidtb51 2022-06-14 08:58:11 +02:00 committed by GitHub
parent 006f088082
commit 22b945a3c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ func loadConfig() (*config, error) {
if cfg.ProviderMetaData.Publisher == nil {
cfg.ProviderMetaData.Publisher = &csaf.Publisher{
Category: func(c csaf.Category) *csaf.Category { return &c }(csaf.CSAFCategoryVendor),
Name: func(s string) *string { return &s }("ACME"),
Name: func(s string) *string { return &s }("Example Company"),
Namespace: func(s string) *string { return &s }("https://example.com"),
}
}

View file

@ -27,4 +27,4 @@ Following options are supported in the config file:
- provider_metadata: Configure the provider metadata.
- provider_metadata.list_on_CSAF_aggregators: List on aggregators
- provider_metadata.mirror_on_CSAF_aggregators: Mirror on aggregators
- provider_metadata.publisher: Set the publisher. Default: `{"category"= "vendor", "name"= "Example", "namespace"= "https://example.com"}`.
- provider_metadata.publisher: Set the publisher. Default: `{"category"= "vendor", "name"= "Example Company", "namespace"= "https://example.com"}`.