Proposed Pull Request Change

title description author ms.author ms.topic ms.custom ms.date
Deploy Microsoft Sentinel solution for SAP BTP Learn how to deploy the Microsoft Sentinel solution for SAP Business Technology Platform (BTP) system. batamig bagol how-to devx-track-azurepowershell 07/17/2024
πŸ“„ Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Content Truncation Detected
The generated rewrite appears to be incomplete.
Original lines: -
Output lines: -
Ratio: -
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Deploy Microsoft Sentinel solution for SAP BTP description: Learn how to deploy the Microsoft Sentinel solution for SAP Business Technology Platform (BTP) system. author: batamig ms.author: bagol ms.topic: how-to ms.custom: devx-track-azurepowershell ms.date: 07/17/2024 #Customer intent: As a security administrator, I want to deploy a monitoring solution for SAP BTP so that I can detect and respond to threats and suspicious activities in my SAP environment. --- # Deploy the Microsoft Sentinel solution for SAP BTP This article describes how to deploy the Microsoft Sentinel solution for SAP Business Technology Platform (BTP) system. The Microsoft Sentinel solution for SAP BTP monitors and protects your SAP BTP system. It collects audit logs and activity logs from the BTP infrastructure and BTP-based apps, and then detects threats, suspicious activities, illegitimate activities, and more. [Read more about the solution](sap-btp-solution-overview.md). > [!IMPORTANT] > An architectural shift in the data connector v3.0.11 to cater for delayed SAP BTP logs requires re-onboarding of SAP subaccounts added prior to that change. See the [release notes](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SAP%20BTP/ReleaseNotes.md) for more details. Consider the [mass onboarding tools](https://github.com/Azure/Azure-Sentinel/tree/master/Solutions/SAP%20BTP/Tools) for convenience. ## Prerequisites Before you begin, verify that: - Theβ€―Microsoft Sentinel solution is enabled. - You have a defined Microsoft Sentinel workspace, and you have read and write permissions to the workspace. - Your organization uses SAP BTP (in a Cloud Foundry environment) to streamline interactions with SAP applications and other business applications. - You have an SAP BTP Subaccount (which supports BTP Subaccounts in the Cloud Foundry environment). You can also use a [SAP BTP trial account](https://cockpit.hanatrial.ondemand.com/). - You have the SAP BTP auditlog-management service and service key (see [Set up the BTP Subaccount and solution](#set-up-the-btp-subaccount-and-solution)). - You have the Microsoft Sentinel Contributor role on the target Microsoft Sentinel workspace. ## Set up the BTP subaccount and solution To set up the BTP subaccount and the solution manually from the SAP BTP cockpit and Azure portal, follow these steps: 1. After you can sign in to your BTP Subaccount (see the [prerequisites](#prerequisites)), follow the [audit log retrieval steps](https://help.sap.com/docs/btp/sap-business-technology-platform/audit-log-retrieval-api-usage-for-subaccounts-in-cloud-foundry-environment) on the SAP BTP system. 1. In the SAP BTP cockpit, select the **Audit Log Management Service**. :::image type="content" source="./media/deploy-sap-btp-solution/btp-audit-log-management-service.png" alt-text="Screenshot that shows selecting the BTP Audit Log Management Service." lightbox="./media/deploy-sap-btp-solution/btp-audit-log-management-service.png"::: 1. Create an instance of the Audit Log Management Service in the BTP subaccount. :::image type="content" source="./media/deploy-sap-btp-solution/btp-audit-log-sub-account.png" alt-text="Screenshot that shows creating an instance of the BTP subaccount." lightbox="./media/deploy-sap-btp-solution/btp-audit-log-sub-account.png"::: 1. Create a service key and record the values for `url`, `uaa.clientid`, `uaa.clientsecret`, and `uaa.url`. These values are required to deploy the data connector. Here are examples of these field values: - **url**: `https://auditlog-management.cfapps.us10.hana.ondemand.com` - **uaa.clientid**: `00001111-aaaa-2222-bbbb-3333cccc4444|auditlog-management!b1237` - **uaa.clientsecret**: `aaaaaaaa-0b0b-1c1c-2d2d-333333333333` - **uaa.url**: `https://trial.authentication.us10.hana.ondemand.com` 1. Sign in to the [Azure portal](https://portal.azure.com). 1. Go to the Microsoft Sentinel service. 1. Select **Content hub**, and in the search bar, search for *BTP*. 1. Select **SAP BTP**. 1. Select **Install**. For more information about how to manage the solution components, see [Discover and deploy out-of-the-box content](../sentinel-solutions-deploy.md). 1. Select **Create**. :::image type="content" source="./media/deploy-sap-btp-solution/sap-btp-create-solution.png" alt-text="Screenshot that shows how to create the Microsoft Sentinel solution for SAP BTP." lightbox="./media/deploy-sap-btp-solution/sap-btp-create-solution.png"::: 1. Select the resource group and the Microsoft Sentinel workspace in which to deploy the solution. 1. Select **Next** until you pass validation, and then select **Create**. 1. When the solution deployment is finished, return to your Microsoft Sentinel workspace and select **Data connectors**. 1. In the search bar, enter **BTP**, and then select **SAP BTP**. 1. Select **Open connector page**. 1. On the connector page, make sure that you meet the required prerequisites listed and complete the configuration steps. When you're ready, select **Add account**. 1. Specify the parameters that you defined earlier during the configuration. The subaccount name specified is projected as a column in the `SAPBTPAuditLog_CL` table and can be used to filter the logs when you have multiple subaccounts. Consider the advanced options, if needed: - **Polling Frequency**: The frequency at which the connector polls for new data. The default is 1 minute. - **Log Ingest Delay**: The estimated delay between the time the event is generated in SAP BTP and the time it's available on the SAP BTP audit log service for ingestion in Microsoft Sentinel. The default is 20 minutes. > [!NOTE] > Retrieving audits for the global account doesn't automatically retrieve audits for the subaccount. Follow the connector configuration steps for each of the subaccounts you want to monitor, and also follow these steps for the global account. Review these [account auditing configuration considerations](#consider-your-account-auditing-configurations). 1. Make sure that BTP logs are flowing into the Microsoft Sentinel workspace: 1. Sign in to your BTP subaccount and run a few activities that generate logs, such as sign-ins, adding users, changing permissions, and changing settings. 1. Allow 20 to 30 minutes for the logs to start flowing. 1. On the **SAP BTP** connector page, confirm that Microsoft Sentinel receives the BTP data, or query the **SAPBTPAuditLog_CL** table directly. 1. Enable the [workbook](sap-btp-security-content.md#sap-btp-workbook) and the [analytics rules](sap-btp-security-content.md#built-in-analytics-rules) that are provided as part of the solution by following [these guidelines](../sentinel-solutions-deploy.md#analytics-rule). > [!NOTE] > To onboard SAP BTP subaccounts at scale, API and CLI based approaches are recommended. Get started with [this script library](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SAP%20BTP/Tools/). ## Consider your account auditing configurations The final step in the deployment process is to consider your global account and subaccount auditing configurations. ### Global account auditing configuration When you enable audit log retrieval in the BTP cockpit for the global account: If the subaccount for which you want to entitle the Audit Log Management Service is under a directory, you must entitle the service at the directory level first. Only then can you entitle the service at the subaccount level. ### Subaccount auditing configuration To enable auditing for a subaccount, complete the steps in the [SAP subaccounts audit retrieval API documentation](https://help.sap.com/docs/btp/sap-business-technology-platform/audit-log-retrieval-api-usage-for-subaccounts-in-cloud-foundry-environment). The API documentation describes how to enable the audit log retrieval by using the Cloud Foundry CLI. You also can retrieve the logs via the UI: 1. In your subaccount in SAP Service Marketplace, create an instance of **Audit Log Management Service**. 1. In the new instance, create a service key. 1. View the service key and retrieve the required parameters from step 4 of the configuration instructions in the data connector UI (**url**, **uaa.url**, **uaa.clientid**, and **uaa.clientsecret**). ## Mass-Onboard SAP BTP subaccounts at scale To onboard SAP BTP subaccounts at scale, API and CLI based approaches are recommended. Get started with [this script library](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SAP%20BTP/Tools/). ## Rotate the BTP client secret We recommend that you periodically rotate the BTP subaccount client secrets. For an automated, platform-based approach, see our [Automatic SAP BTP trust store certificate renewal with Azure Key Vault – or how to stop thinking about expiry dates once and for all](https://community.sap.com/t5/technology-blogs-by-members/automatic-sap-btp-trust-store-certificate-renewal-with-azure-key-vault-or/ba-p/13565138) (SAP blog). This [script library](https://github.com/Azure/Azure-Sentinel/tree/master/Solutions/SAP%20BTP/Tools#key-rotation) demonstrates the automatic process of updating an existing data connector with a new secret. ## Related content - [Learn how to enable the security content](../sentinel-solutions-deploy.md#analytics-rule) - [Review the solution's security content](sap-btp-security-content.md)
Success! Branch created successfully. Create Pull Request on GitHub
Error: