Akamai API Security · Capability

Akamai: Application Security API — WAF rules: General settings

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.

Run with Naftiko Akamai Api SecurityWAF rules: General settings

What You Can Do

GET
Getpolicyrules — Akamai API Security List Rules
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules
PUT
Putpolicyrules — Akamai API Security Upgrade KRS Ruleset
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules
GET
Getrulesthreatintel — Akamai API Security Get Adaptive Intelligence Settings
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/threat-intel
PUT
Putrulesthreatintel — Akamai API Security Modify Adaptive Intelligence Settings
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/threat-intel
GET
Getrulesupgradedetails — Akamai API Security Get Upgrade Details
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/upgrade-details
GET
Getrule — Akamai API Security Get the Action for a Rule
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/{ruleid}
PUT
Putrule — Akamai API Security Modify the Action for a Rule
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/{ruleid}
GET
Getruleconditionexception — Akamai API Security Get the Conditions and Exceptions of a Rule
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/{ruleid}/condition-exception
PUT
Putruleconditionexception — Akamai API Security Modify the Conditions and Exceptions of a Rule
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/rules/{ruleid}/condition-exception

MCP Tools

akamai-api-security-list-rules

Akamai API Security List Rules

read-only idempotent
akamai-api-security-upgrade-krs

Akamai API Security Upgrade KRS Ruleset

idempotent
akamai-api-security-get-adaptive

Akamai API Security Get Adaptive Intelligence Settings

read-only idempotent
akamai-api-security-modify-adaptive

Akamai API Security Modify Adaptive Intelligence Settings

idempotent
akamai-api-security-get-upgrade

Akamai API Security Get Upgrade Details

read-only idempotent
akamai-api-security-get-action

Akamai API Security Get the Action for a Rule

read-only idempotent
akamai-api-security-modify-action

Akamai API Security Modify the Action for a Rule

idempotent
akamai-api-security-get-conditions

Akamai API Security Get the Conditions and Exceptions of a Rule

read-only idempotent
akamai-api-security-modify-conditions

Akamai API Security Modify the Conditions and Exceptions of a Rule

idempotent

Capability Spec

akamai-api-security-waf-rules-general-settings.yaml Raw ↑
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: $.