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

Forward notifications to AWS Security Hub

Configure Cortex XDR notification forwarding to AWS Security Hub with an AWS IAM role, an authorized party ID, a default region, and optional asset-region routing.

You can forward issues to AWS Security Hub. Cortex XDR converts each issue to a finding in the AWS Security Finding Format (ASFF) and sends it to AWS Security Hub, where the finding appears with the product name Cortex and the company name Palo Alto Networks.

For more information about the finding fields, see AWS Security Hub finding format.

NOTE

  • Only issues can be forwarded to AWS Security Hub. Cases, Agent Audit Logs, and Management Audit Logs are not supported for this destination.

  • You don't need to configure egress in the Cortex Gateway before you forward issues to AWS Security Hub. The AWS Security Hub endpoints are already approved for Cortex XDR.

Prerequisites

Verify that you have the following:

  • Cortex XDR permissions: Permissions to add external applications and create forwarding configurations in Cortex XDR.

  • AWS permissions: Permissions in your AWS account to enable AWS Security Hub, create IAM roles, and attach IAM policies.

  • AWS account ID: The 12-digit ID of the AWS account that receives the findings. For example, 123456779012.

Enable AWS Security Hub

AWS Security Hub must be enabled in the AWS region that you plan to use as the default region. If you plan to route issues to the AWS region of each asset, enable AWS Security Hub in the AWS Management Console for every region where your assets reside.

Generate the authorized party ID

  1. In Cortex XDR, go to Settings → Configurations → Integrations → External Applications → Add Application and select AWS Security Hub. Copy the Authorized party ID for your AWS configuration.

  2. Leave this dialog box open to complete the application configuration after you configure the IAM role and permissions in AWS.

Configure the IAM role and permissions in AWS

Cortex XDR needs permission to assume a role in your account.

  1. In AWS, go to IAM → Roles → Create role, select Custom trust policy, and enter the trusted entity JSON. Replace the sub condition with your authorized party ID. The following is an example:

  2. Create and attach a policy that allows securityhub:BatchImportFindings. Verify that the resource matches the default product ARN of your account. To route issues to the AWS region of each asset, use a wildcard (*) for the region. The following is an example:

    NOTE

    For AWS GovCloud (US) or AWS China regions, replace arn:aws with arn:aws-us-gov or arn:aws-cn.

  3. Copy the role ARN (Amazon Resource Name) of the role that you created. For example, arn:aws:iam::123456789012:role/cortex-securityhub-notifications.

Complete external application configuration in Cortex XDR

  1. Go back to Cortex XDR to complete the external application configuration.

  2. In Account Id, enter your 12-digit AWS account ID.

  3. Enter the instance name and an optional description.

  4. (Optional) Select Route alerts to the asset's AWS region. If you do not enter a region, it uses the Default Region. When you select this option, Cortex XDR sends each finding to the AWS region of each AWS asset associated with the issue. If an issue has assets in more than one AWS region, Cortex XDR sends the finding to each region. Cortex XDR sends the finding to the default region when the issue has no AWS asset, the asset is a global resource such as an IAM resource, the asset region isn't a valid AWS region, or sending to the asset region fails.

  5. For Default Region, select the AWS region where AWS Security Hub is enabled. If you didn't select the Route alerts to the asset's AWS region option, Cortex XDR sends every finding to this region.

  6. In Role ARN, paste the role ARN from the role that you created.

  7. Click Test. Cortex XDR verifies that it can assume the role and sends a test finding to AWS Security Hub in the default region. The test finding can take a few minutes to appear in Security Hub → Findings.

  8. Click Connect.

Configure notification forwarding

Follow the instructions in Configure notification forwarding. Select Issues as the data type, and in the forward destination step, enable AWS Security Hub and select the instance name. Cortex XDR always sends issues to AWS Security Hub in ASFF.

Last updated

Was this helpful?