{ "opencollection": "1.0.0", "info": { "name": "Akamai: API Endpoint Definition Access tokens Security policy: Evaluation rules API", "version": "2" }, "items": [ { "info": { "name": "Security policy: Evaluation rules", "type": "folder" }, "items": [ { "info": { "name": "List evaluation rules", "type": "http" }, "http": { "method": "GET", "url": "https://{hostname}/api-definitions/v2/configs/:configId/versions/:versionNumber/security-policies/:policyId/eval-rules", "params": [ { "name": "policyId", "value": "", "type": "path", "description": "A unique identifier for a security policy." }, { "name": "versionNumber", "value": "", "type": "path", "description": "A unique identifier for each version of a configuration." }, { "name": "configId", "value": "", "type": "path", "description": "A unique identifier for each configuration." }, { "name": "accountSwitchKey", "value": "", "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": "__Kona Site Defender__, __App & API Protector with the Advanced Security module__ Return the rules available for evaluation and their actions." }, { "info": { "name": "Get the action of an evaluation rule", "type": "http" }, "http": { "method": "GET", "url": "https://{hostname}/api-definitions/v2/configs/:configId/versions/:versionNumber/security-policies/:policyId/eval-rules/:ruleId", "params": [ { "name": "ruleId", "value": "", "type": "path", "description": "A unique identifier for rule." }, { "name": "policyId", "value": "", "type": "path", "description": "A unique identifier for a security policy." }, { "name": "versionNumber", "value": "", "type": "path", "description": "A unique identifier for each version of a configuration." }, { "name": "configId", "value": "", "type": "path", "description": "A unique identifier for each configuration." }, { "name": "accountSwitchKey", "value": "", "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": "__Kona Site Defender__, __App & API Protector with the Advanced Security module__ 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." }, { "info": { "name": "Modify the action of an evaluation rule", "type": "http" }, "http": { "method": "PUT", "url": "https://{hostname}/api-definitions/v2/configs/:configId/versions/:versionNumber/security-policies/:policyId/eval-rules/:ruleId", "params": [ { "name": "ruleId", "value": "", "type": "path", "description": "A unique identifier for rule." }, { "name": "policyId", "value": "", "type": "path", "description": "A unique identifier for a security policy." }, { "name": "versionNumber", "value": "", "type": "path", "description": "A unique identifier for each version of a configuration." }, { "name": "configId", "value": "", "type": "path", "description": "A unique identifier for each configuration." }, { "name": "accountSwitchKey", "value": "", "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": "__Kona Site Defender__, __App & API Protector with the Advanced Security module__ 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." } ] } ], "bundled": true }