User risk response strategy
akamai_apr_user_risk_response_strategy
Hello. Just a note to let you know the underlying API on which this resource 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 resource works like you need and expect.
Create and update a user risk response strategy.
resource "akamai_apr_user_risk_response_strategy" "my_strategy" {
config_id = 12345
user_risk_response_strategy = jsonencode(
{
"traffic" : {
"standard" : {
"cautious" : {
"threshold" : 0
},
"strict" : {
"threshold" : 51
},
"aggressive" : {
"threshold" : 66
}
},
"inline" : {
"cautious" : {
"threshold" : 0
},
"strict" : {
"threshold" : 51
},
"aggressive" : {
"threshold" : 76
}
},
"nativeSdkIos" : {
"cautious" : {
"threshold" : 0
},
"strict" : {
"threshold" : 51
},
"aggressive" : {
"threshold" : 76
}
},
"nativeSdkAndroid" : {
"cautious" : {
"threshold" : 0
},
"strict" : {
"threshold" : 51
},
"aggressive" : {
"threshold" : 76
}
}
}
}
)
}
my_strategy = {
config_id = 12345
id = "12345"
user_risk_response_strategy = jsonencode(
{
traffic = {
inline = {
aggressive = {
threshold = 66
}
cautious = {
threshold = 0
}
strict = {
threshold = 51
}
}
nativeSdkAndroid = {
aggressive = {
threshold = 76
}
cautious = {
threshold = 0
}
strict = {
threshold = 51
}
}
nativeSdkIos = {
aggressive = {
threshold = 76
}
cautious = {
threshold = 0
}
strict = {
threshold = 51
}
}
standard = {
aggressive = {
threshold = 76
}
cautious = {
threshold = 0
}
strict = {
threshold = 51
}
}
}
}
)
}
Argument
Pass all arguments ID to create a response strategy.
Argument | Required | Description |
---|---|---|
config_id | ✔️ | Your security configuration's ID. |
user_risk_response_strategy | ✔️ | The response strategy per telemetry type. Contains:
|
Attributes
There is no standard output for this resource as the changes are reflected in your state file. The attributes returned mirror the arguments.
Note: There is an
id
attribute. It is an ID for the run of the resource and is not needed downstream anywhere.
Updated 10 days ago