View a markdown version of this page

Prerequisites for integrating Security Hub with Microsoft Azure - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Prerequisites for integrating Security Hub with Microsoft Azure

Before you integrate Microsoft Azure with Amazon Security Hub, complete the following tasks in your Amazon and Azure environments. This helps ensure that you and Security Hub have the resources and permissions that you need to monitor your Azure resources.

Prerequisites for Amazon

Verify that you have the following in your Amazon Web Services account:

Amazon Security Hub enabled

Security Hub must be enabled in the Amazon Web Services account and Amazon Web Services Region where you want to create the connector. You must enable Security Hub before creating an Azure connector.

Amazon Security Hub CSPM enabled

Security Hub CSPM must be enabled in the same Amazon Web Services account and Amazon Web Services Region. The Azure integration relies on Security Hub CSPM for resource configuration evaluation.

Console IAM permissions

The IAM principal creating the connector must have the following permissions:

  • config:GetConnector

  • config:ListConnectors

  • config:PutConnector

IAM Outbound Identity Federation enabled

You must enable IAM Outbound Identity Federation in your Amazon Web Services account. This feature allows Amazon services to authenticate to external identity providers (such as Microsoft Entra ID) using federated credentials rather than long-lived secrets.

After enabling Outbound Identity Federation, note the Token Issuer URL. This URL follows the format:

https://uuid.tokens.sts.global.api.aws

You will need this URL when configuring federated identity credentials in Azure.

Prerequisites for Microsoft Azure

Verify that you have the following in your Azure environment:

Azure tenant

You must have an Azure tenant in the Azure commercial cloud. Azure Government and Azure China are not supported.

Microsoft Entra ID log availability

Resource recording requires Microsoft Graph audit logs and sign-in logs from your Microsoft Entra ID tenant. Some Microsoft Entra ID logs require Microsoft Entra ID P1 or P2 licensing.

If the tenant lacks required logs, resource recording might report partial failures. The app registration and Azure role assignments do not supply missing log data.

Global Administrator role

You must have the Global Administrator role in Microsoft Entra ID to configure the Azure environment. This role is required to register applications, grant admin consent for Microsoft Graph API permissions, assign RBAC roles at the tenant root management group scope, and configure diagnostic settings for Entra ID Audit Logs.

In addition to Global Administrator, you need the following Azure RBAC roles to create the resources that the integration requires:

  • User Access Administrator (or Owner) at the root scope (/) – to assign RBAC roles at the tenant root management group scope.

  • Resource Policy Contributor (or Owner) at the tenant root management group scope – to create the Azure Policy definitions and assignments that automate diagnostic settings and remediation.

  • Contributor (or Owner) at the subscription scope that hosts the Event Hub – to create the Event Hub namespace and related resources.

Note

In many organizations, the Azure Global Administrator and the Amazon security administrator are different people. The Azure setup can be completed independently using the generated setup script.

After you complete these tasks, you are ready to configure your Azure environment.