yandex_sws_waf_rule_set_descriptor (DataSource)
Статья создана
Обновлена 12 февраля 2026 г.
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 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 Reference
-
id(String). -
name(String). Name of the rule set. -
rule_set_descriptor_id(String). ID of the rule set. -
rules(Read-Only) (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.
anomaly_score.id.paranoia_level.
-
version(Required)(String). Version of the rule set.