mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Use consistent naming for IDs
This a breaking change.
This commit is contained in:
parent
2f599ab017
commit
3038b5501b
1 changed files with 5 additions and 5 deletions
|
|
@ -446,7 +446,7 @@ type Flag struct {
|
|||
Date *string `json:"date,omitempty"`
|
||||
GroupIDs *ProductGroups `json:"group_ids,omitempty"`
|
||||
Label *FlagLabel `json:"label"` // required
|
||||
ProductIds *Products `json:"product_ids,omitempty"`
|
||||
ProductIDs *Products `json:"product_ids,omitempty"`
|
||||
}
|
||||
|
||||
// Flags is a list if Flag elements.
|
||||
|
|
@ -609,8 +609,8 @@ type Remediation struct {
|
|||
Date *string `json:"date,omitempty"`
|
||||
Details *string `json:"details"` // required
|
||||
Entitlements []*string `json:"entitlements,omitempty"`
|
||||
GroupIds *ProductGroups `json:"group_ids,omitempty"`
|
||||
ProductIds *Products `json:"product_ids,omitempty"`
|
||||
GroupIDs *ProductGroups `json:"group_ids,omitempty"`
|
||||
ProductIDs *Products `json:"product_ids,omitempty"`
|
||||
RestartRequired *RestartRequired `json:"restart_required,omitempty"`
|
||||
URL *string `json:"url,omitempty"`
|
||||
}
|
||||
|
|
@ -741,8 +741,8 @@ type Threat struct {
|
|||
Category *ThreatCategory `json:"category"` // required
|
||||
Date *string `json:"date,omitempty"`
|
||||
Details *string `json:"details"` // required
|
||||
GroupIds *ProductGroups `json:"group_ids,omitempty"`
|
||||
ProductIds *Products `json:"product_ids,omitempty"`
|
||||
GroupIDs *ProductGroups `json:"group_ids,omitempty"`
|
||||
ProductIDs *Products `json:"product_ids,omitempty"`
|
||||
}
|
||||
|
||||
// Threats is a list of Threat elements.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue