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 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
    • Yandex SIEM
    • 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 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • audit_trails_trail

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

  • Example usage
  • Arguments & Attributes Reference
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Audit Trails
  4. Data Sources
  5. audit_trails_trail

yandex_audit_trails_trail (DataSource)

Статья создана
Yandex Cloud
Обновлена 23 сентября 2026 г.
Открыть в Markdown
  • Example usage
  • Arguments & Attributes Reference

Get information about a trail. For information about the trail concept, see official documentation.

Example usageExample usage

//
// Get information about existing Audit Trails Trail
//
data "yandex_audit_trails_trail" "basic-trail" {
  trail_id = "cnpqe**********sh835"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • data_stream_destination (Read-Only) (List Of Object). Structure describing destination data stream of the trail. Mutually exclusive with logging_destination and storage_destination.
    • codec .
    • database_id .
    • stream_name .
  • description (Read-Only) (String). The resource description.
  • filter (Read-Only) (Set Of Object). Structure is deprecated. Use filtering_policy instead.
    • event_filters .
      • categories .
        • plane .
        • type .
      • path_filter .
        • any_filter .
          • resource_id .
          • resource_type .
        • some_filter .
          • any_filters .
            • resource_id .
            • resource_type .
          • resource_id .
          • resource_type .
      • service .
    • path_filter .
      • any_filter .
        • resource_id .
        • resource_type .
      • some_filter .
        • any_filters .
          • resource_id .
          • resource_type .
        • resource_id .
        • resource_type .
  • filtering_policy (Read-Only) (List Of Object). Structure describing event filtering process for the trail. Mutually exclusive with filter. At least one of the management_events_filter or data_events_filter fields will be filled.
    • data_events_filter .
      • dns_filter .
        • include_nonrecursive_queries .
      • exclude_rule .
        • condition .
          • field .
          • operator .
          • values .
      • excluded_events .
      • include_rule .
        • condition .
          • field .
          • operator .
          • values .
      • included_events .
      • resource_scope .
        • resource_id .
        • resource_type .
      • service .
    • management_events_filter .
      • exclude_rule .
        • condition .
          • field .
          • operator .
          • values .
      • include_rule .
        • condition .
          • field .
          • operator .
          • values .
      • resource_scope .
        • resource_id .
        • resource_type .
  • folder_id (Read-Only) (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • id (String).
  • labels (Read-Only) (Map Of String). A set of key/value label pairs which assigned to resource.
  • logging_destination (Read-Only) (List Of Object). Structure describing destination log group of the trail. Mutually exclusive with storage_destination and data_stream_destination.
    • log_group_id .
  • name (Read-Only) (String). The resource name.
  • service_account_id (Read-Only) (String). Service account which linked to the resource.
  • status (Read-Only) (String). Status of this trail.
  • storage_destination (Read-Only) (List Of Object). Structure describing destination bucket of the trail. Mutually exclusive with logging_destination and data_stream_destination.
    • bucket_name .
    • object_prefix .
  • trail_id (Required)(String). Trail ID.

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

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