Security Deck Alerts API, REST: Alert.List
List alerts.
HTTP request
GET https://alert-sink.api.yandexcloud.kz/securitydeck/alerts/v1/sinks/{sinkId}/alerts
Path parameters
|
Field |
Description |
|
sinkId |
string Required field. Alert sink ID. The maximum string length in characters is 50. |
Query parameters
|
Field |
Description |
|
languageCode |
string Language code. What language should alert texts be in. The maximum string length in characters is 10. |
|
filter |
string Filtering expression. See documentation on filter capabilities and syntax. The maximum string length in characters is 2048. |
|
orderBy[] |
string Sorting order. The maximum number of elements is 1. |
|
pageSize |
string (int64) Number of results per page. The maximum value is 1000. |
|
pageToken |
string Token for the results page. The maximum string length in characters is 200. |
Response
HTTP Code: 200 - OK
{
"alerts": [
{
"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"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
alerts[] |
Requested alerts. |
|
nextPageToken |
string Token for the next results page. |
Alert
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. |