naftiko: 1.0.0-alpha2 info: label: Palo Alto Networks Cortex XSIAM REST API — XQL description: 'Palo Alto Networks Cortex XSIAM REST API — XQL. 2 operations. Lead operation: Palo Alto Networks Get XQL Query Results. Self-contained Naftiko capability covering one Palo Alto Networks business surface.' tags: - Palo Alto Networks - XQL 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-cortex-xsiam-xql baseUri: https://api-{fqdn}/public_api/v1 description: Palo Alto Networks Cortex XSIAM REST API — XQL business capability. Self-contained, no shared references. resources: - name: xql-get_query_results path: /xql/get_query_results operations: - name: getxqlqueryresults method: POST description: Palo Alto Networks Get XQL Query Results outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: xql-start_xql_query path: /xql/start_xql_query operations: - name: startxqlquery method: POST description: Palo Alto Networks Execute XQL Query outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: x-xdr-hmac-v2 value: '{{env.PALO_ALTO_NETWORKS_API_KEY}}' placement: header exposes: - type: rest namespace: palo-alto-cortex-xsiam-xql-rest port: 8080 description: REST adapter for Palo Alto Networks Cortex XSIAM REST API — XQL. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/xql/get-query-results name: xql-get-query-results description: REST surface for xql-get_query_results. operations: - method: POST name: getxqlqueryresults description: Palo Alto Networks Get XQL Query Results call: palo-alto-cortex-xsiam-xql.getxqlqueryresults with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/xql/start-xql-query name: xql-start-xql-query description: REST surface for xql-start_xql_query. operations: - method: POST name: startxqlquery description: Palo Alto Networks Execute XQL Query call: palo-alto-cortex-xsiam-xql.startxqlquery with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: palo-alto-cortex-xsiam-xql-mcp port: 9090 transport: http description: MCP adapter for Palo Alto Networks Cortex XSIAM REST API — XQL. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: palo-alto-networks-get-xql description: Palo Alto Networks Get XQL Query Results hints: readOnly: true destructive: false idempotent: false call: palo-alto-cortex-xsiam-xql.getxqlqueryresults with: body: tools.body outputParameters: - type: object mapping: $. - name: palo-alto-networks-execute-xql description: Palo Alto Networks Execute XQL Query hints: readOnly: true destructive: false idempotent: false call: palo-alto-cortex-xsiam-xql.startxqlquery with: body: tools.body outputParameters: - type: object mapping: $.