Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • sws_advanced_rate_limiter_profile
          • sws_domain
          • sws_load_balancer
          • sws_match_list
          • sws_security_profile
          • sws_waf_profile
          • sws_waf_rule_set_descriptor

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

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

yandex_sws_waf_rule_set_descriptor (DataSource)

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

Example usageExample usage

//
// Get information about existing SWS WAF Rule Descriptor
//
data "yandex_sws_waf_rule_set_descriptor" "owasp4" {
  name    = "OWASP Core Ruleset"
  version = "4.0.0"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • id (String). ID of the rule set
  • name (Required)(String). Name of the RuleSetDescriptor resource to return.
  • rule_set_descriptor_id (Read-Only) (String). ID of the rule set
  • rules [Block]. List of rules
    • anomaly_score (Read-Only) (Number). Numeric anomaly value, i.e., a potential attack indicator.
      The higher this value, the more likely it is that the request that satisfies the rule is an attack.
      See documentation.
    • id (String). ID of the rule
    • paranoia_level (Read-Only) (Number). Paranoia level classifies rules according to their aggression.
      The higher the paranoia level, the better your protection, but also the higher the probability of WAF false positives.
      See documentation.
    • rule_set_descriptor_id (Read-Only) (String). ID of the rule
  • timeouts [Block].
    • create (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    • delete (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    • read (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    • update (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
  • version (Required)(String). Version of the RuleSetDescriptor resource to return.

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

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