getApiSecurityFiltersLazy
Retrieves filter options with lazy loading support for better performance.
Examples
query GetApiSecurityFiltersLazy($getApiSecurityInput: GetApiSecurityInput) {
getApiSecurityFiltersLazy(getApiSecurityInput: $getApiSecurityInput) {
total
totalFiltered
filters {
type
items {
id
filterId
label
count
percent
changeNumber
policyId
extraInfo {
key
value
}
}
}
}
}
Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"getApiSecurityInput": {
"scanId": "c9da693d-8906-4a32-93c9-2ffdb1cebb99",
"offset": 0,
"limit": 100,
"owners": ["example"],
"tagIds": ["example"],
"search": "/api/v2/",
"filters": {
"apps": ["repo-name"],
"titles": ["Kubernetes"],
"endpoints": ["/api/v1/some/endpoint"],
"methods": ["GET"],
"framework": ["OpenAPI"],
"languages": ["OpenAPI"],
"issueIds": ["30966426-oxPolicy_securityCloudScan_100-example"],
"apiId": ["ceb76dd8-7c11-448c-9056-17c5b5bfa361"],
"source": ["OpenAPI"],
"severities": ["2"],
"reachability": ["Code"]
},
"filterSearch": [
{
"fieldName": "example",
"value": ["example"]
}
],
"openItems": ["digest"],
"orderBy": {
"field": "title",
"direction": "ASC"
}
}
}
Arguments
You can use the following argument(s) to customize your getApiSecurityFiltersLazy
query.
getApiSecurityInput GetApiSecurityInput
Parameters for the lazy-loaded filter options.
scanId String
offset Int
limit Int
owners [String]
tagIds [String]
search String
filters ApiSecFilters
filterSearch [AutoCompleteSearch]
openItems [FilterTypes]
orderBy ApiSecurityOrderBy
Fields
Return type: FilterLazyResponse
You can use the following field(s) to specify what information your getApiSecurityFiltersLazy
query will return. Please note that some fields may have their own subfields.
total Int
Total number of items available
totalFiltered Int
Total number of items after applying filters
Last updated