We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff6b5f2 commit 5a86c34Copy full SHA for 5a86c34
scripts/template-helper-functions.jq
@@ -25,12 +25,9 @@ def sbom:
25
referenceLocator: ("pkg:generic/" + .name + "@" + .version + "?" + (.params | [to_entries[] | .key + "=" + .value] | join("\u0026")))
26
}
27
],
28
- licenseDeclared: (if .licenses | length > 0 then
29
- (.licenses | join(" AND "))
30
- else
31
- "NOASSERTION"
32
- end)
33
+ + if .licenses then { licenseDeclared: (.licenses | join(" AND ")) } else {} end
+ + if .supplier then { supplier: .supplier } else {} end
34
]
35
36
;
0 commit comments