Reputation profile action
akamai_appsec_reputation_profile_action
Modifies the action taken when a reputation profile is triggered.
Scopes: Reputation profile
Example
terraform {
required_providers {
akamai = {
source = "akamai/akamai"
}
}
}
provider "akamai" {
edgerc = "~/.edgerc"
}
data "akamai_appsec_configuration" "configuration" {
name = "Documentation"
}
resource "akamai_appsec_reputation_profile_action" "appsec_reputation_profile_action" {
config_id = data.akamai_appsec_configuration.configuration.config_id
security_policy_id = "gms1_134637"
reputation_profile_id = 130713
action = "alert"
}
output "reputation_profile_id" {
value = akamai_appsec_reputation_profile_action.appsec_reputation_profile_action.reputation_profile_id
}
output "reputation_profile_action" {
value = akamai_appsec_reputation_profile_action.appsec_reputation_profile_action.action
}
Argument reference
This resource supports the following arguments:
-
config_id
(Required). Unique identifier of the security configuration associated with the reputation profile action being modified. -
security_policy_id
(Required). Unique identifier of the security policy associated with the reputation profile action being modified. -
reputation_profile_id
(Required). Unique identifier of the reputation profile whose action is being modified. -
action
(Required). Action taken any time the reputation profile is triggered. Allows values are:- alert. Record the event.
- deny. Block the request.
- denycustom{custom_deny_id}. Take the action specified by the custom deny.
- none. Take no action.
Updated about 2 years ago