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:
parent
006f088082
commit
22b945a3c3
2 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ func loadConfig() (*config, error) {
|
||||||
if cfg.ProviderMetaData.Publisher == nil {
|
if cfg.ProviderMetaData.Publisher == nil {
|
||||||
cfg.ProviderMetaData.Publisher = &csaf.Publisher{
|
cfg.ProviderMetaData.Publisher = &csaf.Publisher{
|
||||||
Category: func(c csaf.Category) *csaf.Category { return &c }(csaf.CSAFCategoryVendor),
|
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"),
|
Namespace: func(s string) *string { return &s }("https://example.com"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,4 +27,4 @@ Following options are supported in the config file:
|
||||||
- provider_metadata: Configure the provider metadata.
|
- provider_metadata: Configure the provider metadata.
|
||||||
- provider_metadata.list_on_CSAF_aggregators: List on aggregators
|
- provider_metadata.list_on_CSAF_aggregators: List on aggregators
|
||||||
- provider_metadata.mirror_on_CSAF_aggregators: Mirror 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"}`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue