Custom rules
akamai_appsec_custom_rules
Returns a list of the custom rules defined for a security configuration; you can also use this resource to return information for an individual custom rule. Custom rules are rules you have created yourself.
data "akamai_appsec_custom_rules" "my_custom_rules" {
config_id = 12345
}
output "custom_rules_json" {
value = data.akamai_appsec_custom_rules.my_custom_rules
}
Arguments
Argument | Required | Description |
---|---|---|
config_id | ✔️ | A security configuration ID. |
custom_rule_id | Unique identifier of the custom rule you want to return information for. If not included, information is returned for all your custom rules. |
Attributes
Attribute | Description |
---|---|
output_text | Tabular report showing the ID and name of the custom rule information |
json | JSON-formatted report of the custom rule information. |
Updated 9 days ago