Skip to content

Commit b4c2a62

Browse files
committed
docs: add SBOM for more extensions
Partial for #10940 Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
1 parent bbea573 commit b4c2a62

File tree

11 files changed

+71
-1
lines changed

11 files changed

+71
-1
lines changed

guest-agents/metal-agent/pkg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ steps:
2424
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
2525
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
2626
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
27+
sbom:
28+
outputPath: /rootfs/usr/local/share/spdx/metal-agent.spdx.json
29+
version: {{ .VERSION }}
30+
licenses:
31+
- MPL-2.0
2732
finalize:
2833
- from: /rootfs
2934
to: /rootfs

guest-agents/qemu-guest-agent/pkg.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ steps:
6464
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
6565
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
6666
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
67+
sbom:
68+
outputPath: /rootfs/usr/local/share/spdx/qemu-guest-agent.spdx.json
69+
version: {{ .QEMU_VERSION }}
70+
cpes:
71+
- cpe:2.3:a:qemu:qemu:{{ .QEMU_VERSION }}:*:*:*:*:*:*:*
72+
licenses:
73+
- GPL-2.0
74+
- LGPL-2.1
6775
finalize:
6876
- from: /rootfs
6977
to: /rootfs

guest-agents/xen-guest-agent/pkg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ steps:
4646
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
4747
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
4848
/base-rootfs/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
49+
sbom:
50+
outputPath: /rootfs/usr/local/share/spdx/xen-guest-agent.spdx.json
51+
version: {{ .XEN_GUEST_AGENT_VERSION }}
52+
licenses:
53+
- AGPL-3.0
4954
finalize:
5055
- from: /rootfs
5156
to: /rootfs

misc/glibc/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ steps:
6464
rm -rf /rootfs/usr/local/glibc/include
6565
rm -rf /rootfs/usr/local/glibc/share
6666
rm -rf /rootfs/usr/local/glibc/var
67+
sbom:
68+
outputPath: /rootfs/usr/local/share/spdx/glibc.spdx.json
69+
version: {{ .GLIBC_VERSION }}
70+
cpes:
71+
- cpe:2.3:a:gnu:glibc:{{ .GLIBC_VERSION }}:*:*:*:*:*:*:*
72+
licenses:
73+
- LGPL-2.1-or-later
6774
finalize:
6875
- from: /rootfs
6976
to: /rootfs

network/cloudflared/pkg.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,15 @@ steps:
3535
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
3636
- |
3737
[[ $(/rootfs/usr/local/lib/containers/cloudflared/usr/local/bin/cloudflared version) == *{{ .CLOUDFLARED_VERSION }}* ]]
38+
sbom:
39+
outputPath: /rootfs/usr/local/share/spdx/cloudflared.spdx.json
40+
version: {{ .CLOUDFLARED_VERSION }}
41+
cpes:
42+
- cpe:2.3:a:cloudflare:cloudflared:{{ .CLOUDFLARED_VERSION }}:*:*:*:*:*:*:*
43+
licenses:
44+
- Apache-2.0
3845
finalize:
3946
- from: /rootfs
4047
to: /rootfs
4148
- from: /pkg/manifest.yaml
4249
to: /
43-

network/lldpd/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ steps:
5252
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
5353
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
5454
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
55+
sbom:
56+
outputPath: /rootfs/usr/local/share/spdx/lldpd.spdx.json
57+
version: {{ .LLDPD_VERSION }}
58+
cpes:
59+
- cpe:2.3:a:lldpd_project:lldpd:{{ .LLDPD_VERSION }}:*:*:*:*:*:*:*
60+
licenses:
61+
- ISC
5562
finalize:
5663
- from: /rootfs
5764
to: /rootfs

network/nebula/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ steps:
4242
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
4343
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
4444
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
45+
sbom:
46+
outputPath: /rootfs/usr/local/share/spdx/nebula.spdx.json
47+
version: {{ .NEBULA_VERSION }}
48+
cpes:
49+
- cpe:2.3:a:slack:nebula:{{ .NEBULA_VERSION }}:*:*:*:*:*:*:*
50+
licenses:
51+
- MIT
4552
finalize:
4653
- from: /rootfs
4754
to: /rootfs

network/newt/pkg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ steps:
4747
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
4848
- |
4949
[[ $(/rootfs/usr/local/lib/containers/newt/usr/local/bin/newt --version) == *{{ .NEWT_VERSION }}* ]]
50+
sbom:
51+
outputPath: /rootfs/usr/local/share/spdx/newt.spdx.json
52+
version: {{ .NEWT_VERSION }}
53+
licenses:
54+
- AGPL-3.0
5055
finalize:
5156
- from: /rootfs
5257
to: /rootfs

network/zerotier/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ steps:
4040
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
4141
- |
4242
[[ $(/rootfs/usr/local/lib/containers/zerotier/usr/local/bin/zerotier-one -v) == *{{ .ZEROTIER_VERSION }}* ]]
43+
sbom:
44+
outputPath: /rootfs/usr/local/share/spdx/zerotier.spdx.json
45+
version: {{ .ZEROTIER_VERSION }}
46+
cpes:
47+
- cpe:2.3:a:zerotier:zerotierone:{{ .ZEROTIER_VERSION }}:*:*:*:*:*:*:*
48+
licenses:
49+
- BUSL-1.1
4350
finalize:
4451
- from: /rootfs
4552
to: /rootfs

storage/fuse3/pkg.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ steps:
3434
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
3535
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
3636
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
37+
sbom:
38+
outputPath: /rootfs/usr/local/share/spdx/fuse3.spdx.json
39+
version: {{ .FUSE3_VERSION }}
40+
licenses:
41+
- GPL-2.0
42+
- LGPL-2.1
3743
finalize:
3844
- from: /rootfs
3945
to: /rootfs

0 commit comments

Comments
 (0)