naftiko: 1.0.0-alpha2 info: label: Palo Alto Networks Cortex Xpanse REST API — Incidents description: 'Palo Alto Networks Cortex Xpanse REST API — Incidents. 2 operations. Lead operation: Palo Alto Networks Get Attack Surface Incidents. Self-contained Naftiko capability covering one Palo Alto Networks business surface.' tags: - Palo Alto Networks - Incidents 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-xpanse-incidents baseUri: https://api-{fqdn}/public_api/v1 description: Palo Alto Networks Cortex Xpanse REST API — Incidents business capability. Self-contained, no shared references. resources: - name: incident_management-get_incidents path: /incident_management/get_incidents operations: - name: getincidents method: POST description: Palo Alto Networks Get Attack Surface Incidents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: incident_management-update_incident path: /incident_management/update_incident operations: - name: updateincident method: POST description: Palo Alto Networks Update Attack Surface Incident 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-xpanse-incidents-rest port: 8080 description: REST adapter for Palo Alto Networks Cortex Xpanse REST API — Incidents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/incident-management/get-incidents name: incident-management-get-incidents description: REST surface for incident_management-get_incidents. operations: - method: POST name: getincidents description: Palo Alto Networks Get Attack Surface Incidents call: palo-alto-cortex-xpanse-incidents.getincidents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/incident-management/update-incident name: incident-management-update-incident description: REST surface for incident_management-update_incident. operations: - method: POST name: updateincident description: Palo Alto Networks Update Attack Surface Incident call: palo-alto-cortex-xpanse-incidents.updateincident with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: palo-alto-cortex-xpanse-incidents-mcp port: 9090 transport: http description: MCP adapter for Palo Alto Networks Cortex Xpanse REST API — Incidents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: palo-alto-networks-get-attack description: Palo Alto Networks Get Attack Surface Incidents hints: readOnly: true destructive: false idempotent: false call: palo-alto-cortex-xpanse-incidents.getincidents with: body: tools.body outputParameters: - type: object mapping: $. - name: palo-alto-networks-update-attack description: Palo Alto Networks Update Attack Surface Incident hints: readOnly: false destructive: false idempotent: false call: palo-alto-cortex-xpanse-incidents.updateincident with: body: tools.body outputParameters: - type: object mapping: $.