Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Router
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Managed Service for YDB
    • SpeechKit
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • Container Registry
    • Managed Service for Prometheus®
    • Message Queue
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Cloud Apps
    • Yandex AI Studio
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Yandex Cloud Video
    • Stackland
    • Yandex StoreDoc
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • DataSphere
    • Vision OCR
    • Translate
    • Cloud Registry
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Managed Service for GitLab
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Serverless Integrations
    • IoT Core
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Security Deck
RU
  • Правила тарификации
    • Аутентификация
      • Overview
        • Overview
        • List
        • Create
  • Аудитные логи Audit Trails
  • История изменений

В этой статье:

  • gRPC request
  • ListCommentsRequest
  • ListCommentsResponse
  • Comment
  • Actor
  • Subject
  • Sensor
  1. Справочник API
  2. gRPC (англ.)
  3. Comment
  4. List

Security Deck Alerts API, gRPC: CommentService.List

Статья создана
Yandex Cloud
Обновлена 3 февраля 2026 г.
Открыть в Markdown
  • gRPC request
  • ListCommentsRequest
  • ListCommentsResponse
  • Comment
  • Actor
  • Subject
  • Sensor

List comments.

gRPC requestgRPC request

rpc List (ListCommentsRequest) returns (ListCommentsResponse)

ListCommentsRequestListCommentsRequest

{
  "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.

ListCommentsResponseListCommentsResponse

{
  "comments": [
    {
      "id": "string",
      "alert_id": "string",
      "created_by": {
        // Includes only one of the fields `subject`, `sensor`
        "subject": {
          "id": "string"
        },
        "sensor": {
          "id": "string"
        }
        // end of the list of possible fields
      },
      "create_time": "google.protobuf.Timestamp",
      "updated_by": {
        // Includes only one of the fields `subject`, `sensor`
        "subject": {
          "id": "string"
        },
        "sensor": {
          "id": "string"
        }
        // end of the list of possible fields
      },
      "update_time": "google.protobuf.Timestamp",
      "text": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

comments[]

Comment

Requested comments.

next_page_token

string

Token for the next results page.

CommentComment

A comment.

Field

Description

id

string

Comment ID.

alert_id

string

ID of the alert the comment is for.

created_by

Actor

Who created the comment.

create_time

google.protobuf.Timestamp

Comment creation date.

updated_by

Actor

Who modified the comment last.
Optional. Not present if comment was not modified after initial creation.

update_time

google.protobuf.Timestamp

When was the comment last modified.
Optional. Not present if comment was not modified after initial creation.

text

string

The comment contents. Yandex Flavored Markdown.

ActorActor

Information about an entity that performed an action (created an alert, added a comment, etc.).

Field

Description

subject

Subject

Action was performed by a specific Cloud subject.

Includes only one of the fields subject, sensor.

sensor

Sensor

Action was performed by (or on behalf of) an alert provider system (aka sensor)

Includes only one of the fields subject, sensor.

SubjectSubject

Cloud subject.

Field

Description

id

string

Subject ID.

SensorSensor

Alert provider system (aka sensor).

Field

Description

id

string

Sensor ID.

Была ли статья полезна?

Предыдущая
Overview
Следующая
Create
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»