Extend Cortex XSIAM visibility into cloud assets from Microsoft Azure.
Cortex XSIAM provides a unified, normalized asset inventory for cloud assets in Microsoft Azure. This capability provides deeper visibility to all the assets and superior context for incident investigation.
To receive cloud assets from Microsoft Azure, you must configure the Data Sources settings in Cortex XSIAM using the Cloud Inventory data collector to configure the Microsoft Azure wizard. The Microsoft Azure wizard includes instructions to be completed both in Microsoft Azure and the Microsoft Azure wizard screens. After you set up data collection, Cortex XSIAM begins receiving new data from the source.
As soon as Cortex XSIAM begins receiving cloud assets, you can view the data in → , where All Assets and Specific Cloud Assets pages display the data in a table format.
To configure the Microsoft Azure cloud assets collection in Cortex XSIAM.
Open the Microsoft Azure wizard in Cortex XSIAM.
Select
→ .On the Data Sources page, click Add Data Source, search for and select Cloud Inventory, and click Connect.
Click Azure.
Define the Configure Account screen of the wizard.
Setting the connection parameters on the right-side of the screen are dependent on certain configurations in Microsoft Azure as explained below.
Select the Organization Level as either Subscription (default), Tenant, or Management Group. The Organization Level that you select changes the instructions and fields displayed on the screen.
Login to your Microsoft Azure Portal.
Search for Subscriptions, select Subscriptions, copy the applicable Subscription ID in Azure, and paste it in the Subscription ID field in the Configure Account screen wizard in Cortex XSIAM.
Note
This step is only relevant if you’ve configured the Organization Level as Subscription in the Configure Account screen in Cortex XSIAM. Otherwise, you can skip this step if the Organization Level is set to Tenant or Management Group.
Search for Management groups, select Management groups, copy the applicable ID in Azure, and paste it in the Management Group ID field in the Configure Account screen wizard in Cortex XSIAM.
Note
This step is only relevant if you’ve configured the Organization Level as Management Group in the Configure Account screen in Cortex XSIAM. Otherwise, you can skip this step if the Organization Level is set to Subscription or Tenant.
Search for Tenant properties, select Tenant properties, copy the Tenant ID in Azure, and paste it in the Tenant ID field in the Configure Account screen wizard in Cortex XSIAM.
Specify a Cortex XDR Collection Name to be displayed underneath the Cloud Inventory configuration for this Azure collection.
Click Next.
Define the Account Details screen of the wizard.
Download the Terraform script. The name of the file downloaded is dependent on the Organization Level that you configured in the Configure Account screen of the wizard.
Subscription:
cortex-xdr-azure-subscription-ro.tf
Management Group:
cortex-xdr-azure-group-ro.tf
Tenant:
cortex-xdr-azure-org-ro.tf
Warning
To run the Terraform script when configuring the Organization Level at the Tenant level, you must first ensure that you elevate user access to manage all Azure subscriptions and management groups for the User Access Administrator role. For more information, see the Microsoft Azure documentation.
Login to the Azure Cloud Shell portal, and select Bash.
Click the upload/download icon () to Upload the Terraform script to Cloud Shell, browse to the file, and click Open.
A notification with the Upload destination is displayed on the bottom-right corner of the screen.
Use the following commands to upload the Terraform script, which you can copy from the Account Details screen in Cortex XSIAM using the copy icon ().
terraform init
: Initializes the Terraform script. You need to wait until the initialization is complete before running the next command as indicated in the image below.terraform apply
: When running this command you will be asked to enter the following values, which are dependent on the Organization Level that you configured.Note
Before running this command, ensure that your Azure CLI client is logged in by running
az login
. From the returned message from the login command, copy the code provided, go to the website mentioned in the message, and use the code to authenticate.For more information, see Sign in with Azure CLI.
var.subscription_id
: Specify the Subscription ID that you configured in the Configure Account screen of the wizard from Microsoft Azure. This value only needs to be specified if the Subscription ID is set to Subscription.var.management.group_id
: Specify the Management Group ID that you configured in the Configure Account screen of the wizard from Microsoft Azure. This value only needs to be specified if the Microsoft Group is set to Management Group.var.tenant_id
: Specify the Tenant ID that you configured in the Configure Account screen of the wizard from Microsoft Azure.
Before the action completes, you need to confirm whether you want to perform these actions, and after the process finishes running an Apply complete indication is displayed.