mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Write feed URLs in provider metadata.
This commit is contained in:
parent
1d0d8a6d03
commit
b82882eb09
3 changed files with 51 additions and 8 deletions
|
|
@ -38,12 +38,13 @@ type Feed struct {
|
|||
}
|
||||
|
||||
type ROLIE struct {
|
||||
Categories []JsonURL `json:"categories"`
|
||||
Categories []JsonURL `json:"categories,omitempty"`
|
||||
Feeds []Feed `json:"feeds"` // required
|
||||
Services []JsonURL `json:"services,omitempty"`
|
||||
}
|
||||
|
||||
type Distribution struct {
|
||||
DirectoryURL string `json:"directory_url"`
|
||||
DirectoryURL string `json:"directory_url,omitempty"`
|
||||
Rolie []ROLIE `json:"rolie"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue