naftiko: 1.0.0-alpha2 info: label: 'Akamai: Application Security API — WAF rules: General settings' description: 'Akamai: Application Security API — WAF rules: General settings. 9 operations. Lead operation: Akamai API Security List Rules. Self-contained Naftiko capability covering one Akamai Api Security business surface.' tags: - Akamai Api Security - 'WAF rules: General settings' created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AKAMAI_API_SECURITY_API_KEY: AKAMAI_API_SECURITY_API_KEY capability: consumes: - type: http namespace: akamai-api-security-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-policyId-rules path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules operations: - name: getpolicyrules method: GET description: Akamai API Security 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-w - name: putpolicyrules method: PUT description: Akamai API Security 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-w - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-policyId-rules-threat- path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/threat-intel operations: - name: getrulesthreatintel method: GET description: Akamai API Security 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-w - name: putrulesthreatintel method: PUT description: Akamai API Security 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-w - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-policyId-rules-upgrade path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/upgrade-details operations: - name: getrulesupgradedetails method: GET description: Akamai API Security 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-w - name: configs-configId-versions-versionNumber-security-policies-policyId-rules-ruleId path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/{ruleId} operations: - name: getrule method: GET description: Akamai API Security 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-w - name: putrule method: PUT description: Akamai API Security 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-w - name: body in: body type: object description: Request body (JSON). required: true - name: configs-configId-versions-versionNumber-security-policies-policyId-rules-ruleId- path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/{ruleId}/condition-exception operations: - name: getruleconditionexception method: GET description: Akamai API Security 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-w - name: putruleconditionexception method: PUT description: Akamai API Security 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-w - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: akamai-api-security-waf-rules-general-settings-rest port: 8080 description: 'REST adapter for Akamai: Application Security API — WAF rules: General settings. One Spectral-compliant resource per consumed operation, prefixed with /v1.' resources: - path: /v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules name: configs-configid-versions-versionnumber-security-policies-policyid-rules description: REST surface for configs-configId-versions-versionNumber-security-policies-policyId-rules. operations: - method: GET name: getpolicyrules description: Akamai API Security List Rules call: akamai-api-security-waf-rules-general-settings.getpolicyrules with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putpolicyrules description: Akamai API Security Upgrade KRS Ruleset call: akamai-api-security-waf-rules-general-settings.putpolicyrules with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/threat-intel name: configs-configid-versions-versionnumber-security-policies-policyid-rules-threat description: REST surface for configs-configId-versions-versionNumber-security-policies-policyId-rules-threat-. operations: - method: GET name: getrulesthreatintel description: Akamai API Security Get Adaptive Intelligence Settings call: akamai-api-security-waf-rules-general-settings.getrulesthreatintel with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putrulesthreatintel description: Akamai API Security Modify Adaptive Intelligence Settings call: akamai-api-security-waf-rules-general-settings.putrulesthreatintel with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/upgrade-details name: configs-configid-versions-versionnumber-security-policies-policyid-rules-upgrade description: REST surface for configs-configId-versions-versionNumber-security-policies-policyId-rules-upgrade. operations: - method: GET name: getrulesupgradedetails description: Akamai API Security Get Upgrade Details call: akamai-api-security-waf-rules-general-settings.getrulesupgradedetails with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/{ruleid} name: configs-configid-versions-versionnumber-security-policies-policyid-rules-ruleid description: REST surface for configs-configId-versions-versionNumber-security-policies-policyId-rules-ruleId. operations: - method: GET name: getrule description: Akamai API Security Get the Action for a Rule call: akamai-api-security-waf-rules-general-settings.getrule with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putrule description: Akamai API Security Modify the Action for a Rule call: akamai-api-security-waf-rules-general-settings.putrule with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/{ruleid}/condition-exception name: configs-configid-versions-versionnumber-security-policies-policyid-rules-ruleid description: REST surface for configs-configId-versions-versionNumber-security-policies-policyId-rules-ruleId-. operations: - method: GET name: getruleconditionexception description: Akamai API Security Get the Conditions and Exceptions of a Rule call: akamai-api-security-waf-rules-general-settings.getruleconditionexception with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putruleconditionexception description: Akamai API Security Modify the Conditions and Exceptions of a Rule call: akamai-api-security-waf-rules-general-settings.putruleconditionexception with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: akamai-api-security-waf-rules-general-settings-mcp port: 9090 transport: http description: 'MCP adapter for Akamai: Application Security API — WAF rules: General settings. One tool per consumed operation, routed inline through this capability''s consumes block.' tools: - name: akamai-api-security-list-rules description: Akamai API Security List Rules hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.getpolicyrules with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-upgrade-krs description: Akamai API Security Upgrade KRS Ruleset hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.putpolicyrules with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-get-adaptive description: Akamai API Security Get Adaptive Intelligence Settings hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.getrulesthreatintel with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-modify-adaptive description: Akamai API Security Modify Adaptive Intelligence Settings hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.putrulesthreatintel with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-get-upgrade description: Akamai API Security Get Upgrade Details hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.getrulesupgradedetails with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-get-action description: Akamai API Security Get the Action for a Rule hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.getrule with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-modify-action description: Akamai API Security Modify the Action for a Rule hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.putrule with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-get-conditions description: Akamai API Security Get the Conditions and Exceptions of a Rule hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.getruleconditionexception with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-modify-conditions description: Akamai API Security Modify the Conditions and Exceptions of a Rule hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-waf-rules-general-settings.putruleconditionexception with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $.