API Guide v2
getResourceSoftware
getResourceSoftware
Return the last identified software for a specific resource.
QUERY
QUERY
getResourceSoftware(resourceid: ID!, type: String, count: Int, nextToken: String): PaginationResourceSoftware!
ARGUMENTS
ARGUMENTS
resourceid: ID!
type: String
count: Int
nextToken: String
"Type" Values
"Type" Values
all: all products and components
sam: (default - when not specified) products only
std: stand-alone products only
grp: products with components only
cmp: components only
OBJECTS
OBJECTS
PaginationResourceSoftware
FIELDS
FIELDS
items: [ResourceSoftware!]!
nextToken: String
Sample Query
Sample Query
Request:
Request:
query getResourceSoftware {
getResourceSoftware(resourceid: "16778572", count: 1) {
items {
resourceid
cpe23
isgrp
iscmp
cpe {
cpe_islicensable
cpe_isopensource
cpe_issuite
cpe_lifecycle_ga
cpe_lifecycle_eol
cpe_lifecycle_eos
cpe_title {
vendorname
}
}
}
nextToken
}
Response:
Response:
{
"data": {
"getResourceSoftware": {
"items": [
{
"resourceid": "16778572",
"cpe23": "cpe:2.3:a:1e:agent:7.0:*:*:*:*:*:*:*",
"isgrp": 0,
"iscmp": 0,
"cpe": {
"cpe_islicensable": 1,
"cpe_isopensource": 0,
"cpe_issuite": 1,
"cpe_lifecycle_ga": "2014-11-01T00:00:00.000000Z",
"cpe_lifecycle_eol": "2099-12-31T00:00:00.000000Z",
"cpe_lifecycle_eos": "2099-12-31T00:00:00.000000Z",
"cpe_title": {
"vendorname": "1E"
}
}
}
],
"nextToken": "XXXX"
}
}
}
Support
Support
if you have questions or issues using the API, please contact us as support@fatstacks.tech