getApiSecurityItems
Retrieves a list of discovered API endpoints with their security information.
Examples
query GetApiSecurityItems($getApiSecurityInput: GetApiSecurityInput) {
getApiSecurityItems(getApiSecurityInput: $getApiSecurityInput) {
apiSecurityItems {
id
scanId
title
description
version
methodDescription
methodOperationId
methodSummary
openapi
servers
epName
methodName
methodResponses {
description
code
}
methodTags
methodParameters {
description
in
name
required
}
appId
appType
appName
fileName
definitions {
source
fileName
link
llmTitle
llmDescription
functions {
function
line
snippet
filepath
link
}
}
framework
language
firstSeen
uuid
issuesBySeverity {
info
low
medium
high
critical
appox
}
codeLocations {
link
callBranch
}
commits {
commitInfo {
authorName
authorEmail
committerName
committerEmail
commitId
message
authorDate
commitDate
}
match
snippet
snippetLineNumber
startLineNumber
fileName
link
}
}
total
totalFiltered
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
Arguments
You can use the following argument(s) to customize your getApiSecurityItems query.
getApiSecurityInput GetApiSecurityInput
Parameters for filtering and paginating the API security items.
scanId String
offset Int
limit Int
owners [String]
tagIds [String]
search String
filters ApiSecFilters
filterSearch [AutoCompleteSearch]
openItems [FilterTypes]
orderBy ApiSecurityOrderBy
Fields
Return type: ApiSecurityItemsResponse
You can use the following field(s) to specify what information your getApiSecurityItems query will return. Please note that some fields may have their own subfields.
apiSecurityItems [ApiSecurityItem]
List of API security items found in the scan
id String
scanId String
title String
description String
version String
methodDescription String
methodOperationId String
methodSummary String
openapi String
servers [String]
epName String
methodName String
methodResponses [MethodResponse]
methodTags [String]
methodParameters [MethodParameter]
appId String
appType String
appName String
fileName [String]
definitions [APIDefinitions]
framework String
language String
firstSeen Date
uuid String
issuesBySeverity Severities
codeLocations [CodeLocation]
commits [ApiInventoryCommit]
total Int
Total number of API security items available
totalFiltered Int
Total number of API security items after applying filters
Last updated
