1
0
Fork 0
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:
Sascha L. Teichmann 2021-11-17 11:47:09 +01:00
parent 1d0d8a6d03
commit b82882eb09
3 changed files with 51 additions and 8 deletions

View file

@ -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"`
}