From 3ac17a005d8ef44b8141052568aa523e5261f810 Mon Sep 17 00:00:00 2001 From: Soham Arora Date: Fri, 17 May 2024 10:44:50 +0530 Subject: [PATCH] delete tests Signed-off-by: Soham Arora --- .../{diffSBOM_two_diff.json => diffSBOM.json} | 124 ++++++- ...fSBOM_six_diff.json => diffSBOM_same.json} | 323 +++++++++++++++++- 2 files changed, 442 insertions(+), 5 deletions(-) rename pkg/analyzer/{diffSBOM_two_diff.json => diffSBOM.json} (99%) rename pkg/analyzer/{diffSBOM_six_diff.json => diffSBOM_same.json} (99%) diff --git a/pkg/analyzer/diffSBOM_two_diff.json b/pkg/analyzer/diffSBOM.json similarity index 99% rename from pkg/analyzer/diffSBOM_two_diff.json rename to pkg/analyzer/diffSBOM.json index fb1110fbfb2..5bd3b032c6e 100644 --- a/pkg/analyzer/diffSBOM_two_diff.json +++ b/pkg/analyzer/diffSBOM.json @@ -41857,6 +41857,127 @@ } ], "includedDependencies": [ + { + "id": "39058", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "1301", + "type": "deb", + "namespaces": [ + { + "id": "1302", + "namespace": "debian", + "names": [ + { + "id": "1369", + "name": "base-files", + "versions": [ + { + "id": "36893", + "version": "11.1+deb11u3", + "qualifiers": [ + { + "key": "distro", + "value": "debian-11000" + }, + { + "key": "arch", + "value": "amd64000" + } + ], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "11.1+deb11u3", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, + { + "id": "39059", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "94", + "type": "golang", + "namespaces": [ + { + "id": "36909", + "namespace": "k8s.io/release/images/build", + "names": [ + { + "id": "36910", + "name": "go-runner", + "versions": [ + { + "id": "36911", + "version": "(devel)", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "(devel)", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, { "id": "39060", "justification": "top-level package GUAC heuristic connecting to each file/package", @@ -133007,7 +133128,8 @@ "collector": "FileCollector" } ] -}, +} +, { "id": "41129", "subject": { diff --git a/pkg/analyzer/diffSBOM_six_diff.json b/pkg/analyzer/diffSBOM_same.json similarity index 99% rename from pkg/analyzer/diffSBOM_six_diff.json rename to pkg/analyzer/diffSBOM_same.json index e87f2ff917c..62d9b462703 100644 --- a/pkg/analyzer/diffSBOM_six_diff.json +++ b/pkg/analyzer/diffSBOM_same.json @@ -41857,6 +41857,127 @@ } ], "includedDependencies": [ + { + "id": "39058", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "1301", + "type": "deb", + "namespaces": [ + { + "id": "1302", + "namespace": "debian", + "names": [ + { + "id": "1369", + "name": "base-files", + "versions": [ + { + "id": "36893", + "version": "11.1+deb11u3", + "qualifiers": [ + { + "key": "distro", + "value": "debian-11" + }, + { + "key": "arch", + "value": "amd64" + } + ], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "11.1+deb11u3", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, + { + "id": "39059", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "94", + "type": "golang", + "namespaces": [ + { + "id": "36909", + "namespace": "k8s.io/release/images/build", + "names": [ + { + "id": "36910", + "name": "go-runner", + "versions": [ + { + "id": "36911", + "version": "(devel)", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "(devel)", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, { "id": "39060", "justification": "top-level package GUAC heuristic connecting to each file/package", @@ -133007,7 +133128,8 @@ "collector": "FileCollector" } ] -}, +} +, { "id": "41129", "subject": { @@ -175314,7 +175436,55 @@ "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", "collector": "FileCollector" }, - + { + "id": "39066", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "15382", + "namespace": "files", + "names": [ + { + "id": "18640", + "name": "sha256:45128e17bbd90bc56f6310fc3cfe09d7f8543dac8a04fecbbbcd1abd191f3c36", + "versions": [] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, { "id": "39067", "justification": "top-level package GUAC heuristic connecting to each file/package", @@ -175364,7 +175534,55 @@ "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", "collector": "FileCollector" }, - + { + "id": "39068", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "15382", + "namespace": "files", + "names": [ + { + "id": "16462", + "name": "sha256:a826a2b20d44c6a28edcfb1b44c97ef243ec3dc9e2826e237a969613c9264f59", + "versions": [] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, { "id": "39069", "justification": "top-level package GUAC heuristic connecting to each file/package", @@ -175512,7 +175730,55 @@ "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", "collector": "FileCollector" }, - + { + "id": "39072", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "15382", + "namespace": "files", + "names": [ + { + "id": "15608", + "name": "sha256:2f0ca30c8460096c6548ecfd00f2091123ea985a8426c993146525da9311d93f", + "versions": [] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, { "id": "39073", "justification": "top-level package GUAC heuristic connecting to each file/package", @@ -175758,6 +176024,55 @@ "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", "collector": "FileCollector" }, + { + "id": "39078", + "justification": "top-level package GUAC heuristic connecting to each file/package", + "package": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "36944", + "namespace": "spdx/k8s.gcr.io", + "names": [ + { + "id": "39053", + "name": "kube-apiserver-v1.24.2", + "versions": [ + { + "id": "39054", + "version": "", + "qualifiers": [], + "subpath": "" + } + ] + } + ] + } + ] + }, + "dependencyPackage": { + "id": "9", + "type": "guac", + "namespaces": [ + { + "id": "15382", + "namespace": "files", + "names": [ + { + "id": "18862", + "name": "sha256:ef4b7a80b4142597e9ae84314dbdad5d53911ab1c8153e67b820ca8029f63627", + "versions": [] + } + ] + } + ] + }, + "dependencyType": "UNKNOWN", + "versionRange": "", + "origin": "file:///../guac-data-main/docs/spdx/syft-spdx-k8s.gcr.io-kube-apiserver.v1.24.2.json", + "collector": "FileCollector" + }, { "id": "39079", "justification": "top-level package GUAC heuristic connecting to each file/package",