AppSec configurations
akamai_datastream_appsec_configs
Get a list of security configurations available to use with a data stream.
data "akamai_datastream_appsec_configs" "my_appsec_configs" {
group_id = "12345"
contract_id = "C-0N7RAC7"
}
output "my_appsec_configs" {
value = data.akamai_datastream_appsec_configs.my_appsec_configs
}my_appsec_configs = {
app_sec_configs = [
{
file_type = "WAF"
id = 12345
latest_version = 5
name = "my-security-config-1"
production_version = 4
target_product = "KSD"
},
{
file_type = "WAF"
id = 98765
latest_version = 2
name = "my-security-config-2"
production_version = 1
target_product = "KSD"
},
]
contract_id = "C-0N7RAC7"
group_id = "12345"
id = "a1bc23de4fg567hi8jkl9mn0op"
}Arguments
Provide your group and contract IDs to get information about available security configurations.
| Argument | Required | Description |
|---|---|---|
group_id | ✔️ | Your group ID. |
contract_id | ✔️ | Your contract ID. |
Attributes
Returned to you is an app_sec_configs list that contains details about your security configurations.
| Attribute | Description |
|---|---|
id | A security configuration's ID. |
name | A security configuration's name. |
file_type | The security configuration's file type. Possible values are:
|
latest_version | The version number for the security configuration's latest version. |
production_version | The version number of the security configuration on the production network. |
target_product | The product targeted by the security configuration. |
