naftiko: 1.0.0-alpha2 info: label: 'Akamai: Application Security API — WAF rules: General settings' description: 'Akamai: Application Security API — WAF rules: General settings. 11 operations. Lead operation: Akamai List rules. Self-contained Naftiko capability covering one Akamai business surface.' tags: - Akamai - Application Security - 'WAF rules: General settings' created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: AKAMAI_API_KEY: AKAMAI_API_KEY capability: consumes: - type: http namespace: appsec-waf-rules-general-settings baseUri: https://{hostname}/appsec/v1 description: 'Akamai: Application Security API — WAF rules: General settings business capability. Self-contained, no shared references.' resources: - name: configs-configId-versions-versionNumber-security-policies-po path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules operations: - name: getget-policy-rules method: GET description: List rules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: putput-policy-rules method: PUT description: Upgrade KRS ruleset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-po path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/upgrade-details operations: - name: getget-rules-upgrade-details method: GET description: Get upgrade details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: configs-configId-versions-versionNumber-security-policies-po path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/{ruleId} operations: - name: getget-rule method: GET description: Get the action for a rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: putput-rule method: PUT description: Modify the action for a rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-po path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/{ruleId}/condition-exception operations: - name: getget-rule-condition-exception method: GET description: Get the conditions and exceptions of a rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: putput-rule-condition-exception method: PUT description: Modify the conditions and exceptions of a rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-po path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/threat-intel operations: - name: getget-rules-threat-intel method: GET description: Get adaptive intelligence settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: putput-rules-threat-intel method: PUT description: Modify adaptive intelligence settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-po path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/web-application-firewall/ruleset operations: - name: getget-waf-policy-ruleset-composite method: GET description: Get a security policy's rule set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: patchpatch-waf-policy-ruleset-composite method: PATCH description: Modify a security policy's rule set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true