Palo Alto Networks · Arazzo Workflow

Prisma Cloud RQL Configuration and Asset Search

Version 1.0.0

Authenticate to Prisma Cloud, run an RQL config query, then run a matching RQL asset query.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDRArazzoWorkflows

Provider

palo-alto-networks

Workflows

rql-config-and-asset-search
Run an RQL config search and an RQL asset search against Prisma Cloud.
Authenticates with Prisma Cloud, runs an RQL config query, and then runs an RQL asset query over a relative time window, returning the matched resource counts from each.
3 steps inputs: assetQuery, configQuery, limit, password, timeAmount, timeUnit, username outputs: assetTotalRows, configTotalRows
1
authenticate
Authenticate with access-key credentials and capture the JWT for later steps.
2
searchConfig
Run the RQL config query against cloud resource configurations over a relative time window, authorizing with the JWT from the login step.
3
searchAsset
Run the RQL asset query over the same relative time window to enumerate the matching assets.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Prisma Cloud RQL Configuration and Asset Search
  summary: Authenticate to Prisma Cloud, run an RQL config query, then run a matching RQL asset query.
  description: >-
    A Prisma Cloud CSPM investigation flow built on Resource Query Language
    (RQL). The workflow logs in with access-key credentials to obtain a
    short-lived JWT, executes an RQL config query against cloud resource
    configurations, and then runs an RQL asset query over the same relative time
    window to enumerate matching assets. The JWT obtained at login is passed
    inline as the Authorization header on each protected step. Every step spells
    out its request inline so the investigation flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: authenticationApi
  url: ../openapi/palo-alto-networks-authentication-api-openapi.yml
  type: openapi
- name: searchApi
  url: ../openapi/palo-alto-networks-search-api-openapi.yml
  type: openapi
workflows:
- workflowId: rql-config-and-asset-search
  summary: Run an RQL config search and an RQL asset search against Prisma Cloud.
  description: >-
    Authenticates with Prisma Cloud, runs an RQL config query, and then runs an
    RQL asset query over a relative time window, returning the matched resource
    counts from each.
  inputs:
    type: object
    required:
    - username
    - password
    - configQuery
    - assetQuery
    properties:
      username:
        type: string
        description: Prisma Cloud Access Key ID.
      password:
        type: string
        description: Prisma Cloud Secret Key for the access key.
      configQuery:
        type: string
        description: RQL config query string (e.g. config from cloud.resource where cloud.type = 'aws').
      assetQuery:
        type: string
        description: RQL asset query string to enumerate matching assets.
      timeAmount:
        type: integer
        description: Amount of time units for the relative time window.
        default: 7
      timeUnit:
        type: string
        description: Time unit for the relative window (e.g. day, week, month).
        default: day
      limit:
        type: integer
        description: Maximum number of resources to return per query.
        default: 100
  steps:
  - stepId: authenticate
    description: Authenticate with access-key credentials and capture the JWT for later steps.
    operationId: login
    requestBody:
      contentType: application/json
      payload:
        username: $inputs.username
        password: $inputs.password
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      token: $response.body#/token
  - stepId: searchConfig
    description: >-
      Run the RQL config query against cloud resource configurations over a
      relative time window, authorizing with the JWT from the login step.
    operationId: search-config
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.token
    requestBody:
      contentType: application/json
      payload:
        query: $inputs.configQuery
        timeRange:
          type: relative
          value:
            amount: $inputs.timeAmount
            unit: $inputs.timeUnit
        limit: $inputs.limit
        withResourceJson: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      configTotalRows: $response.body#/data/totalRows
      configItems: $response.body#/data/items
  - stepId: searchAsset
    description: >-
      Run the RQL asset query over the same relative time window to enumerate
      the matching assets.
    operationId: searchAsset
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.token
    requestBody:
      contentType: application/json
      payload:
        query: $inputs.assetQuery
        timeRange:
          type: relative
          value:
            amount: $inputs.timeAmount
            unit: $inputs.timeUnit
        limit: $inputs.limit
        withResourceJson: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      assetTotalRows: $response.body#/data/totalRows
      assetItems: $response.body#/data/items
  outputs:
    configTotalRows: $steps.searchConfig.outputs.configTotalRows
    assetTotalRows: $steps.searchAsset.outputs.assetTotalRows

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/palo-alto-networks-prisma-cloud-rql-config-search-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.