Security Deck Alerts API, REST: Alert.Get
Get alert by ID.
HTTP request
GET https://alert-sink.api.yandexcloud.kz/securitydeck/alerts/v1/alerts/{alertId}
Path parameters
|
Field |
Description |
|
alertId |
string Required field. Alert ID. |
Query parameters
|
Field |
Description |
|
languageCode |
string Language code. What language should alert texts be in. The maximum string length in characters is 10. |
|
detailsI18n |
boolean Should alert details be internationalized (true) or left in source representation (false). |
Response
HTTP Code: 200 - OK
{
"id": "string",
"sinkId": "string",
"title": "string",
"description": "string",
"recommendations": "string",
"severity": "string",
"status": "string",
"category": {
"name": "string"
},
"classification": "string",
"createdBy": {
// 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
},
"createTime": "string",
"updateTime": "string",
"details": "object"
}
Security Deck alert.
|
Field |
Description |
|
id |
string ID of the alert. |
|
sinkId |
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.
|
|
createdBy |
Who created the alert. |
|
assignee |
Who the alert is assigned to. |
|
createTime |
string (date-time) Alert creation time. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updateTime |
string (date-time) Alert modification time. String in RFC3339 To work with values in this field, use the APIs described in the |
|
details |
object 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. |