Skip to content

Commit

Permalink
remove filtered SBOMs since they are virtual now
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Bertschy <[email protected]>
  • Loading branch information
matthyx committed Dec 11, 2024
1 parent 8a3a618 commit 7c1b99d
Show file tree
Hide file tree
Showing 39 changed files with 41 additions and 200 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/golang-simple.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"kind": "VulnerabilityManifest", "apiVersion": "spdx.softwarecomposition.kubescape.io/v1beta1", "metadata": {"name": "docker.io-qorbani-golang-hello-world-sha256-a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f-34c31f", "namespace": "kubescape", "uid": "ea326224-051a-4b2c-96ec-79ad6bef3abc", "resourceVersion": "1", "creationTimestamp": "2024-12-03T14:57:17Z", "labels": {"kubescape.io/context": "non-filtered", "kubescape.io/image-id": "docker-io-qorbani-golang-hello-world-sha256-a14f3fbf3d5d1c4a000", "kubescape.io/image-name": "docker-io-qorbani-golang-hello-world"}, "annotations": {"kubescape.io/image-id": "docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "kubescape.io/image-tag": "docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "kubescape.io/resource-size": "31656", "kubescape.io/status": "ready"}}, "spec": {"metadata": {"withRelevancy": false, "tool": {"name": "", "version": "v0.81.0", "databaseVersion": "sha256:5a5f72d5828b204f21cd1e15f95f6fa8ec214da0ad0d970bd91f5dee43100cb3"}, "report": {"createdAt": null}}, "payload": {"matches": null, "source": {"type": "image", "target": {"userInput": "docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "imageID": "sha256:aa864723bf43f2eb3caaf588f172271fd131ed02d8c82207b0c6d8871670c056", "manifestDigest": "sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "tags": [], "imageSize": 5760416, "layers": [{"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "digest": "sha256:6061e963ffa22fc88ca70da1c6658501bff4a8d7f067fa060d64ef6de99215c1", "size": 0}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "digest": "sha256:7b139a2c3804a6c2a8ae66d0b25e3e6004def75845b170716f679c4f2993bcc8", "size": 5760416}], "manifest": "ewogICAic2NoZW1hVmVyc2lvbiI6IDIsCiAgICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRvY2tlci5kaXN0cmlidXRpb24ubWFuaWZlc3QudjIranNvbiIsCiAgICJjb25maWciOiB7CiAgICAgICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRvY2tlci5jb250YWluZXIuaW1hZ2UudjEranNvbiIsCiAgICAgICJzaXplIjogMTY5NiwKICAgICAgImRpZ2VzdCI6ICJzaGEyNTY6YWE4NjQ3MjNiZjQzZjJlYjNjYWFmNTg4ZjE3MjI3MWZkMTMxZWQwMmQ4YzgyMjA3YjBjNmQ4ODcxNjcwYzA1NiIKICAgfSwKICAgImxheWVycyI6IFsKICAgICAgewogICAgICAgICAibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5kb2NrZXIuaW1hZ2Uucm9vdGZzLmRpZmYudGFyLmd6aXAiLAogICAgICAgICAic2l6ZSI6IDg5LAogICAgICAgICAiZGlnZXN0IjogInNoYTI1NjpmZmUyMzdhY2VmOWE2Y2E1ZTk1ODA4YmM1MWE4NWY2N2M5OTVlYjM4NjE3ZjQxZDAxMjBmNjc5NzNiZWIxNWIyIgogICAgICB9LAogICAgICB7CiAgICAgICAgICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLm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U6NTU6MjguNTYyNzYwNzA3WiIsImNyZWF0ZWRfYnkiOiIvYmluL3NoIC1jICMobm9wKSAgQ01EIFtcIi9hcHAvaGVsbG8td29ybGRcIl0iLCJlbXB0eV9sYXllciI6dHJ1ZX1dLCJvcyI6ImxpbnV4Iiwicm9vdGZzIjp7InR5cGUiOiJsYXllcnMiLCJkaWZmX2lkcyI6WyJzaGEyNTY6NjA2MWU5NjNmZmEyMmZjODhjYTcwZGExYzY2NTg1MDFiZmY0YThkN2YwNjdmYTA2MGQ2NGVmNmRlOTkyMTVjMSIsInNoYTI1Njo3YjEzOWEyYzM4MDRhNmMyYThhZTY2ZDBiMjVlM2U2MDA0ZGVmNzU4NDViMTcwNzE2ZjY3OWM0ZjI5OTNiY2M4Il19fQ==", "repoDigests": ["index.docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f"], "architecture": "amd64", "os": "linux"}}, "distro": {"name": "", "version": "", "idLike": null}, "descriptor": {"name": "", "version": "", "db": {"built": "2023-05-29T01:31:19Z", "schemaVersion": 5, "location": "/home/nonroot/.cache/grype/db/5", "checksum": "sha256:5a5f72d5828b204f21cd1e15f95f6fa8ec214da0ad0d970bd91f5dee43100cb3", "error": null}}}}, "status": {}}
{"kind": "VulnerabilityManifest", "apiVersion": "spdx.softwarecomposition.kubescape.io/v1beta1", "metadata": {"name": "docker.io-qorbani-golang-hello-world-sha256-a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f-34c31f", "namespace": "kubescape", "uid": "de7bd780-2a61-43ae-bf59-7bebf92e9593", "resourceVersion": "1", "creationTimestamp": "2024-12-11T20:30:16Z", "labels": {"kubescape.io/context": "non-filtered", "kubescape.io/image-id": "docker-io-qorbani-golang-hello-world-sha256-a14f3fbf3d5d1c4a000", "kubescape.io/image-name": "docker-io-qorbani-golang-hello-world", "kubescape.io/scan-id": "c346a21e-3182-4441-bb2c-b4f40451832b"}, "annotations": {"kubescape.io/image-id": "docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "kubescape.io/image-tag": "docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "kubescape.io/resource-size": "31656", "kubescape.io/status": "ready"}}, "spec": {"metadata": {"withRelevancy": false, "tool": {"name": "", "version": "v0.81.0", "databaseVersion": "sha256:5a5f72d5828b204f21cd1e15f95f6fa8ec214da0ad0d970bd91f5dee43100cb3"}, "report": {"createdAt": null}}, "payload": {"matches": null, "source": {"type": "image", "target": {"userInput": "docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "imageID": "sha256:aa864723bf43f2eb3caaf588f172271fd131ed02d8c82207b0c6d8871670c056", "manifestDigest": "sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f", "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "tags": [], "imageSize": 5760416, "layers": [{"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "digest": "sha256:6061e963ffa22fc88ca70da1c6658501bff4a8d7f067fa060d64ef6de99215c1", "size": 0}, {"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "digest": "sha256:7b139a2c3804a6c2a8ae66d0b25e3e6004def75845b170716f679c4f2993bcc8", "size": 5760416}], "manifest": "ewogICAic2NoZW1hVmVyc2lvbiI6IDIsCiAgICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRvY2tlci5kaXN0cmlidXRpb24ubWFuaWZlc3QudjIranNvbiIsCiAgICJjb25maWciOiB7CiAgICAgICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRvY2tlci5jb250YWluZXIuaW1hZ2UudjEranNvbiIsCiAgICAgICJ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jAxNi0wOS0xM1QwNTo1NToyOC41NjI3NjA3MDdaIiwiZG9ja2VyX3ZlcnNpb24iOiIxLjEyLjEiLCJoaXN0b3J5IjpbeyJjcmVhdGVkIjoiMjAxNi0wOS0xM1QwNTo0ODo0MC43NjI1NzYyNzJaIiwiY3JlYXRlZF9ieSI6Ii9iaW4vc2ggLWMgIyhub3ApICBXT1JLRElSIC9hcHAifSx7ImNyZWF0ZWQiOiIyMDE2LTA5LTEzVDA1OjU1OjI4LjUxNDUxNzAxMloiLCJjcmVhdGVkX2J5IjoiL2Jpbi9zaCAtYyAjKG5vcCkgQUREIGZpbGU6MDZlYTlhZDFjOGRjYmI4ZmZhZjNkMDI3NjQ5MDI1YzAzNjc5MjNjMmRhYzRhZTY2ODVjMTFlYjBlZWRmODIwYSBpbiAvYXBwL2hlbGxvLXdvcmxkICJ9LHsiY3JlYXRlZCI6IjIwMTYtMDktMTNUMDU6NTU6MjguNTYyNzYwNzA3WiIsImNyZWF0ZWRfYnkiOiIvYmluL3NoIC1jICMobm9wKSAgQ01EIFtcIi9hcHAvaGVsbG8td29ybGRcIl0iLCJlbXB0eV9sYXllciI6dHJ1ZX1dLCJvcyI6ImxpbnV4Iiwicm9vdGZzIjp7InR5cGUiOiJsYXllcnMiLCJkaWZmX2lkcyI6WyJzaGEyNTY6NjA2MWU5NjNmZmEyMmZjODhjYTcwZGExYzY2NTg1MDFiZmY0YThkN2YwNjdmYTA2MGQ2NGVmNmRlOTkyMTVjMSIsInNoYTI1Njo3YjEzOWEyYzM4MDRhNmMyYThhZTY2ZDBiMjVlM2U2MDA0ZGVmNzU4NDViMTcwNzE2ZjY3OWM0ZjI5OTNiY2M4Il19fQ==", "repoDigests": ["index.docker.io/qorbani/golang-hello-world@sha256:a14f3fbf3d5d1c4a000ab2c0c6d5e4633bdb96286a0130fa5b2c5967b934c31f"], "architecture": "amd64", "os": "linux"}}, "distro": {"name": "", "version": "", "idLike": null}, "descriptor": {"name": "", "version": "", "db": {"built": "2023-05-29T01:31:19Z", "schemaVersion": 5, "location": "/home/nonroot/.cache/grype/db/5", "checksum": "sha256:5a5f72d5828b204f21cd1e15f95f6fa8ec214da0ad0d970bd91f5dee43100cb3", "error": null}}}}, "status": {}}
2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/java-simple.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/mariadb.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/nginx.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/python-simple.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/redis-fixed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/redis.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/redis_sleep.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configurations/expected-result/CVEs/wikijs.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 7c1b99d

Please sign in to comment.