naftiko: 1.0.0-alpha2 info: label: 'Akamai: Application Security API — Shared resources: Custom rules' description: 'Akamai: Application Security API — Shared resources: Custom rules. 5 operations. Lead operation: Akamai API Security Create a Custom Rule. Self-contained Naftiko capability covering one Akamai Api Security business surface.' tags: - Akamai Api Security - 'Shared resources: Custom rules' 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-shared-resources-custom-rules baseUri: https://{hostname}/appsec/v1 description: 'Akamai: Application Security API — Shared resources: Custom rules business capability. Self-contained, no shared references.' resources: - name: configs-configId-custom-rules path: /configs/{configId}/custom-rules operations: - name: postconfigcustomrules method: POST description: Akamai API Security Create a Custom 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: getconfigscustomrules method: GET description: Akamai API Security List Custom 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: configs-configId-custom-rules-ruleId path: /configs/{configId}/custom-rules/{ruleId} operations: - name: getconfigcustomrule method: GET description: Akamai API Security Get a Custom 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: putconfigcustomrule method: PUT description: Akamai API Security Modify a Custom 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: deleteconfigcustomrule method: DELETE description: Akamai API Security Remove a Custom 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 exposes: - type: rest namespace: akamai-api-security-shared-resources-custom-rules-rest port: 8080 description: 'REST adapter for Akamai: Application Security API — Shared resources: Custom rules. One Spectral-compliant resource per consumed operation, prefixed with /v1.' resources: - path: /v1/configs/{configid}/custom-rules name: configs-configid-custom-rules description: REST surface for configs-configId-custom-rules. operations: - method: POST name: postconfigcustomrules description: Akamai API Security Create a Custom Rule call: akamai-api-security-shared-resources-custom-rules.postconfigcustomrules with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getconfigscustomrules description: Akamai API Security List Custom Rules call: akamai-api-security-shared-resources-custom-rules.getconfigscustomrules with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/custom-rules/{ruleid} name: configs-configid-custom-rules-ruleid description: REST surface for configs-configId-custom-rules-ruleId. operations: - method: GET name: getconfigcustomrule description: Akamai API Security Get a Custom Rule call: akamai-api-security-shared-resources-custom-rules.getconfigcustomrule with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putconfigcustomrule description: Akamai API Security Modify a Custom Rule call: akamai-api-security-shared-resources-custom-rules.putconfigcustomrule with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteconfigcustomrule description: Akamai API Security Remove a Custom Rule call: akamai-api-security-shared-resources-custom-rules.deleteconfigcustomrule with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - type: mcp namespace: akamai-api-security-shared-resources-custom-rules-mcp port: 9090 transport: http description: 'MCP adapter for Akamai: Application Security API — Shared resources: Custom rules. One tool per consumed operation, routed inline through this capability''s consumes block.' tools: - name: akamai-api-security-create-custom description: Akamai API Security Create a Custom Rule hints: readOnly: false destructive: false idempotent: false call: akamai-api-security-shared-resources-custom-rules.postconfigcustomrules with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-list-custom description: Akamai API Security List Custom Rules hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-shared-resources-custom-rules.getconfigscustomrules with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-get-custom description: Akamai API Security Get a Custom Rule hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-shared-resources-custom-rules.getconfigcustomrule with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-modify-custom description: Akamai API Security Modify a Custom Rule hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-shared-resources-custom-rules.putconfigcustomrule with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-remove-custom description: Akamai API Security Remove a Custom Rule hints: readOnly: false destructive: true idempotent: true call: akamai-api-security-shared-resources-custom-rules.deleteconfigcustomrule with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $.