Skip to content
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

New SBOM queries #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 125 additions & 0 deletions sbomFilters.query.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}

11 changes: 11 additions & 0 deletions sbomFilters.variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"getApplicationsSbom": {
"search": "",
"limit": 100,
"offset": 0,
"filters": {},
"sbomSearch": [],
"owners": []
}
}

43 changes: 43 additions & 0 deletions sbomLibStats.query.json
Original file line number Diff line number Diff line change
@@ -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
}
}

11 changes: 11 additions & 0 deletions sbomLibStats.variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"getSbomLibrariesInput": {
"offset": 0,
"filters": {},
"search": "",
"limit": 20000,
"sbomSearch": [],
"owners": []
}
}

56 changes: 56 additions & 0 deletions sbomLibs.query.json
Original file line number Diff line number Diff line change
@@ -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
}
}

11 changes: 11 additions & 0 deletions sbomLibs.variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"getSbomLibrariesInput": {
"offset": 0,
"filters": {},
"search": "",
"limit": 2000,
"sbomSearch": [],
"owners": []
}
}

19 changes: 19 additions & 0 deletions sbomShort.query.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
query GetSbomLibraries($getSbomLibrariesInput: GetApplicationsSbom) {
getSbomLibraries(getApplicationsSbom: $getSbomLibrariesInput) {
sbomLibs {
id
appType
libId
libraryName
libraryVersion
license
appId
appName
dependencyType
}
offset
total
totalFilteredSbomLibs
}
}

11 changes: 11 additions & 0 deletions sbomShort.variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"getSbomLibrariesInput": {
"offset": 0,
"filters": {},
"search": "",
"limit": 20000,
"sbomSearch": [],
"owners": []
}
}