-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update Syft to v0.97.1 #427
Conversation
335340e
to
5b409a0
Compare
5b409a0
to
45e64da
Compare
/update-snapshots |
It looks like Syft's SPDX JSON has added a node for the the package itself, e.g. {
"name": "busybox",
"SPDXID": "SPDXRef-DocumentRoot-Image-busybox",
"versionInfo": "sha256:650457c40132bba45967154bffe121a1f388703bd6078db74acbb02f123db572",
"supplier": "NOASSERTION",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "650457c40132bba45967154bffe121a1f388703bd6078db74acbb02f123db572"
}
],
"externalRefs": [
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:oci/busybox@sha256:650457c40132bba45967154bffe121a1f388703bd6078db74acbb02f123db572?arch=arm64&tag=latest"
}
],
"primaryPackagePurpose": "CONTAINER"
} I'm curious whether this is stable between runs. The last test run has the following lines: - PackageChecksum: SHA256: b51c3b88a7c95562982d886e727a3b5ca55c8661e2ce0796e8ecff94d83efd10
+ PackageChecksum: SHA256: 9d2dc4db7feee43df091d5acea59ba54ee28cdaef06d4102b89a4ddfda060e29
ExternalRef: PACKAGE-MANAGER purl pkg:oci/localhost:5000/match-coverage/debian@sha256:redacted?arch=amd64&tag=latest Note that the sha256 of the image is redacted in the PURL, but not in the checksum. I'm going to trigger another snapshot update and see whether it changes these SHAs - that would be a good indication that they're unstable and need to be redacted. |
/update-snapshots |
It looks like that's the problem - the commit from the last I think this is because the images get re-built on updating snapshots (see
sbom-action/.github/workflows/test.yml Line 67 in 74207bd
I think there are basically 2 (edit: 3! (edit: 5!)) paths forward:
❯ docker image inspect localhost:5000/match-coverage/debian:latest | jq '.[0].Id'
"sha256:ef3441176ddbd3508b767c2119f9adc1ad04b6e37b1f191797bf277d464e3ca6" |
18995bd
to
e5b0bfa
Compare
It looks like the bot force pushed over the snapshot updates. Rude. We should fix the bot at some point. |
/update-snapshots |
8ea38fa
to
50d93b4
Compare
50d93b4
to
6b26f4b
Compare
Signed-off-by: GitHub <noreply@github.com>
6b26f4b
to
4fb5b4b
Compare
Signed-off-by: Will Murphy <will.murphy@anchore.com>
22020e2
to
a1295f7
Compare
a1295f7
to
8addef0
Compare
8addef0
to
a1295f7
Compare
Update Syft to v0.97.1