Security Deck Alerts API, gRPC: AlertService.ListRelatedResources
List alert related resources.
gRPC request
rpc ListRelatedResources (ListAlertRelatedResourcesRequest) returns (ListAlertRelatedResourcesResponse)
ListAlertRelatedResourcesRequest
{
"alert_id": "string",
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
alert_id |
string Required field. Alert ID. The maximum string length in characters is 50. |
|
page_size |
int64 Number of results per page. The maximum value is 1000. |
|
page_token |
string Token for the results page. The maximum string length in characters is 200. |
ListAlertRelatedResourcesResponse
{
"related_resources": [
{
// Includes only one of the fields `cloud_resource`
"cloud_resource": {
"id": "string",
"type": "string",
"parent": "RelatedCloudResource"
}
// end of the list of possible fields
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
related_resources[] |
List of related resources. |
|
next_page_token |
string Token for getting the next page of the list. |
RelatedResource
A resource related to some entity (e.g. to alert).
|
Field |
Description |
|
cloud_resource |
A Yandex Cloud resource. Includes only one of the fields |
RelatedCloudResource
A Yandex Cloud resource related to some entity
|
Field |
Description |
|
id |
string Resource ID. |
|
type |
string Resource type (e.g. "iam.serviceAccount", "compute.instance"). |
|
parent |
Parent for this resource. |