User risk response strategy

akamai_apr_user_risk_response_strategy

📘

Hello. 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 user risk response strategy.

data "akamai_apr_user_risk_response_strategy" "my_strategy" {
   config_id = 12345
 }

output "my_strategy" {
  value = data.akamai_apr_user_risk_response_strategy.my_strategy
}
my_apr_settings = {
  config_id = 12345
  id        = "12345"
  json      = jsonencode(
    {
      metadata = {
        configId      = 12345
        configVersion = 1
      }
      traffic  = {
        inline           = {
          aggressive = {
            threshold = 90
          }
          cautious   = {
            threshold = 30
          }
          strict     = {
            threshold = 70
          }
        }
        nativeSdkAndroid = {
          aggressive = {
            threshold = 90
          }
          cautious   = {
            threshold = 30
          }
          strict     = {
            threshold = 70
          }
        }
        nativeSdkIos     = {
          aggressive = {
            threshold = 90
          }
          cautious   = {
            threshold = 30
          }
          strict     = {
            threshold = 70
          }
        }
        standard         = {
          aggressive = {
            threshold = 90
          }
          cautious   = {
            threshold = 30
          }
          strict     = {
            threshold = 70
          }
        }
      }
    }
  )
}

Argument

Pass a security configuration's config_id in the data block to get details about your response strategy.

Attributes

Returned to you is a jsonencoded list of your traffic telemetry types and their thresholds.

Note: There is an id attribute returned. It is an ID for the run of the data source and is not needed downstream anywhere.

AttributeDescription
config_idYour security configuration's ID.
metadataData about your security configuration. Contains:
  • config_id. Your security configuration's ID.
  • config_version. The security configuration's version.
  • security_policy_id. Your security policy's ID.
jsonThe response strategy per telemetry type. Contains:
  • inline. Attaches user telemetry directly to the protected request without using a first-party cookie. Contains:
    • aggressive. Aggressive response settings object with a property of threshold set to a default of 90. Available range is 2-100.
    • cautious. Cautious response settings object with a property of threshold set to a default of 30. Available range is 0-98.
    • strict. Strict response settings object with a property of threshold set to a default of 50. Available range is 1-99.
  • standard. Uses first-party cookies to associate and transmit user behavior data.
    Important:The requesting page and protected resource need to be on the same domain as the cookie is limited to a single domain.
    Contains:
    • aggressive. Aggressive response settings object with a property of threshold set to a default of 90. Available range is 2-100.
    • cautious. Cautious response settings object with a property of threshold. Available range is 0-98.
    • strict. Strict response settings object with a property of threshold set to a default of 70. Available range is 1-99.
  • nativeSdkAndroid. Attaches telemetry directly from a native Android mobile application. Contains:
    • aggressive. Aggressive response settings object with a property of threshold set to a default of 90. Available range is 2-100.
    • cautious. Cautious response settings object with a property of threshold set to a default of 30. Available range is 0-98.
    • strict. Strict response settings object with a property of threshold set to a default of 70. Available range is 1-99.
  • nativeSdkIos.. Attaches telemetry traffic directly from a native iOS mobile application. Contains:
    • aggressive. Aggressive response settings object with a property of threshold set to a default of 90. Available range is 2-100.
    • cautious. Cautious response settings object with a property of threshold set to a default of 30. Available range is 0-98.
    • strict. Strict response settings object with a property of threshold set to a default of 70. Available range is 1-99.