Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • sws_advanced_rate_limiter_profile
          • sws_security_profile
          • sws_waf_profile
          • sws_waf_rule_set_descriptor

In this article:

  • Example usage
  • Schema
  • Required
  • Optional
  • Read-Only
  • Nested Schema for rules
  1. Terraform reference
  2. Resources
  3. Smart Web Security (SWS)
  4. Data Sources
  5. sws_waf_rule_set_descriptor

yandex_sws_waf_rule_set_descriptor (Data Source)

Written by
Yandex Cloud
Updated at August 7, 2025
  • Example usage
  • Schema
    • Required
    • Optional
    • Read-Only
    • Nested Schema for rules

Get information about WAF rule sets. For more information, see the official documentation.

This data source is used to get list of rules that can be used by yandex_sws_waf_profile.

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"
}

SchemaSchema

RequiredRequired

  • version (String) Version of the rule set.

OptionalOptional

  • name (String) Name of the rule set.
  • rule_set_descriptor_id (String) ID of the rule set.

Read-OnlyRead-Only

  • id (String) The ID of this resource.
  • rules (List of Object) List of rules.
    • anomaly_score (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.
    • paranoia_level (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.
    • id (String) The rule ID. (see below for nested schema)

Nested Schema for Nested Schema for rules

Read-Only:

  • anomaly_score (Number)
  • id (String)
  • paranoia_level (Number)

Was the article helpful?

Previous
sws_waf_profile
Next
sws_advanced_rate_limiter_profile
© 2025 Direct Cursus Technology L.L.C.