You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sentinel/sap/deploy-sap-btp-solution.md
+57-8Lines changed: 57 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,7 @@ Before you begin, verify that:
25
25
- Your organization uses SAP BTP (in a Cloud Foundry environment) to streamline interactions with SAP applications and other business applications.
26
26
- You have an SAP BTP account (which supports BTP accounts in the Cloud Foundry environment). You can also use a [SAP BTP trial account](https://cockpit.hanatrial.ondemand.com/).
27
27
- You have the SAP BTP auditlog-management service and service key (see [Set up the BTP account and solution](#set-up-the-btp-account-and-solution)).
28
-
- You can create an [Azure function app](../../azure-functions/functions-overview.md) by using the Microsoft.Web/Sites, Microsoft.Web/ServerFarms, Microsoft.Insights/Components, and Microsoft.Storage/StorageAccounts permissions.
29
-
- You can create [data collection rules and endpoints](../../azure-monitor/essentials/data-collection-rule-overview.md) by using these permissions:
30
-
- Microsoft.Insights/DataCollectionEndpoints and Microsoft.Insights/DataCollectionRules.
31
-
- Assign the Monitoring Metrics Publisher role to the function app.
32
-
- You have an [Azure Key Vault](../../key-vault/general/overview.md) to hold the SAP BTP client secret.
28
+
- You have the Sentinel Contributor role on the target Sentinel workspace.
33
29
34
30
## Set up the BTP account and solution
35
31
@@ -69,14 +65,14 @@ To set up the BTP account and the solution:
69
65
1. Select the resource group and the Microsoft Sentinel workspace in which to deploy the solution.
70
66
1. Select **Next** until you pass validation, and then select **Create**.
71
67
1. When the solution deployment is finished, return to your Microsoft Sentinel workspace and select **Data connectors**.
72
-
1. In the search bar, enter **BTP**, and then select **SAP BTP (using Azure Function)**.
68
+
1. In the search bar, enter **BTP**, and then select **SAP BTP**.
73
69
1. Select **Open connector page**.
74
-
1. On the connector page, make sure that you meet the required prerequisites and complete the configuration steps. In step 2 of the data connector configuration, specify the parameters that you defined in step 4 in this section.
70
+
1. On the connector page, make sure that you meet the required prerequisites and complete the configuration steps. Click **Add account**.
71
+
1. Specify the parameters that you defined in step 4 in this section. The subaccount name specified will be projected as a column in the SAPBTPAuditLog_CL table. This can be used to filter the logs when adding multiple subaccounts.
75
72
76
73
> [!NOTE]
77
74
> 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).
78
75
79
-
1. Complete all configuration steps, including the function app deployment and the Azure Key Vault access policy configuration.
80
76
1. Make sure that BTP logs are flowing into the Microsoft Sentinel workspace:
81
77
82
78
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.
@@ -105,6 +101,59 @@ You also can retrieve the logs via the UI:
105
101
1. In the new instance, create a service key.
106
102
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**).
107
103
104
+
## Rotating the BTP client secret
105
+
106
+
It is recommended to periodically rotate the client secrets of the BTP subaccounts. The following example script can be used to demonstrate the process of updating a data connector. The script will fetch the secret from Azure Key Vault and update the existing data connector with a new secret.
107
+
108
+
1. Collect the required parameters for the script, subscription id, resource group and workspace name of the Sentinel workspace. The key vault and name of the key vault secret, and the name of the data connector to update.
109
+
110
+
> [!NOTE]
111
+
> Identify the name of the data connector by opening the SAP BTP data connector in data connectors blade. It should look like "BTP_{connector name}".
0 commit comments