Evasive path match
akamai_appsec_advanced_settings_evasive_path_match
Use the akamai_appsec_advanced_settings_evasive_path_match
data source to retrieve information about the evasive path match for a configuration. This operation applies at the configuration level, and therefore applies to all policies within a configuration. You may retrieve these settings for a particular policy by specifying the policy using the security_policy_id
parameter.
Scopes: Security configuration; security policy
Example
provider "akamai" {
edgerc = "~/.edgerc"
}
// USE CASE: user wants to view the advanced settings evasive path match in a given security configuration
// when policy is set - /appsec/v1/configs/{configId}/versions/{versionNum}/security-policies/{policyId}/advanced-settings/evasive-path-match
// with out policy - /appsec/v1/configs/{configId}/versions/{versionNum}/advanced-settings/evasive-path-match
data "akamai_appsec_configuration" "configuration" {
name = var.security_configuration
}
data "akamai_appsec_advanced_settings_evasive_path_match" "evasive_path_match" {
config_id = data.akamai_appsec_configuration.configuration.config_id
}
output "advanced_settings_evasive_path_match_output" {
value = data.akamai_appsec_advanced_settings_evasive_path_match.evasive_path_match.output_text
}
output "advanced_settings_evasive_path_match_json" {
value = data.akamai_appsec_advanced_settings_evasive_path_match.evasive_path_match.json
}
data "akamai_appsec_advanced_settings_evasive_path_match" "policy_override" {
config_id = data.akamai_appsec_configuration.configuration.config_id
security_policy_id = var.security_policy_id
}
output "advanced_settings_policy_evasive_path_match_output" {
value = data.akamai_appsec_advanced_settings_evasive_path_match.policy_override.output_text
}
output "advanced_settings_policy_evasive_path_match_json" {
value = data.akamai_appsec_advanced_settings_evasive_path_match.policy_override.json
}
Argument reference
The following arguments are supported:
config_id
- (Required) The configuration ID.security_policy_id
- (Optional) The ID of the security policy to use.
Attributes reference
In addition to the arguments above, the following attributes are exported:
json
- A JSON-formatted list of information about the evasive path match settings.output_text
- A tabular display showing the evasive path match settings.
See also
Updated 10 months ago