Skip to content

Commit 3df20c4

Browse files
author
Rijul Gulati
authored
Fixed SBOM command and bumped SPDX version to 2.3 (#40982)
* Fixed SBOM command and bumped SPDX version to 2.3 * Revert SBOM changes for lang/zh-cn
1 parent 5a08f63 commit 3df20c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/en/docs/tasks/administer-cluster/verify-signed-artifacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ in `KEYLESS` mode. To learn more about keyless signing, please refer to
7878
To verify all signed control plane images, please run this command:
7979

8080
```shell
81-
curl -Ls https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/latest.txt)/release | grep 'PackageName: registry.k8s.io/' | awk '{print $2}' > images.txt
81+
curl -Ls "https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release" | grep "SPDXID: SPDXRef-Package-registry.k8s.io" | grep -v sha256 | cut -d- -f3- | sed 's/-/\//' | sed 's/-v1/:v1/' > images.txt
8282
input=images.txt
8383
while IFS= read -r image
8484
do

content/en/releases/download.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ container image name, for example
3737
those derivations are signed in the same way as the multi-architecture manifest lists.
3838

3939
The Kubernetes project publishes a list of signed Kubernetes container images
40-
in [SPDX 2.2](https://spdx.dev/specifications/) format.
40+
in [SPDX 2.3](https://spdx.dev/specifications/) format.
4141
You can fetch that list using:
4242

4343
```shell
44-
curl -Ls "https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/latest.txt)/release" | awk '/Package: registry.k8s.io\// {print $3}'
44+
curl -Ls "https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release" | grep "SPDXID: SPDXRef-Package-registry.k8s.io" | grep -v sha256 | cut -d- -f3- | sed 's/-/\//' | sed 's/-v1/:v1/'
4545
```
4646
For Kubernetes v{{< skew currentVersion >}}, the only kind of code artifact that
4747
you can verify integrity for is a container image, using the experimental

0 commit comments

Comments
 (0)