List consolidated alerts
Returns a list of consolidated alerts.
Query Parameters
- limit int64
Limits the size of the response on each page to the specified number of items.
- start string
Sets the page number used to browse the collection. Pages are indexed starting from 1 (i.e.,
?start=1
). - filter string
Narrows down the results to only the items that satisfy the filter criteria. The following table lists the supported filter fields for this resource and the filter conditions that can be applied on those fields:
For more information about filtering, refer to the Filtering section of this guide.Field Filter Condition Description status $in The consolidated alert status. Set to "active" to display only the consolidated alerts that have one or more of its associated individual alerts in "active" status. Set to "cleared" to display only the consolidated alerts that have all individual alerts in "cleared" status. For example, ?filter={"status":{"$in":["cleared"]}}
raised_timestamp $lte, $gte The timestamp value of when the consolidated alert was initially raised. Represented in RFC-3339 format. For example, ?filter={"raised_timestamp":{"$lte":"1985-04-12T23:20:50Z"}}
parent_entity.id and parent_entity.type $eq The system-generated ID and value (name) of the parent entity that is associated with the primary entity affected by the alert. These two fields must be set together. For example, ?filter={"parent_entity.id":{"$eq":"9c2934fc-ff4d-11e9-8e11-76706df7fe01"},"parent_entity.type":{"$eq":"aws_environment"}}
- 200
- default
Success
- application/api.clumio.consolidated-alerts=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- current_count int64
The number of items listed on the current page.
- filter_applied string
The filter used in the request. The filter includes both manually-specified and system-generated filters.
- limit int64
The maximum number of items displayed per page in the response.
- start string
The page number used to get this response. Pages are indexed starting from 1 (i.e.,
"start": "1"
). - total_count int64
The total number of items, summed across all pages.
- total_pages_count int64
The total number of pages of results.
{
"_embedded": {
"items": [
{
"_etag": "string",
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"update-consolidated-alert": {
"href": "string",
"templated": true,
"type": "string"
}
},
"active_entity_count": 0,
"cause": "string",
"cleared_entity_count": 0,
"cleared_timestamp": "string",
"details": {
"cause": "string",
"type": "string"
},
"id": "string",
"notes": "string",
"parent_entity": {
"id": "string",
"type": "string",
"value": "string"
},
"raised_timestamp": "string",
"severity": "string",
"status": "string",
"type": "string",
"updated_timestamp": "string"
}
]
},
"_links": {
"_first": {
"href": "string",
"templated": true,
"type": "string"
},
"_last": {
"href": "string",
"templated": true,
"type": "string"
},
"_next": {
"href": "string",
"templated": true,
"type": "string"
},
"_prev": {
"href": "string",
"templated": true,
"type": "string"
},
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
},
"current_count": 0,
"filter_applied": "string",
"limit": 0,
"start": "string",
"total_count": 0,
"total_pages_count": 0
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
GET /alerts/consolidated
Authorization
Request
Request
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/alerts/consolidated' \
-H 'Accept: application/api.clumio.consolidated-alerts=v1+json' \
-H 'Authorization: Bearer <TOKEN>'