1
0
Fork 0
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:
Sascha L. Teichmann 2022-06-30 16:37:02 +02:00
parent 7f62caeedc
commit e37fe68b34
2 changed files with 13 additions and 6 deletions

View file

@ -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,
}