Skip to content

Commit

Permalink
Fix SBOM examples to adhere more closely to the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
twaugh committed Jun 12, 2024
1 parent 4d5130a commit 0a0a27e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion sbom/examples/rpm/from-koji.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,11 @@ def handle_srpm(filename, name):
"creationInfo": {
"created": "2006-08-14T02:34:56-06:00",
"creators": [
"example SPDX document only",
"Tool: example SPDX document only",
],
},
"name": build["nvr"],
"documentNamespace": f"https://access.redhat.com/security/data/sbom/beta/spdx/{build['nvr']}.json",
"packages": packages,
"files": files,
"relationships": relationships,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"creationInfo": {
"created": "2006-08-14T02:34:56-06:00",
"creators": [
"example SPDX document only"
"Tool: example SPDX document only"
]
},
"name": "openshift-pipelines-client-1.14.3-11352.el8",
"documentNamespace": "https://access.redhat.com/security/data/sbom/beta/spdx/openshift-pipelines-client-1.14.3-11352.el8.json",
"packages": [
{
"name": "4d63.com/gocheckcompilerdirectives",
Expand Down
3 changes: 2 additions & 1 deletion sbom/examples/rpm/openssl-3.0.7-18.el9_2-sbom.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"creationInfo": {
"created": "2006-08-14T02:34:56-06:00",
"creators": [
"example SPDX document only"
"Tool: example SPDX document only"
]
},
"name": "openssl-3.0.7-18.el9_2",
"documentNamespace": "https://access.redhat.com/security/data/sbom/beta/spdx/openssl-3.0.7-18.el9_2.json",
"packages": [
{
"SPDXID": "SPDXRef-SRPM",
Expand Down
3 changes: 2 additions & 1 deletion sbom/examples/rpm/poppler-21.01.0-19.el9-sbom.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"creationInfo": {
"created": "2006-08-14T02:34:56-06:00",
"creators": [
"example SPDX document only"
"Tool: example SPDX document only"
]
},
"name": "poppler-21.01.0-19.el9",
"documentNamespace": "https://access.redhat.com/security/data/sbom/beta/spdx/poppler-21.01.0-19.el9.json",
"packages": [
{
"SPDXID": "SPDXRef-SRPM",
Expand Down

0 comments on commit 0a0a27e

Please sign in to comment.