Security Deck Alerts API, gRPC: AlertService.Get
Get alert by ID.
gRPC request
rpc Get (GetAlertRequest) returns (Alert)
GetAlertRequest
{
"alert_id": "string",
"language_code": "string",
"details_i18n": "bool"
}
|
Field |
Description |
|
alert_id |
string Required field. Alert ID. |
|
language_code |
string Language code. What language should alert texts be in. The maximum string length in characters is 10. |
|
details_i18n |
bool Should alert details be internationalized (true) or left in source representation (false). |
Alert
{
"id": "string",
"sink_id": "string",
"title": "string",
"description": "string",
"recommendations": "string",
"severity": "Severity",
"status": "Status",
"category": {
"name": "string"
},
"classification": "Classification",
"created_by": {
// Includes only one of the fields `subject`, `sensor`
"subject": {
"id": "string"
},
"sensor": {
"id": "string"
}
// end of the list of possible fields
},
"assignee": {
// Includes only one of the fields `subject`
"subject": {
"id": "string"
}
// end of the list of possible fields
},
"create_time": "google.protobuf.Timestamp",
"update_time": "google.protobuf.Timestamp",
"details": "google.protobuf.Struct"
}
Security Deck alert.
|
Field |
Description |
|
id |
string ID of the alert. |
|
sink_id |
string ID of the alert sink alert is in. |
|
title |
string Alert title. Plain text in requested language. |
|
description |
string Alert description. Yandex Flavored Markdown in requested language. |
|
recommendations |
string Alert recommendations. Yandex Flavored Markdown in requested language. |
|
severity |
enum Severity Alert severity.
|
|
status |
enum Status Alert status.
|
|
category |
Alert category (aka threat type). |
|
classification |
enum Classification Alert classification.
|
|
created_by |
Who created the alert. |
|
assignee |
Who the alert is assigned to. |
|
create_time |
Alert creation time. |
|
update_time |
Alert modification time. |
|
details |
Alert technical details. |
Category
Alert category.
|
Field |
Description |
|
name |
string Alert category name. |
Actor
Information about an entity that performed an action (created an alert, added a comment, etc.).
|
Field |
Description |
|
subject |
Action was performed by a specific Cloud subject. Includes only one of the fields |
|
sensor |
Action was performed by (or on behalf of) an alert provider system (aka sensor) Includes only one of the fields |
Subject
Cloud subject.
|
Field |
Description |
|
id |
string Subject ID. |
Sensor
Alert provider system (aka sensor).
|
Field |
Description |
|
id |
string Sensor ID. |
Assignee
Information about an entity that alert was assigned to.
|
Field |
Description |
|
subject |
Alert is assigned to as specific Cloud subject. Includes only one of the fields |
Subject
Cloud subject.
|
Field |
Description |
|
id |
string Subject ID. |