getIssuesTrendData
Retrieves trend data showing how issues have changed over time. Useful for tracking security posture improvements and identifying patterns.
Examples
query GetIssuesTrendData($getIssuesTrendInput: FetchDashboardInput) {
getIssuesTrendData(getIssuesTrendInput: $getIssuesTrendInput) {
scanDate
info
low
medium
high
critical
appox
}
}
Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"getIssuesTrendInput": {
"scanId": "c9da693d-8906-4a32-93c9-2ffdb1cebb99",
"limit": 100,
"orderBy": {
"field": "BusinessPriority",
"direction": "ASC"
},
"dateRange": {
"from": 1672531200000,
"to": 1704067199000
},
"filters": ["New"],
"owners": ["example"],
"appIds": ["30966426"],
"tagIds": ["example"],
"isSingleRepoScan": true,
"apps": ["example"],
"orgUnits": ["example"],
"severities": [42],
"categories": [42],
"tags": ["example"],
"conditionalFilters": [
{
"condition": "OR",
"fieldName": "criticality",
"values": ["example"]
}
]
}
}
Arguments
You can use the following argument(s) to customize your getIssuesTrendData
query.
getIssuesTrendInput FetchDashboardInput
Parameters specifying the time range and other criteria for trend analysis
scanId String
limit Int
orderBy OrderBy
dateRange DateRangeFilter
filters [InventoryTypes]
owners [String]
appIds [String]
tagIds [String]
isSingleRepoScan Boolean
apps [String]
orgUnits [String]
severities [Int]
categories [Int]
tags [String]
conditionalFilters [IssuesTrendDataConditionalFilters]
Fields
Return type: [IssuesTrendResponse]
You can use the following field(s) to specify what information your getIssuesTrendData
query will return. Please note that some fields may have their own subfields.
scanDate Float
info Int
low Int
medium Int
high Int
critical Int
appox Int
Last updated