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

ArgumentRequiredDescription
config_id✔️A security configuration ID.
custom_rule_idUnique identifier of the custom rule you want to return information for. If not included, information is returned for all your custom rules.

Attributes

AttributeDescription
output_textTabular report showing the ID and name of the custom rule information
jsonJSON-formatted report of the custom rule information.