Palo Alto Networks · Capability

Palo Alto Networks Prisma Access Configuration API — SecurityRules

Palo Alto Networks Prisma Access Configuration API — SecurityRules. 5 operations. Lead operation: Palo Alto Networks List Security Rules. Self-contained Naftiko capability covering one Palo Alto Networks business surface.

Run with Naftiko Palo Alto NetworksSecurityRules

What You Can Do

GET
Listsecurityrules — Palo Alto Networks List Security Rules
/v1/security-rules
POST
Createsecurityrule — Palo Alto Networks Create a Security Rule
/v1/security-rules
GET
Getsecurityrule — Palo Alto Networks Get a Security Rule
/v1/security-rules/{id}
PUT
Updatesecurityrule — Palo Alto Networks Update a Security Rule
/v1/security-rules/{id}
DELETE
Deletesecurityrule — Palo Alto Networks Delete a Security Rule
/v1/security-rules/{id}

MCP Tools

palo-alto-networks-list-security

Palo Alto Networks List Security Rules

read-only idempotent
palo-alto-networks-create-security

Palo Alto Networks Create a Security Rule

palo-alto-networks-get-security

Palo Alto Networks Get a Security Rule

read-only idempotent
palo-alto-networks-update-security

Palo Alto Networks Update a Security Rule

idempotent
palo-alto-networks-delete-security

Palo Alto Networks Delete a Security Rule

idempotent

Capability Spec

palo-alto-prisma-access-securityrules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Palo Alto Networks Prisma Access Configuration API — SecurityRules
  description: 'Palo Alto Networks Prisma Access Configuration API — SecurityRules. 5 operations. Lead operation: Palo Alto
    Networks List Security Rules. Self-contained Naftiko capability covering one Palo Alto Networks business surface.'
  tags:
  - Palo Alto Networks
  - SecurityRules
  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-prisma-access-securityrules
    baseUri: https://api.sase.paloaltonetworks.com/sse/config/v1
    description: Palo Alto Networks Prisma Access Configuration API — SecurityRules business capability. Self-contained, no
      shared references.
    resources:
    - name: security-rules
      path: /security-rules
      operations:
      - name: listsecurityrules
        method: GET
        description: Palo Alto Networks List Security Rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder
          in: query
          type: string
          description: The folder containing the security rules (e.g., Shared, Mobile Users, Remote Networks).
          required: true
        - name: position
          in: query
          type: string
          description: Filter by rule position (pre or post).
        - name: offset
          in: query
          type: integer
        - name: limit
          in: query
          type: integer
      - name: createsecurityrule
        method: POST
        description: Palo Alto Networks Create a Security Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder
          in: query
          type: string
          description: Target folder for the security rule.
          required: true
        - name: position
          in: query
          type: string
          description: Position for the new rule (pre or post).
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: security-rules-id
      path: /security-rules/{id}
      operations:
      - name: getsecurityrule
        method: GET
        description: Palo Alto Networks Get a Security Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique security rule identifier.
          required: true
      - name: updatesecurityrule
        method: PUT
        description: Palo Alto Networks Update a Security Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique security rule identifier.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesecurityrule
        method: DELETE
        description: Palo Alto Networks Delete a Security Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique security rule identifier.
          required: true
    authentication:
      type: bearer
      token: '{{env.PALO_ALTO_NETWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: palo-alto-prisma-access-securityrules-rest
    port: 8080
    description: REST adapter for Palo Alto Networks Prisma Access Configuration API — SecurityRules. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/security-rules
      name: security-rules
      description: REST surface for security-rules.
      operations:
      - method: GET
        name: listsecurityrules
        description: Palo Alto Networks List Security Rules
        call: palo-alto-prisma-access-securityrules.listsecurityrules
        with:
          folder: rest.folder
          position: rest.position
          offset: rest.offset
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsecurityrule
        description: Palo Alto Networks Create a Security Rule
        call: palo-alto-prisma-access-securityrules.createsecurityrule
        with:
          folder: rest.folder
          position: rest.position
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/security-rules/{id}
      name: security-rules-id
      description: REST surface for security-rules-id.
      operations:
      - method: GET
        name: getsecurityrule
        description: Palo Alto Networks Get a Security Rule
        call: palo-alto-prisma-access-securityrules.getsecurityrule
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesecurityrule
        description: Palo Alto Networks Update a Security Rule
        call: palo-alto-prisma-access-securityrules.updatesecurityrule
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesecurityrule
        description: Palo Alto Networks Delete a Security Rule
        call: palo-alto-prisma-access-securityrules.deletesecurityrule
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: palo-alto-prisma-access-securityrules-mcp
    port: 9090
    transport: http
    description: MCP adapter for Palo Alto Networks Prisma Access Configuration API — SecurityRules. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: palo-alto-networks-list-security
      description: Palo Alto Networks List Security Rules
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-prisma-access-securityrules.listsecurityrules
      with:
        folder: tools.folder
        position: tools.position
        offset: tools.offset
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-create-security
      description: Palo Alto Networks Create a Security Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: palo-alto-prisma-access-securityrules.createsecurityrule
      with:
        folder: tools.folder
        position: tools.position
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-get-security
      description: Palo Alto Networks Get a Security Rule
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-prisma-access-securityrules.getsecurityrule
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-update-security
      description: Palo Alto Networks Update a Security Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: palo-alto-prisma-access-securityrules.updatesecurityrule
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-delete-security
      description: Palo Alto Networks Delete a Security Rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: palo-alto-prisma-access-securityrules.deletesecurityrule
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.