This guide describes how to create API credentials in Palo Alto Cortex XDR and configure the Palo Alto Cortex connector in AiStrike.
Prerequisites
-
Administrator access to Cortex XDR, with permission to create and manage API keys.
-
Path: Settings → Configurations → Integrations → API Keys.
1. Create an API key
The API key lets AiStrike pull alerts from Cortex XDR.
-
Log in to Cortex XDR as an administrator.
-
Navigate to Settings → Configurations → Integrations → API Keys.
-
Click New Key.
-
Under Security Level, select Standard or Advanced.
-
Use Standard unless your organization requires Advanced keys.
-
AiStrike supports both. The type you select here must match API Key Type in AiStrike.
-
-
Under Role, select a role that can view alerts. Use a dedicated, least-privilege role rather than a full admin role when possible.
-
(Optional) Add a comment such as AiStrike integration.
-
(Optional) Enable an expiration date if your policy requires it.
-
Click Generate.
-
Copy the API Key and store it securely — it is displayed only once and cannot be retrieved again.
NOTE: Copy the API Key before you close the dialog. You will not be able to view it again.
2. Copy the API Key ID and FQDN
On the API Keys page:
-
Copy the API Key ID for the key you just created.
-
Right-click the key and select View Examples.
-
From the cURL example, copy the tenant FQDN.
The example URL looks like:
https://api-{fqdn}/public_api/v1/{name of api}/{name of call}/
Paste only the FQDN into AiStrike — not https://, not api-, and not /public_api/v1.
|
From Cortex |
Paste into AiStrike FQDN |
|---|---|
|
https://api-acmecorp.xdr.us.paloaltonetworks.com/public_api/v1/alerts/get_alerts/ |
3. Connector configuration
|
Field |
Description |
|---|---|
|
Configuration Name |
Friendly name, e.g. Palo Alto Cortex |
|
FQDN |
Tenant FQDN from Step 2. Do not include https:// or /public_api/v1 |
|
API Key ID |
The key ID from Settings → Configurations → Integrations → API Keys |
|
API Key |
The key created in Step 1 |
|
API Key Type |
standard or advanced. Must match the security level selected when creating the key. Defaults to standard |
If you have any questions or need assistance configuring the integration, please contact the AiStrike team.