Akamai API Security · Capability

Akamai: Application Security API — Shared resources: Malware policies

Akamai: Application Security API — Shared resources: Malware policies. 6 operations. Lead operation: Akamai API Security Create a Malware Policy. Self-contained Naftiko capability covering one Akamai Api Security business surface.

Run with Naftiko Akamai Api SecurityShared resources: Malware policies

What You Can Do

POST
Postmalwarepolicies — Akamai API Security Create a Malware Policy
/v1/configs/{configid}/versions/{versionnumber}/malware-policies
GET
Getmalwarepolicies — Akamai API Security List Malware Policies
/v1/configs/{configid}/versions/{versionnumber}/malware-policies
GET
Getmalwarepolicycontenttypes — Akamai API Security List Supported Malware Policy Content Types
/v1/configs/{configid}/versions/{versionnumber}/malware-policies/content-types
GET
Getmalwarepolicy — Akamai API Security Get a Malware Policy
/v1/configs/{configid}/versions/{versionnumber}/malware-policies/{malwarepolicyid}
PUT
Putmalwarepolicy — Akamai API Security Modify a Malware Policy
/v1/configs/{configid}/versions/{versionnumber}/malware-policies/{malwarepolicyid}
DELETE
Deletemalwarepolicy — Akamai API Security Remove a Malware Policy
/v1/configs/{configid}/versions/{versionnumber}/malware-policies/{malwarepolicyid}

MCP Tools

akamai-api-security-create-malware

Akamai API Security Create a Malware Policy

akamai-api-security-list-malware

Akamai API Security List Malware Policies

read-only idempotent
akamai-api-security-list-supported

Akamai API Security List Supported Malware Policy Content Types

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

Akamai API Security Get a Malware Policy

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

Akamai API Security Modify a Malware Policy

idempotent
akamai-api-security-remove-malware

Akamai API Security Remove a Malware Policy

idempotent

Capability Spec

akamai-api-security-shared-resources-malware-policies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: Application Security API — Shared resources: Malware policies'
  description: 'Akamai: Application Security API — Shared resources: Malware policies. 6 operations. Lead operation: Akamai
    API Security Create a Malware Policy. Self-contained Naftiko capability covering one Akamai Api Security business surface.'
  tags:
  - Akamai Api Security
  - 'Shared resources: Malware policies'
  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-malware-policies
    baseUri: https://{hostname}/appsec/v1
    description: 'Akamai: Application Security API — Shared resources: Malware policies business capability. Self-contained,
      no shared references.'
    resources:
    - name: configs-configId-versions-versionNumber-malware-policies
      path: /configs/{configId}/versions/{versionNumber}/malware-policies
      operations:
      - name: postmalwarepolicies
        method: POST
        description: Akamai API Security Create a Malware Policy
        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: getmalwarepolicies
        method: GET
        description: Akamai API Security List Malware Policies
        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-malware-policies-content-types
      path: /configs/{configId}/versions/{versionNumber}/malware-policies/content-types
      operations:
      - name: getmalwarepolicycontenttypes
        method: GET
        description: Akamai API Security List Supported Malware Policy Content Types
        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-malware-policies-malwarePolicyId
      path: /configs/{configId}/versions/{versionNumber}/malware-policies/{malwarePolicyId}
      operations:
      - name: getmalwarepolicy
        method: GET
        description: Akamai API Security Get a Malware Policy
        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: putmalwarepolicy
        method: PUT
        description: Akamai API Security Modify a Malware Policy
        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: deletemalwarepolicy
        method: DELETE
        description: Akamai API Security Remove a Malware Policy
        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-malware-policies-rest
    port: 8080
    description: 'REST adapter for Akamai: Application Security API — Shared resources: Malware policies. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/configs/{configid}/versions/{versionnumber}/malware-policies
      name: configs-configid-versions-versionnumber-malware-policies
      description: REST surface for configs-configId-versions-versionNumber-malware-policies.
      operations:
      - method: POST
        name: postmalwarepolicies
        description: Akamai API Security Create a Malware Policy
        call: akamai-api-security-shared-resources-malware-policies.postmalwarepolicies
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmalwarepolicies
        description: Akamai API Security List Malware Policies
        call: akamai-api-security-shared-resources-malware-policies.getmalwarepolicies
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/malware-policies/content-types
      name: configs-configid-versions-versionnumber-malware-policies-content-types
      description: REST surface for configs-configId-versions-versionNumber-malware-policies-content-types.
      operations:
      - method: GET
        name: getmalwarepolicycontenttypes
        description: Akamai API Security List Supported Malware Policy Content Types
        call: akamai-api-security-shared-resources-malware-policies.getmalwarepolicycontenttypes
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/malware-policies/{malwarepolicyid}
      name: configs-configid-versions-versionnumber-malware-policies-malwarepolicyid
      description: REST surface for configs-configId-versions-versionNumber-malware-policies-malwarePolicyId.
      operations:
      - method: GET
        name: getmalwarepolicy
        description: Akamai API Security Get a Malware Policy
        call: akamai-api-security-shared-resources-malware-policies.getmalwarepolicy
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putmalwarepolicy
        description: Akamai API Security Modify a Malware Policy
        call: akamai-api-security-shared-resources-malware-policies.putmalwarepolicy
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletemalwarepolicy
        description: Akamai API Security Remove a Malware Policy
        call: akamai-api-security-shared-resources-malware-policies.deletemalwarepolicy
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: akamai-api-security-shared-resources-malware-policies-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: Application Security API — Shared resources: Malware policies. One tool per consumed
      operation, routed inline through this capability''s consumes block.'
    tools:
    - name: akamai-api-security-create-malware
      description: Akamai API Security Create a Malware Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: akamai-api-security-shared-resources-malware-policies.postmalwarepolicies
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-list-malware
      description: Akamai API Security List Malware Policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-shared-resources-malware-policies.getmalwarepolicies
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-list-supported
      description: Akamai API Security List Supported Malware Policy Content Types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-shared-resources-malware-policies.getmalwarepolicycontenttypes
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-get-malware
      description: Akamai API Security Get a Malware Policy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-shared-resources-malware-policies.getmalwarepolicy
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-modify-malware
      description: Akamai API Security Modify a Malware Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: akamai-api-security-shared-resources-malware-policies.putmalwarepolicy
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-remove-malware
      description: Akamai API Security Remove a Malware Policy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: akamai-api-security-shared-resources-malware-policies.deletemalwarepolicy
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.