Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deploy the Microsoft Sentinel solution for SAP Business Technology Platform (BTP) to collect audit and activity logs from BTP infrastructure and apps, detect suspicious activity, and investigate threats. For an overview, see Microsoft Sentinel Solution for SAP BTP.
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 SAP BTP solution release notes for more details. Consider the SAP BTP mass onboarding 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.
- You have the SAP BTP auditlog-management service and service key (see Set up the BTP Subaccount and solution).
- To ingest application vulnerability findings, you have the SAP Application Vulnerability Report Service enabled and a service key for it. This connector uses separate credentials from the SAP BTP audit-log connector.
- 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:
After you can sign in to your BTP Subaccount (see the deployment prerequisites), follow the audit log retrieval steps on the SAP BTP system.
In the SAP BTP cockpit, select the Audit Log Management Service.
Create an instance of the Audit Log Management Service in the BTP subaccount.
Create a service key and record the values for
url,uaa.clientid,uaa.clientsecret, anduaa.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
- url:
Sign in to the Azure portal.
Go to the Microsoft Sentinel service.
Select Content hub, and in the search bar, search for BTP.
Select SAP BTP.
Select Install.
For more information about how to manage the solution components, see Discover and deploy Microsoft Sentinel out-of-the-box content.
Select Create.
Select the resource group and the Microsoft Sentinel workspace in which to deploy the solution.
Select Next until you pass validation, and then select Create.
When the solution deployment is finished, return to your Microsoft Sentinel workspace and select Data connectors.
In the search bar, enter BTP, and then select SAP BTP.
Select Open connector page.
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.
Specify the parameters that you defined earlier during the configuration. The subaccount name specified is projected as a column in the
SAPBTPAuditLog_CLtable 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 SAP BTP account auditing configuration considerations.
Make sure that BTP logs are flowing into the Microsoft Sentinel workspace:
- 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.
- Allow 20 to 30 minutes for the logs to start flowing.
- On the SAP BTP connector page, confirm that Microsoft Sentinel receives the BTP data, or query the SAPBTPAuditLog_CL table directly.
Enable the SAP BTP workbook and the SAP BTP built-in analytics rules that are provided as part of the solution by following the guidelines for deploying Microsoft Sentinel analytics rules.
Configure the Application Vulnerability Report connector (Preview)
Important
This connector is in Preview. The Azure Preview Supplemental Terms include additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
Use this connector to ingest findings from the SAP Application Vulnerability Report Service. It can monitor SAP BTP apps in multiple subaccounts across regions. It doesn't share the service key or credentials used by the SAP BTP audit-log connector.
In SAP BTP, configure the Application Vulnerability Report Service and create a dedicated service key. For more information, see the SAP Finding Provider Service API.
From the service key, record the Finding Provider API URL (
url), authorization server URL (uaa.url), client ID (uaa.clientid), and client secret (uaa.clientsecret). Also record the subaccount ID.In your Microsoft Sentinel workspace, select Data connectors and search for Application Vulnerability Report for SAP BTP.
Open the connector page, select Add account, and enter the subaccount name and ID, client ID and secret, authorization server URL, and Finding Provider API URL.
Configure the advanced options if needed:
- Polling Frequency: The connector polls every 60 to 120 minutes. The default is 60 minutes.
- Log Ingest Delay: The delay, in minutes, used to account for findings published late by SAP BTP. The supported range is 120 to 300 minutes. The default is 300 minutes.
Submit the account configuration to save the connection.
Verify that findings arrive in the
SAPBTPAVL_CLtable. Allow for the configured log-ingest delay before expecting recent findings.Enable the SAP BTP - Use of custom app with high or critical vulnerability analytics rule and use the Application Vulnerabilities tab in the SAP BTP workbook. For more information, see SAP BTP security content.
Learn more about the integration of SAP Application Vulnerability Report Service with Microsoft Sentinel for SAP in the SAP community blog post.
Note
To onboard SAP BTP subaccounts at scale, API and CLI based approaches are recommended. Get started with the SAP BTP onboarding script library.
Consider your account auditing configurations
As part of deployment, 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.
The API documentation describes how to enable the audit log retrieval by using the Cloud Foundry command-line interface (CLI).
You also can retrieve the logs via the UI:
- In your subaccount in SAP Service Marketplace, create an instance of Audit Log Management Service.
- In the new instance, create a service key.
- 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 the SAP BTP onboarding script library.
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 (SAP blog).
The SAP BTP key rotation script library demonstrates the automatic process of updating an existing data connector with a new secret.