Rule upgrade
akamai_appsec_rule_upgrade
Upgrades your Kona Rule Set (KRS) rules to the most recent version. Akamai periodically updates these rules to keep protections current. However, the rules you use in your security policies are not automatically upgraded to the latest version if you are running in KRS or ASE_MANUAL mode. (These rules do update automatically when you have mode set to AAG or ASE_AUTO.) This resource upgrades your Kona Rule Set rules for organizations running in KRS or ASE_MANUAL mode.
Note: This resource requires your account uses Adaptive Security Engine.
Before you upgrade it's recommended that you use theakamai_appsec_rule_upgrade_details data source to determine which rules and rule sets (if any) have available upgrades. In addition to that, you might want to test the new rules in evaluation mode. In evaluation mode, rules are triggered the same way they are on the production network; however, the only action taken by the rules is to record how they would have responded had they been active on the production network. This enables you to see how the rules interact with your production network without actually making changes to that network.
resource "akamai_appsec_rule_upgrade" "my_rule_upgrade" {
config_id = 12345
security_policy_id = "abcd_1234567"
}
Arguments
Argument | Required | Description |
---|---|---|
config_id | ✔️ | A security configuration ID. |
security_policy_id | ✔️ | A security policy ID. |
upgrade_mode | Modifies the upgrade type for the Adaptive Security Engine. Possible values are:
|
Attributes
Attribute | Description |
---|---|
current_ruleset | Versioning information for your current KRS rule set. |
mode | Specifies the current upgrade mode type. Possible values are:
|
eval_status | Returns enabled if an evaluation is currently in progress; otherwise returns disabled. |
Updated 10 days ago