diff --git a/sbomFilters.query.json b/sbomFilters.query.json new file mode 100644 index 0000000..9ab63de --- /dev/null +++ b/sbomFilters.query.json @@ -0,0 +1,125 @@ +query GetSbomLibrariesFilters($getApplicationsSbom: GetApplicationsSbom) { + getSbomLibrariesFilters(getApplicationsSbom: $getApplicationsSbom) { + total + libraryNames { + id + filterId + label + count + percent + } + libraryVersions { + id + filterId + label + count + percent + } + apps { + id + filterId + label + count + percent + } + source { + id + filterId + label + count + percent + } + dependencyTypes { + id + filterId + label + count + percent + } + licenses { + id + filterId + label + count + percent + } + copyrights { + id + filterId + label + count + percent + } + packageNames { + id + filterId + label + count + percent + } + severities { + id + filterId + label + count + percent + } + packageInfos { + id + filterId + label + count + percent + } + packageManagers { + id + filterId + label + count + percent + } + cve { + id + filterId + label + count + percent + } + languages { + id + filterId + label + count + percent + } + os { + id + filterId + label + count + percent + } + baseImage { + id + filterId + label + count + percent + } + registryName { + id + filterId + label + count + percent + } + image { + id + filterId + label + count + percent + } + } + } + \ No newline at end of file diff --git a/sbomFilters.variables.json b/sbomFilters.variables.json new file mode 100644 index 0000000..aaaac83 --- /dev/null +++ b/sbomFilters.variables.json @@ -0,0 +1,11 @@ +{ + "getApplicationsSbom": { + "search": "", + "limit": 100, + "offset": 0, + "filters": {}, + "sbomSearch": [], + "owners": [] + } + } + \ No newline at end of file diff --git a/sbomLibStats.query.json b/sbomLibStats.query.json new file mode 100644 index 0000000..a486d5a --- /dev/null +++ b/sbomLibStats.query.json @@ -0,0 +1,43 @@ +query GetSbomLibraries($getSbomLibrariesInput: GetApplicationsSbom) { + getSbomLibraries(getApplicationsSbom: $getSbomLibrariesInput) { + sbomLibs { + id + appType + libId + libraryName + libraryVersion + license + appId + appName + dependencyType + source + location + appId + locationLink + appLink + pkgName + copyWriteInfo + copyWriteInfoLink + libLink + notPopular + licenseIssue + notMaintained + isDeprecated + dependencyLevel + notUpdated + notImported + vulnerabilityCounts { + appox + critical + high + medium + low + info + } + } + offset + total + totalFilteredSbomLibs + } + } + \ No newline at end of file diff --git a/sbomLibStats.variables.json b/sbomLibStats.variables.json new file mode 100644 index 0000000..1d033da --- /dev/null +++ b/sbomLibStats.variables.json @@ -0,0 +1,11 @@ +{ + "getSbomLibrariesInput": { + "offset": 0, + "filters": {}, + "search": "", + "limit": 20000, + "sbomSearch": [], + "owners": [] + } + } + \ No newline at end of file diff --git a/sbomLibs.query.json b/sbomLibs.query.json new file mode 100644 index 0000000..7fb57d5 --- /dev/null +++ b/sbomLibs.query.json @@ -0,0 +1,56 @@ +query GetSbomLibraries($getSbomLibrariesInput: GetApplicationsSbom) { + getSbomLibraries(getApplicationsSbom: $getSbomLibrariesInput) { + sbomLibs { + id + appType + libId + libraryName + libraryVersion + license + appName + dependencyType + source + location + appId + locationLink + appLink + pkgName + copyWriteInfo + copyWriteInfoLink + libLink + artifactInSbomLibs { + image + imageLink + imageCreatedAt + sha + os + osVersion + baseImage + baseImageVersion + tag + layer + registryName + } + vulnerabilityCounts { + appox + critical + high + medium + low + info + } + triggerPackage + notPopular + licenseIssue + notMaintained + isDeprecated + dependencyLevel + notUpdated + notImported + } + offset + total + totalFilteredSbomLibs + } + } + \ No newline at end of file diff --git a/sbomLibs.variables.json b/sbomLibs.variables.json new file mode 100644 index 0000000..fb557c3 --- /dev/null +++ b/sbomLibs.variables.json @@ -0,0 +1,11 @@ +{ + "getSbomLibrariesInput": { + "offset": 0, + "filters": {}, + "search": "", + "limit": 2000, + "sbomSearch": [], + "owners": [] + } + } + \ No newline at end of file diff --git a/sbomShort.query.json b/sbomShort.query.json new file mode 100644 index 0000000..c7a4242 --- /dev/null +++ b/sbomShort.query.json @@ -0,0 +1,19 @@ +query GetSbomLibraries($getSbomLibrariesInput: GetApplicationsSbom) { + getSbomLibraries(getApplicationsSbom: $getSbomLibrariesInput) { + sbomLibs { + id + appType + libId + libraryName + libraryVersion + license + appId + appName + dependencyType + } + offset + total + totalFilteredSbomLibs + } + } + \ No newline at end of file diff --git a/sbomShort.variables.json b/sbomShort.variables.json new file mode 100644 index 0000000..1d033da --- /dev/null +++ b/sbomShort.variables.json @@ -0,0 +1,11 @@ +{ + "getSbomLibrariesInput": { + "offset": 0, + "filters": {}, + "search": "", + "limit": 20000, + "sbomSearch": [], + "owners": [] + } + } + \ No newline at end of file