GuideReference
TrainingSupportCommunity
Guide

PII learning

akamai_appsec_advanced_setttings_pii_learning

🚧

Beta

This is a beta version of PII learning. Use of this version is as is and as available while still in testing and development.

Get the PII learning enablement status for a given security configuration.

data "akamai_appsec_advanced_settings_pii_learning" "my_pii_learning" {
  config_id = 12345
}

output "my_pii_learning" {
  value = data.akamai_appsec_advanced_settings_pii_learning.my_pii_learning
}
Changes to Outputs:
  + my_pii_learning = {
      + config_id   = 12345
      + id          = "12345"
      + json        = jsonencode(
            {
              + enablePiiLearning = false
            }
        )
      + output_text = <<-EOT
            +-------------------------------+
            | advancedSettingsPIILearningDS |
            +-------------------------------+
            | ENABLE PII LEARNING           |
            +-------------------------------+
            | false                         |
            +-------------------------------+
        EOT
    }

Arguments

Pass your security configuration's ID in the value to config_id to get your PII learning setting.

Attributes

Returned to you is a computed PII learning value in both JSON and output text formats.