WAF rule set
akamai_appsec_waf_ruleset
BetaHello. Just a note to let you know the underlying API on which this data source is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.
This status just means we've paused for a bit to get your feedback to make sure this data source works like you need and expect.
Get details about your Web Application Firewall (WAF) rules.
data "akamai_appsec_waf_ruleset" "my_ruleset" {
config_id = 12345
security_policy_id = "abcd_123456"
output "my_ruleset" {
value = data.akamai_appsec_waf_ruleset.my_ruleset
}my_ruleset = {
attack_groups = [
{
attack_group = "CMD",
attack_group_action = "alert",
condition_exception = "{}"
},
{
attack_group = "LFI",
attack_group_action = "alert",
condition_exception = {}
}
],
config_id = 12345,
rules = [
{
condition_exception = {},
rule_action = alert,
rule_id = 234567
},
{
condition_exception = {},
rule_action = alert,
rule_id = 345678
},
],
security_policy_id = "abcd_123456"
}Arguments
Pass a security configuration and security policy ID to get information about your rule set.
| Argument | Required | Description |
|---|---|---|
config_id | ✔️ | Your security configuration's ID. |
security_policy_id | ✔️ | Your security policy's ID. |
Attributes
Returned to you are high level details about your security policy's WAF rules.
| Argument | Description |
|---|---|
config_id |
Your security configuration's ID. |
security_policy_id |
Your security policy's ID. |
attack_groups |
Your attack group configuration. Contains:
|
rules |
List of rule objects including action and condition exceptions. Contains:
|
Updated 9 days ago
