mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Link service document in ROLIE feeds.
This commit is contained in:
parent
7f62caeedc
commit
e37fe68b34
2 changed files with 13 additions and 6 deletions
|
|
@ -83,13 +83,12 @@ func createService(c *config, wellknownCSAF string) error {
|
|||
continue
|
||||
}
|
||||
ts := string(t)
|
||||
title := "CSAF feed (TLP:" + strings.ToUpper(ts) + ")"
|
||||
feedName := "csaf-feed-tlp-" + ts + ".json"
|
||||
href := c.CanonicalURLPrefix +
|
||||
"/.well-known/csaf/" + ts + "/" + feedName
|
||||
|
||||
collection := csaf.ROLIEServiceWorkspaceCollection{
|
||||
Title: title,
|
||||
Title: "CSAF feed (TLP:" + strings.ToUpper(ts) + ")",
|
||||
HRef: href,
|
||||
Categories: categories,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue