You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/sbom/SKILL.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,17 +13,28 @@ The OpenShell SBOM tooling produces source-tree CycloneDX JSON SBOMs using Syft,
13
13
14
14
SBOMs are **release artifacts only** -- they are generated on demand and not committed to the repository. Output lands in `deploy/sbom/output/` (gitignored).
15
15
16
-
Release Dev and Release Tag image builds separately embed cargo-auditable
17
-
metadata in the staged gateway and supervisor binaries. This metadata describes
18
-
the binary's Rust dependency graph and lets Syft discover Cargo packages from
19
-
the binary itself. It is not a complete image SBOM and is not an OCI SBOM
20
-
attestation; publishing such an attestation remains separate work.
16
+
Pushed gateway and supervisor images carry an SPDX SBOM and minimal SLSA provenance as OCI attestations. Branch E2E, Release Dev, and Release Tag image binaries embed cargo-auditable metadata, so their image SBOMs include linked Rust crates.
21
17
22
18
## Prerequisites
23
19
24
20
-`mise install` has been run (installs Syft and other tools)
25
21
- The repository is checked out at the root
26
22
23
+
## Inspecting an Image SBOM
24
+
25
+
BuildKit uses its default Syft scanner and attaches one SPDX document per platform. Read one without pulling the image:
docker buildx imagetools inspect ghcr.io/nvidia/openshell/gateway:latest --format '{{ range (index .SBOM "linux/amd64").SPDX.packages }}{{ .name }}@{{ .versionInfo }}{{ println }}{{ end }}'
26
+
```
27
+
28
+
The same commands work for `ghcr.io/nvidia/openshell/supervisor`.
29
+
30
+
## Coverage
31
+
32
+
Every SBOM lists the base-image packages. Release Dev and Release Tag images also list the Rust crates compiled into their OpenShell binary.
33
+
34
+
<Note>
35
+
OpenShell also publishes minimal SLSA provenance. It records how BuildKit produced the image, including its source revision, build platform, and base-image materials, without the extra build parameters included by full provenance.
0 commit comments