{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akamai: Application Security Activation history Security policy: Evaluation rules API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Security policy: Evaluation rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Akamai API Security List Evaluation Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/appsec/v1/configs/:configId/versions/:versionNumber/security-policies/:policyId/eval-rules",
            "params": [
              {
                "name": "policyId",
                "value": "{{policyId}}",
                "type": "path",
                "description": "A unique identifier for a security policy."
              },
              {
                "name": "versionNumber",
                "value": "{{versionNumber}}",
                "type": "path",
                "description": "A unique identifier for each version of a configuration."
              },
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each configuration."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "Return the rules available for evaluation and their actions. _Products:_ Kona Site Defender, App & API Protector with the Advanced Security module."
        },
        {
          "info": {
            "name": "Akamai API Security Get the Action of an Evaluation Rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/appsec/v1/configs/:configId/versions/:versionNumber/security-policies/:policyId/eval-rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "{{ruleId}}",
                "type": "path",
                "description": "A unique identifier for rule."
              },
              {
                "name": "policyId",
                "value": "{{policyId}}",
                "type": "path",
                "description": "A unique identifier for a security policy."
              },
              {
                "name": "versionNumber",
                "value": "{{versionNumber}}",
                "type": "path",
                "description": "A unique identifier for each version of a configuration."
              },
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each configuration."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "Return the action for a specific rule you want to evaluate. This applies to both ASE auto and ASE manual upgrade modes. You may need additional permissions to add or update rule actions in `ASE_AUTO` mode. _Products:_ Kona Site Defender, App & API Protector with the Advanced Security module."
        },
        {
          "info": {
            "name": "Akamai API Security Modify the Action of an Evaluation Rule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{hostname}/appsec/v1/configs/:configId/versions/:versionNumber/security-policies/:policyId/eval-rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "{{ruleId}}",
                "type": "path",
                "description": "A unique identifier for rule."
              },
              {
                "name": "policyId",
                "value": "{{policyId}}",
                "type": "path",
                "description": "A unique identifier for a security policy."
              },
              {
                "name": "versionNumber",
                "value": "{{versionNumber}}",
                "type": "path",
                "description": "A unique identifier for each version of a configuration."
              },
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each configuration."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the action for a specific rule you want to evaluate. Like your current rules, actions are `alert` to record the trigger of the event, `deny` to block the request, or `none` to take no action. This applies to both ASE auto and ASE manual upgrade modes. You may need additional permissions to add or update rule actions in `ASE_AUTO` mode. _Products:_ Kona Site Defender, App & API Protector with the Advanced Security module."
        }
      ]
    }
  ],
  "bundled": true
}