Palo Alto Networks · Capability

Palo Alto Networks IoT Security API — Policies

Palo Alto Networks IoT Security API — Policies. 1 operations. Lead operation: Palo Alto Networks Get Policy Recommendations. Self-contained Naftiko capability covering one Palo Alto Networks business surface.

Run with Naftiko Palo Alto NetworksPolicies

What You Can Do

GET
Getpolicyrecommendation — Palo Alto Networks Get Policy Recommendations
/v1/policy/recommendation

MCP Tools

palo-alto-networks-get-policy

Palo Alto Networks Get Policy Recommendations

read-only idempotent

Capability Spec

palo-alto-iot-security-policies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Palo Alto Networks IoT Security API — Policies
  description: 'Palo Alto Networks IoT Security API — Policies. 1 operations. Lead operation: Palo Alto Networks Get Policy
    Recommendations. Self-contained Naftiko capability covering one Palo Alto Networks business surface.'
  tags:
  - Palo Alto Networks
  - Policies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PALO_ALTO_NETWORKS_API_KEY: PALO_ALTO_NETWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: palo-alto-iot-security-policies
    baseUri: https://{customer}.iot.paloaltonetworks.com/pub/v4.0
    description: Palo Alto Networks IoT Security API — Policies business capability. Self-contained, no shared references.
    resources:
    - name: policy-recommendation
      path: /policy/recommendation
      operations:
      - name: getpolicyrecommendation
        method: GET
        description: Palo Alto Networks Get Policy Recommendations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customerid
          in: query
          type: string
          description: Customer tenant identifier.
          required: true
        - name: deviceid
          in: query
          type: string
          description: Filter recommendations for a specific device.
    authentication:
      type: apikey
      key: X-Key-Id
      value: '{{env.PALO_ALTO_NETWORKS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: palo-alto-iot-security-policies-rest
    port: 8080
    description: REST adapter for Palo Alto Networks IoT Security API — Policies. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/policy/recommendation
      name: policy-recommendation
      description: REST surface for policy-recommendation.
      operations:
      - method: GET
        name: getpolicyrecommendation
        description: Palo Alto Networks Get Policy Recommendations
        call: palo-alto-iot-security-policies.getpolicyrecommendation
        with:
          customerid: rest.customerid
          deviceid: rest.deviceid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: palo-alto-iot-security-policies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Palo Alto Networks IoT Security API — Policies. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: palo-alto-networks-get-policy
      description: Palo Alto Networks Get Policy Recommendations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-iot-security-policies.getpolicyrecommendation
      with:
        customerid: tools.customerid
        deviceid: tools.deviceid
      outputParameters:
      - type: object
        mapping: $.