Content protection JavaScript injection rule
akamai_botman_content_protection_javascript_injection_rule
Get details about your JavaScript injection rules.
// Get all JavaScript injection rules
data "akamai_botman_content_protection_javascript_injection_rule" "my_javascript_injection_rules" {
config_id = 12345
security_policy_id = "abc1_12345"
}
output "my_javascript_injection_rules" {
value = data.akamai_botman_content_protection_javascript_injection_rule.my_javascript_injection_rules
}
// Get a specific JavaScript injection rule
data "akamai_botman_content_protection_javascript_injection_rule" "my_javascript_injection_rule" {
config_id = 12345
security_policy_id = "abc1_12345"
content_protection_javascript_injection_rule_id = "abcd1ef2-345g-6789-h012-34ij5kl6mn7o"
}
output "my_javascript_injection_rule" {
value = data.akamai_botman_content_protection_javascript_injection_rule.my_javascript_injection_rule
}
Arguments
Argument | Required | Description |
---|---|---|
config_id | ✔️ | The security configuration's ID. |
security_policy_id | ✔️ | The security policy's ID. |
content_protection_javascript_injection_rule_id | The JavaScript injection rule's ID. If omitted, all JavaScript injection rules are returned. |
Attributes
Returned to you is a JSON-encoded list of your content protection JavaScript injection rules.
Attribute | Description |
---|---|
json | A JSON-encoded list of information about the API endpoints. |
Updated 5 months ago