List Total Alerts based on the severity
POST/commandcenter/api/v1/summary/:swimlane-type
Gets the alert count summary based on the severity for the request time, accounts, account groups and swimlane type. Maximum time range supported is last 30 days.
Request
Path Parameters
Type of the swimlane. Allowed values: [misconfigurations, incidents, exposures, iam, data-security, attack-path]
- application/json
Body
required
- Array [
- ]
- AbsoluteTimeRangeConfig
- RelativeTimeRangeConfig
filters object[]
List of filters that can be applied for the API
Possible values: [account.group
, cloud.account
]
Only allowed operator for the filter is '='
Value for the applied filter
timeRange objectrequired
Type of time ranges supported: [absolute, relative]
value object
Absolute Time containing start and end time. Maximum time range supported is last 30 days.
Type of time ranges supported: [absolute, relative]
value object
Relative time supporting past hour, week and month. Maximum time range supported is 1 month
Possible values: [hour
, week
, month
, year
]
Type of time ranges supported: [absolute, relative]
Responses
- 200
- 400
- 401
- 403
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
value object
Total number of alerts with critical severity
Total number of alerts with high severity
Start time of the time range
End time of the time range
Type of the swimlane
Last scan time of the backend aggregation job
{
"value": {
"totalCriticalAlerts": 0,
"totalHighAlerts": 0
},
"startTime": 0,
"endTime": 0,
"swimlaneType": "string",
"lastScanTs": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"code": "string",
"message": "string",
"target": "string"
}
}
Unauthorized
Forbidden
Too Many Requests