Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XDR

Create a standard outpost

Instructions for creating a standard outpost while onboarding your CSP.

License type: This feature is included with a Cortex XDR license that has the Cloud Posture Security or Cloud Runtime Security add-on.

Create a standard outpost to deploy an outpost using infrastructure that Cortex XDR creates for a fast, consistent deployment with minimal manual configuration.

Step 1. Plan and prepare

Review the fundamentals and prerequisites before starting.

Notes:

  • Before you create your outpost, verify that your internet connection is active. An active internet connection is necessary for the notification to be sent to Cortex XDR to create the new outpost.

  • (Azure) Due to limitations in Terraform, the Azure subscription name cannot contain blanks. Take this into account before onboarding.

Step 2. Define the outpost with the outpost creation wizard

Start the outpost creation wizard:

  1. In Cortex XDR, navigate to Settings → Data Sources & Integrations → Outposts.

  2. Click New Outpost.

Tip: Alternatively, while onboarding your Cortex XDR with the cloud service provider (CSP) onboarding wizard, the wizard prompts you to choose a scan mode: Cloud Scan or Scan With Outpost. When choosing Scan With Outpost, you have the opportunity to create your outpost. To start the cloud service provider (CSP) onboarding wizard, navigate to Settings → Data Sources & Integrations → Add New.

Perform the steps according to your CSP.

AWS
  1. Choose AWS.

  2. If you are using a FedRAMP-certified (Government) Cortex XDR tenant, you are able to choose between the following environments:

    • Commercial: (Default) Standard cloud deployment typically used for private and public sector organizations that do not require isolated government-specific infrastructure.

    • Government: AWS GovCloud environments for compatibility with FedRAMP-certified tenants.

  3. Enter an Instance Name for the outpost. The instance name can be up to 255 characters.

  4. (Optional) To limit the outpost to specific regions, toggle Modify Scope by Regions on, and then select one or more regions from the Choose region list. The outpost resources are deployed only in the selected regions, and only assets in those regions are scanned. When the toggle is off, all regions are included.

  5. (Optional) Define tags and tag values to be added to any new resource created by Cortex XDR in the cloud environment. The managed_by: paloaltonetworks tag is defined by default and cannot be edited or removed.

  6. Click Next. Cortex XDR generates the outpost template.

  7. Choose how to deploy the template.

    • Automated: (Recommended) Click Execute in AWS to open the AWS CloudFormation console with the pre-populated template. Before you click, verify that you are logged in to the AWS account that is dedicated to the outpost.

    • Generate Template: Click Download CloudFormation to download the CloudFormation template file, or click Download Terraform to download the Terraform template archive.

  8. After you start the deployment or download the template, click Close.

Azure

When creating an outpost for a specific Azure subscription, the outpost account must be in the same Azure organization as the monitored subscriptions.

  1. Choose Azure.

  2. If you are using a FedRAMP-certified (Government) Cortex XDR tenant, you are able to choose between the following environments:

    • Commercial: (Default) Standard cloud deployment typically used for private and public sector organizations that do not require isolated government-specific infrastructure.

    • Government: Microsoft Azure Government environments for compatibility with FedRAMP-certified tenants.

  3. Enter an Instance Name for the outpost, and the Tenant ID of the Azure tenant in which you want to establish the outpost. The tenant ID must be a valid Microsoft Entra ID tenant ID. If the format is not valid, the wizard shows Invalid tenant ID format.\

    Note: Due to limitations in Terraform, the Azure subscription name cannot contain blanks.

  4. (Optional) To limit the outpost to specific regions, toggle Modify Scope by Regions on, and then select one or more regions from the Choose region list. The outpost resources are deployed only in the selected regions, and only assets in those regions are scanned. When the toggle is off, all regions are included.

  5. (Optional) Define tags and tag values to be added to any new resource created by Cortex XDR in the cloud environment. The managed_by: paloaltonetworks tag is defined by default and cannot be edited or removed. The tags field is available only after you enter a valid tenant ID.

  6. If you are deploying the outpost with your own pre-created Entra ID app registration, click Show advanced settings, and then configure the following settings. Before you begin, complete the prerequisites and create the Azure app registration.

    1. Toggle Bring Your Own App Registration on, and enter the following required IDs. Both values must be valid UUIDs.

      • Application (Client) ID: The Application (Client) ID of your Azure app registration. This is the customer_app_client_id value that the helper shell script returns, or the value on the app registration's Overview page in the Azure portal.

      • Service Principal Object ID: The Object ID of the service principal associated with your Azure app registration. This is the customer_sp_object_id value that the helper shell script returns, or the Object ID on the enterprise application's Properties page. Do not confuse it with the Application (Client) ID. Both are UUIDs, and they are not interchangeable.

    2. (Optional) To supply your own pre-created managed identities instead of having Cortex XDR create them automatically, toggle Bring Your Own Scanner Managed Identities on, and enter the Azure Resource Manager (ARM) resource ID of each of the following user-assigned managed identities (UAMIs). All the fields are required when this toggle is on. Each identity must be distinct and must be in the same subscription and tenant as the outpost. Keep the identities in a resource group that you own, outside the outpost resource group, so that they are not deleted if the outpost is removed.

      • Agentless Disk Scanner Resource ID: The identity that the agentless disk scanning (ADS) workload uses to snapshot and scan VM disks for vulnerabilities and malware. Supplying your own identity lets you control exactly which disks Cortex XDR can read for disk scanning. This is the customer_uami_agentless_id value that the helper shell script returns.

      • DSPM Scanner Resource ID: The identity that the DSPM scanner VM uses to scan data stores, such as Storage, SQL, and Cosmos DB, for sensitive data exposure. This is the identity that reads your data for classification, so supplying your own identity lets you limit and audit which data stores Cortex XDR can access. This is the customer_uami_dspm_id value.

      • Registry Scanner Resource ID: The identity that the registry scanner VM uses to pull and scan container images stored in Azure Container Registry. Supplying your own identity lets you grant pull access only to the registries that you want Cortex XDR to scan. This is the customer_uami_registry_id value.

      • Serverless Scanner Resource ID: The identity that the serverless scanner VM uses to scan Azure Function Apps and other serverless code for vulnerabilities. Supplying your own identity lets you control which function apps Cortex XDR can read. This is the customer_uami_serverless_id value.

      • Egress Proxy Resource ID: The identity attached to the egress proxy VM. Scanner VMs route their outbound traffic, to Cortex XDR and to external services, through this proxy. Supplying your own identity keeps the outpost's single outbound path under an identity that your organization governs. This is the customer_uami_proxy_id value.

  7. Click Next. Cortex XDR generates the outpost template.

  8. Click Download Terraform to download the Terraform template file, and then click Close.

GCP
  1. Choose GCP.

  2. If you are using a FedRAMP-certified (Government) Cortex XDR tenant, you are able to choose between the following environments:

    • Commercial: (Default) Standard cloud deployment typically used for private and public sector organizations that do not require isolated government-specific infrastructure.

    • Government: GCP Assured Workloads for compatibility with FedRAMP-certified tenants.

  3. Enter an Instance Name for the outpost, and the Project ID of the GCP project.

  4. (Optional) To limit the outpost to specific regions, toggle Modify Scope by Regions on, and then select one or more regions from the Choose region list. The outpost resources are deployed only in the selected regions, and only assets in those regions are scanned. When the toggle is off, all regions are included.

  5. (Optional) Define tags and tag values to be added to any new resource created by Cortex XDR in the cloud environment. The managed_by: paloaltonetworks label is defined by default and cannot be edited or removed. GCP labels must use lowercase letters. Each key and value can be up to 63 characters, and you can add up to 64 labels.

  6. Click Next. Cortex XDR generates the outpost template.

  7. Click Download Terraform to download the Terraform template file, and then click Close.

Step 3. Execute the template in the CSP to deploy the outpost

In the previous step, you chose how to deploy the outpost template in the outpost creation wizard.

Now, deploy the template in your CSP by performing the following.

Note: This step includes instructions for third-party CSP consoles and tools, which the CSP might change. For the most up-to-date and accurate instructions, see your CSP's documentation.

AWS: CloudFormation, automated (Execute in AWS)
  1. Check prerequisites: Before you begin, ensure you have:

    • A browser session that is logged in to the AWS Management Console with the AWS account that is dedicated to the outpost.

    • Permission to create a CloudFormation stack, StackSets, and their resources in the outpost account. The template creates IAM roles, customer-managed IAM policies, policy attachments, and instance profiles, each of which requires IAM administration permission. Grant one of the following:

      • The AdministratorAccess managed policy, or

      • The IAMFullAccess managed policy (or a custom policy granting the iam:Role, iam:Policy, and iam:InstanceProfile actions) together with permission to create the other required resources (CloudFormation, EC2, VPC, S3, SQS, KMS, and SSM Parameter Store).

  2. In the outpost creation wizard, click Execute in AWS. The AWS CloudFormation console opens the Quick create stack page with the template and its parameters pre-populated.

  3. Under Provide a stack name, enter a Stack name. The stack name can include letters (A-Z and a-z), numbers (0-9), and hyphens.

  4. Review the stack parameters. Cortex XDR pre-populates the parameter values from the outpost creation wizard. Do not change them, with the following exceptions:

    • (Optional) You can change the Resource name prefix.

    • If the AWSServiceRoleForEC2Spot or AWSServiceRoleForRedshift service-linked role already exists in the account, set Create service-linked roles (set to false if they already exist) to false.

  5. Under Capabilities, select I acknowledge that AWS CloudFormation might create IAM resources with custom names, and click Create stack.

  6. Return to Cortex XDR. The Create AWS Outpost dialog shows the status Connecting. Click Close.

  7. To check the progress of the deployment, in the AWS CloudFormation console, open the Stacks list. Wait until the stack status is CREATE_COMPLETE.

The template is deployed, and your outpost is created in Connected status. To view the outpost and its status, see View and manage outposts.

AWS: CloudFormation, manual (Download CloudFormation)
  1. Check prerequisites: Before you begin, ensure you have:

    • Access to the AWS Management Console for the AWS account that is dedicated to the outpost.

    • The same permissions as for the automated CloudFormation deployment.

    • A CloudFormation template file that you downloaded within the last 7 days. The template contains a registration link that expires 7 days after download. If the link expires, the outpost cannot register with Cortex XDR, and you need to download a new template.

  2. In the AWS Management Console, open CloudFormation and click Create stack → With new resources (standard).

  3. Select Upload a template file, choose the CloudFormation template file that you downloaded, and click Next.

  4. Enter a stack name, and review the stack parameters. The downloaded template contains the parameter values from the outpost creation wizard. Do not change them, with the following exceptions, and then click Next:

    • (Optional) You can change the Resource name prefix.

    • If the AWSServiceRoleForEC2Spot or AWSServiceRoleForRedshift service-linked role already exists in the account, set Create service-linked roles (set to false if they already exist) to false.

  5. On the Configure stack options page, click Next.

  6. Select I acknowledge that AWS CloudFormation might create IAM resources with custom names, and click Submit.

  7. Wait until the stack status is CREATE_COMPLETE.

The template is deployed, and your outpost is created in Connected status. To view the outpost and its status, see View and manage outposts.

AWS: Terraform (Download Terraform)
  1. Check prerequisites: Before you begin, ensure you have:

    • An AWS account.

    • Permission to create a stack and its resources in AWS on the designated outpost account. The onboarding script also creates IAM roles, customer-managed IAM policies, policy attachments, and instance profiles, which requires IAM administration permission. Grant one of the following:

      • The AdministratorAccess managed policy, or

      • The IAMFullAccess managed policy (or a custom policy granting the iam:Role, iam:Policy, and iam:InstanceProfile actions) together with permission to create the other required resources (EC2, VPC, S3, SQS, KMS, and SSM Parameter Store).

    • Installed Terraform on your local machine. You can download Terraform from the official Terraform website and follow the installation instructions for your operating system.

    • Installed the AWS CLI tool and configured your profile with the aws configure sso wizard.

  2. Open your local terminal (such as Command Prompt, PowerShell, or Terminal).

  3. Log in to your AWS account using the AWS CLI:

    <my-profile> is the profile you configured with the aws configure sso wizard.

  4. Create a directory on your local machine to store and run the Terraform code. If you are creating more than one outpost, you need a separate directory for each one:

  5. Navigate to the directory you created and extract the Terraform files.

  6. Initialize Terraform in your project directory:

  7. Apply your Terraform configuration using the downloaded parameter file. When prompted, enter the subscription ID:

  8. When prompted, review the actions Terraform will perform and approve them by entering yes.

The template is deployed, and your outpost is created in Connected status. To view the outpost and its status, see View and manage outposts.

Azure

Note: If you deploy the outpost with your own pre-created Entra ID app registration, follow the same steps. The Terraform runner identity must be an owner of your app registration. For details, see Bring your own Azure app registration (BYOA).

  1. Check prerequisites: Before you begin, ensure you have:

    • An active Azure subscription.

    • Installed the Azure CLI tool.

    • Permission to deploy a custom template and create its resources in Microsoft Azure on the designated outpost subscription scope. The onboarding script also creates custom role definitions and role assignments, which requires permission to manage access (Azure RBAC). Assign one of the following at the subscription scope:

      • The Owner role, or

      • The Contributor role together with the User Access Administrator role (for strict least-privilege, also add the Role Definition Administrator role).

      In Microsoft Entra ID, you also need the Cloud Application Administrator or Application Administrator privileged role.

    • Installed Terraform 1.9.4 or above on your local machine. You can download Terraform from the official Terraform website and follow the installation instructions for your operating system.

    • A static egress IP assigned to the machine running this Terraform. This is used to configure the Azure Storage IP whitelist (Recommended). Without this, future runs of this Terraform may fail on Azure storage configurations.

  2. Open your local terminal (such as Command Prompt, PowerShell, or Terminal).

  3. Log in to your Azure account using the Azure CLI:

  4. If prompted, select the subscription_id of the designated subscription, or run:

    Where <subscription_id> is the subscription ID of the designated subscription.

  5. Create a directory on your local machine to store and run the Terraform code. If you are creating more than one outpost, you need a separate directory for each one:

  6. Navigate to the directory you created and extract the Terraform files.

  7. Initialize Terraform in your project directory:

  8. Apply your Terraform configuration using the downloaded parameter file. When prompted, enter the subscription ID:

  9. When prompted for var.input_ip_whitelist, you can leave it empty to enable access from any public IP to the storage accounts. We recommend you to limit access to selected IPs. To limit access, enter a comma-separated list of public IP addresses, including your local machine's egress IP (to enable the completion of the Terraform run). For example: 8.8.8.8, 8.8.4.4

  10. Review the actions Terraform will perform and approve them by entering yes.

  11. Back up the Terraform state using one of the following methods, so that Terraform can upgrade or destroy the resources that it created for the outpost:

    • Create copies of the terraform.tfstate and terraform.tfstate.backup files. When you need to upgrade or destroy the outpost resources, move the copies to the working folder.

    • Use a backend block in your Terraform configuration to save the state. For more information, see Backend block configuration overview.

The template is deployed, and your outpost is created in Connected status. To view the outpost and its status, see View and manage outposts.

GCP
  1. Check prerequisites: Before you begin, ensure you have:

    • A GCP account.

    • Permission to create the required resources in your Google Cloud project. The onboarding script also creates custom IAM roles and project IAM policy bindings, which requires IAM administration permission. Grant one of the following at the project level:

      • The Owner (roles/owner) role, or

      • The Role Administrator (roles/iam.roleAdmin) and Project IAM Admin (roles/resourcemanager.projectIamAdmin) roles, together with the Editor (roles/editor) role (or the individual service admin roles for Compute, Storage, Pub/Sub, and Secret Manager).

    • Installed Terraform on your local machine. You can download Terraform from the official Terraform website and follow the installation instructions for your operating system.

    • Installed the GCP gcloud CLI tool.

  2. Open your local terminal (such as Command Prompt, PowerShell, or Terminal).

  3. Log in to your GCP account using the gcloud CLI:

  4. Create a directory on your local machine to store and run the Terraform code. If you are creating more than one outpost, you need a separate directory for each one:

  5. Navigate to the directory you created and extract the Terraform files.

  6. Initialize Terraform in your project directory:

  7. Apply your Terraform configuration using the downloaded parameter file. When prompted, enter the project ID:

  8. When prompted, review the actions Terraform will perform and approve them by entering yes.

The template is deployed, and your outpost is created in Connected status. To view the outpost and its status, see View and manage outposts.

Step 4. Verify the outpost

After the template deployment completes:

  • (Azure) Check FICs: In the Azure portal, go to your App Registration → Certificates & secrets → Federated credentials. You should see federated identity credentials created by Cortex XDR.

  • Check Cortex XDR: The outpost appears in Connected status on the All Outposts page at Settings → Data Sources & Integrations → Outposts.

The necessary permissions are granted and a notification is sent to Cortex XDR with the execution details.

What's next?

Start (or continue) CSP onboarding. Run the onboarding wizard to generate an authentication template for AWS, GCP, or Azure.

Last updated

Was this helpful?