Forward notifications to AWS Security Hub
Configure Cortex XSIAM 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 XSIAM 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.
Prerequisites
Verify that you have the following:
Cortex XSIAM permissions: Permissions to add external applications and create forwarding configurations in Cortex XSIAM.
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
In Cortex XSIAM, go to Settings → Configurations → Integrations → External Applications → Add Application and select AWS Security Hub. Copy the Authorized party ID for your AWS configuration.
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 XSIAM needs permission to assume a role in your account.
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:
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:
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 XSIAM
Go back to Cortex XSIAM to complete the external application configuration.
In Account Id, enter your 12-digit AWS account ID.
Enter the instance name and an optional description.
(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 XSIAM 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 XSIAM sends the finding to each region. Cortex XSIAM 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.
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 XSIAM sends every finding to this region.
In Role ARN, paste the role ARN from the role that you created.
Click Test. Cortex XSIAM 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.
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 XSIAM always sends issues to AWS Security Hub in ASFF.
Last updated
Was this helpful?
