Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex Smart Web Security
  • Начало работы
    • Обзор
    • Профиль безопасности
    • Профили WAF
    • ARL (лимит на запросы)
    • Правила
    • Условия
    • Списки
    • Управление бот-трафиком
    • Защита доменов
    • Network Protection (защита от DDoS L3–L4)
    • Шаблоны ответов
    • Логирование
    • Квоты и лимиты
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
          • Overview
          • Get
          • List
          • Create
          • Update
          • Delete
  • Справочник метрик
  • Аудитные логи
  • История изменений

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

  • gRPC request
  • ListMatchListsRequest
  • ListMatchListsResponse
  • MatchList
  • Item
  1. Справочник API
  2. gRPC (англ.)
  3. SmartWebSecurity MatchList API
  4. MatchList
  5. List

SmartWebSecurity MatchList API, gRPC: MatchListService.List

Статья создана
Yandex Cloud
Обновлена 1 июля 2026 г.
Открыть в Markdown
  • gRPC request
  • ListMatchListsRequest
  • ListMatchListsResponse
  • MatchList
  • Item

Retrieves the list of MatchList resources in the specified folder.

gRPC requestgRPC request

rpc List (ListMatchListsRequest) returns (ListMatchListsResponse)

ListMatchListsRequestListMatchListsRequest

{
  "folder_id": "string"
}

Request message for MatchListService.List.

Field

Description

folder_id

string

Required field. ID of the folder to list match lists in.

ListMatchListsResponseListMatchListsResponse

{
  "lists": [
    {
      "id": "string",
      "folder_id": "string",
      "cloud_id": "string",
      "labels": "map<string, string>",
      "name": "string",
      "description": "string",
      "list_type": "ListType",
      "item_type": "ItemType",
      "items": [
        {
          "value": "string",
          "description": "string"
        }
      ],
      "created_at": "google.protobuf.Timestamp",
      "updated_at": "google.protobuf.Timestamp"
    }
  ]
}

Response message for MatchListService.List.

Field

Description

lists[]

MatchList

List of match list resources.

MatchListMatchList

A match list resource.

Field

Description

id

string

ID of the match list.

folder_id

string

ID of the folder that the match list belongs to.

cloud_id

string

ID of the cloud that the match list belongs to.

labels

object (map<string, string>)

Labels as key:value pairs. Maximum of 64 per resource.

The maximum string length in characters for each value is 63. The string length in characters for each key must be 1-63. Each key must match the regular expression [a-z][-_0-9a-z]*. Each value must match the regular expression [-_0-9a-z]*. No more than 64 per resource.

name

string

Required field. Name of the match list.

The string length in characters must be 1-50. Value must match the regular expression [a-zA-Z0-9][a-zA-Z0-9-_.]*.

description

string

Description of the match list.

The maximum string length in characters is 512.

list_type

enum ListType

Required field. Match list type.

  • MANAGED: Managed list type.
  • CUSTOM: Custom list type.

item_type

enum ItemType

Required field. Match list item type.

  • IP: IP list type.
  • BOT_NAME: Bot name list type.
  • BOT_CATEGORY: Bot category list type.
  • ASN: ASN list type.
  • STR: String list type.
  • REG_EXP: Regular expression list type.

items[]

Item

Match list items.

created_at

google.protobuf.Timestamp

Creation timestamp in RFC3339 text format.

updated_at

google.protobuf.Timestamp

Update timestamp in RFC3339 text format.

ItemItem

Item

Field

Description

value

string

Required field. Value of the item.

The maximum string length in characters is 256.

description

string

Description of the item.

The maximum string length in characters is 128.

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

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