Eval

akamai_appsec_eval

Issues an evaluation mode command (Start, Stop, Restart, Update, or Complete) to a security configuration.

Evaluation mode is used for testing and fine-tuning your Kona Rule Set rules and configuration settings.

In evaluation mode rules are triggered by events, but the only thing those rules do is record the actions they would have taken had the event occurred on the production network.

Note: This resource requires your account uses Adaptive Security Engine.

resource "akamai_appsec_eval" "my_eval_operation" {
  config_id          = 12345
  security_policy_id = "abcd_1234567"
  eval_operation     = "START"
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
security_policy_id✔️A security policy ID.
eval_operation✔️Evaluation mode operation. Possible values are:
  • START. Starts evaluation mode. By default, evaluation mode runs for four weeks.
  • STOP. Pauses evaluation mode without upgrading the Kona Rule Set on your production network.
  • RESTART. Resumes an evaluation trial that was paused by using the STOP command.
  • UPDATE. Upgrades the Kona Rule Set rules in the evaluation ruleset to their latest versions.
  • COMPLETE. Concludes the evaluation period (even if the four-week trial mode is not over) and automatically upgrades the Kona Rule Set on your production network to the same rule set you just finished evaluating.
eval_modeSet to ASE_AUTO to have your Kona Rule Set rules automatically updated during the evaluation period; set to ASE_MANUAL if you want to manually update your evaluation rules.

Attributes

AttributeDescription
evaluating_rulesetVersioning information for the Kona Rule Set being evaluated.
expiration_dateDate when the evaluation period ends.
current_rulesetVersioning information for the Kona Rule Set currently in use on the production network.
eval_statusIf true, an evaluation is currently in progress.