Palo Alto Networks · Capability

Palo Alto Networks Prisma Cloud DSPM API — Risks

Palo Alto Networks Prisma Cloud DSPM API — Risks. 3 operations. Lead operation: Palo Alto Networks List Data Risks. Self-contained Naftiko capability covering one Palo Alto Networks business surface.

Run with Naftiko Palo Alto NetworksRisks

What You Can Do

GET
Listrisks — Palo Alto Networks List Data Risks
/v1/dspm/api/v1/risks
GET
Getrisk — Palo Alto Networks Get Risk Details
/v1/dspm/api/v1/risks/{id}
PUT
Updateriskstatus — Palo Alto Networks Update Risk Status
/v1/dspm/api/v1/risks/{id}/status

MCP Tools

palo-alto-networks-list-data

Palo Alto Networks List Data Risks

read-only idempotent
palo-alto-networks-get-risk

Palo Alto Networks Get Risk Details

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

Palo Alto Networks Update Risk Status

idempotent

Capability Spec

palo-alto-prisma-cloud-dspm-risks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Palo Alto Networks Prisma Cloud DSPM API — Risks
  description: 'Palo Alto Networks Prisma Cloud DSPM API — Risks. 3 operations. Lead operation: Palo Alto Networks List Data
    Risks. Self-contained Naftiko capability covering one Palo Alto Networks business surface.'
  tags:
  - Palo Alto Networks
  - Risks
  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-cloud-dspm-risks
    baseUri: https://api.prismacloud.io
    description: Palo Alto Networks Prisma Cloud DSPM API — Risks business capability. Self-contained, no shared references.
    resources:
    - name: dspm-api-v1-risks
      path: /dspm/api/v1/risks
      operations:
      - name: listrisks
        method: GET
        description: Palo Alto Networks List Data Risks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: offset
          in: query
          type: integer
          description: Number of records to skip for pagination.
        - name: limit
          in: query
          type: integer
          description: Maximum number of records to return.
        - name: riskLevel
          in: query
          type: string
          description: Filter by risk severity level.
        - name: status
          in: query
          type: string
          description: Filter by risk status.
        - name: cloudProvider
          in: query
          type: string
          description: Filter by cloud provider.
        - name: search
          in: query
          type: string
          description: Search term to filter by risk title or data store name.
        - name: sortBy
          in: query
          type: string
          description: Field to sort results by.
        - name: sortOrder
          in: query
          type: string
          description: Sort order direction.
    - name: dspm-api-v1-risks-id
      path: /dspm/api/v1/risks/{id}
      operations:
      - name: getrisk
        method: GET
        description: Palo Alto Networks Get Risk Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique risk identifier.
          required: true
    - name: dspm-api-v1-risks-id-status
      path: /dspm/api/v1/risks/{id}/status
      operations:
      - name: updateriskstatus
        method: PUT
        description: Palo Alto Networks Update Risk Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique risk identifier.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PALO_ALTO_NETWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: palo-alto-prisma-cloud-dspm-risks-rest
    port: 8080
    description: REST adapter for Palo Alto Networks Prisma Cloud DSPM API — Risks. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/dspm/api/v1/risks
      name: dspm-api-v1-risks
      description: REST surface for dspm-api-v1-risks.
      operations:
      - method: GET
        name: listrisks
        description: Palo Alto Networks List Data Risks
        call: palo-alto-prisma-cloud-dspm-risks.listrisks
        with:
          offset: rest.offset
          limit: rest.limit
          riskLevel: rest.riskLevel
          status: rest.status
          cloudProvider: rest.cloudProvider
          search: rest.search
          sortBy: rest.sortBy
          sortOrder: rest.sortOrder
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dspm/api/v1/risks/{id}
      name: dspm-api-v1-risks-id
      description: REST surface for dspm-api-v1-risks-id.
      operations:
      - method: GET
        name: getrisk
        description: Palo Alto Networks Get Risk Details
        call: palo-alto-prisma-cloud-dspm-risks.getrisk
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dspm/api/v1/risks/{id}/status
      name: dspm-api-v1-risks-id-status
      description: REST surface for dspm-api-v1-risks-id-status.
      operations:
      - method: PUT
        name: updateriskstatus
        description: Palo Alto Networks Update Risk Status
        call: palo-alto-prisma-cloud-dspm-risks.updateriskstatus
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: palo-alto-prisma-cloud-dspm-risks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Palo Alto Networks Prisma Cloud DSPM API — Risks. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: palo-alto-networks-list-data
      description: Palo Alto Networks List Data Risks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-prisma-cloud-dspm-risks.listrisks
      with:
        offset: tools.offset
        limit: tools.limit
        riskLevel: tools.riskLevel
        status: tools.status
        cloudProvider: tools.cloudProvider
        search: tools.search
        sortBy: tools.sortBy
        sortOrder: tools.sortOrder
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-get-risk
      description: Palo Alto Networks Get Risk Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-prisma-cloud-dspm-risks.getrisk
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-update-risk
      description: Palo Alto Networks Update Risk Status
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: palo-alto-prisma-cloud-dspm-risks.updateriskstatus
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.