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/sap-solution-log-reference.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: batamig
5
5
ms.author: bagol
6
6
ms.topic: reference
7
7
ms.custom: mvc, ignite-fall-2021
8
-
ms.date: 01/11/2024
8
+
ms.date: 01/15/2024
9
9
---
10
10
11
11
# Microsoft Sentinel solution for SAP® applications data reference
@@ -305,17 +305,20 @@ The [Microsoft Sentinel solution for SAP® applications](solution-overview.md) u
305
305
306
306
1. Add the **SAPUsersGetVIP** function in your analytics rules to request the lists of users you've defined to be excluded from alerts.
307
307
308
-
For example, use the following KQL query in your analytics rule to exclude users with the *RunObsoleteProgOK*, *SAP_ROLE*, or *SAP_PROFILE* tags from triggering alerts. If you frequently create new users that you'd like to tag with an *RFC* prefix, add a single user to the *SAP User Config* watchlist as *RFC**, and tag it as *RunObsoleteProgOK*. This excludes all users with an *RFC* prefix from triggering alerts.
308
+
For example, use the following KQL query in your analytics rule to exclude any users configured with the *RunObsoleteProgOK* tag in the *SAP_User_Config* watchlist, or any users with the *SAP_BASIS_ADMIN_ROLE* role or *SAP_ADMIN_PROFILE* profile.
309
+
310
+
When copying this sample, replace *SAP_BASIS_ADMIN_ROLE* role and *SAP_ADMIN_PROFILE* profile with your own SAP roles or profiles.
309
311
310
312
```kusto
311
313
// Execution of Obsolete/Insecure Program
312
314
let ObsoletePrograms = _GetWatchlist("SAP - Obsolete Programs");
313
315
// here you can exclude system users which are OK to run obsolete/ sensitive programs
314
-
// by adding those users in the SAP_User_Config watchlist with a tag of 'RunObsoleteProgOK', 'SAP_ROLE', or 'SAP_PROFILE']
315
-
let excludeUsersTags= dynamic(['RunObsoleteProgOK']);
316
-
let excludedUsers= SAPUsersGetVIP(SearchForTags= dynamic(["RunObsoleteProgOK","SAP_ROLE", "SAP_PROFILE"]))| summarize by User2Exclude=SAPUser;
316
+
// by adding those users in the SAP_User_Config watchlist with a tag of 'RunObsoleteProgOK'
317
+
// can also specify SAP roles or SAP profiles that group the users you would like to exclude
318
+
let excludeUsersTagsRolesProfiles= dynamic(["RunObsoleteProgOK","SAP_BASIS_ADMIN_ROLE", "SAP_ADMIN_PROFILE"]);
319
+
let excludedUsers= SAPUsersGetVIP(SearchForTags= excludeUsersTagsRolesProfiles)| summarize by User2Exclude=SAPUser;
317
320
// Query logic
318
-
SAPAuditLog
321
+
SAPAuditLog
319
322
| where MessageID == 'AUW'
320
323
| where ABAPProgramName in (ObsoletePrograms) // The program is obsolete
321
324
| join kind=leftantisemi excludedUsers on $left.User == $right.User2Exclude
@@ -324,28 +327,28 @@ SAPAuditLog
324
327
The **SAPUsersGetVIP** function is commonly used in *Deterministic and Anomalous Audit Log Monitor* alerts. Associate a tag with an SAP audit log message ID, or extend the rule template to a custom rule that matches your organization's needs.
325
328
326
329
> [!TIP]
327
-
> We recommend that contacting your SAP system admin to understand which SAP users, roles, and profiles to include in your *SAP User Config* watchlist.
330
+
> We recommend that contacting your SAP system admin to understand which SAP users, roles, and profiles to include in your *SAP_User_Config* watchlist.
328
331
>
329
332
330
333
**Parameters:**
331
334
332
335
|Name |Description |Default value |
333
336
|---------|---------|---------|
334
-
|**SearchForTags** (Optional) | When `SearchForTags` equals `All Tags`, all users are returned along with their tags. <br><br>Otherwise, only users bearing the tags specified in `SearchForTags` are returned. `TagsIntersect` shows the tags that are found, and `IntersectionSize` holds the number of tags that are found. |`dynamic('All Tags')`|
335
-
|**SpecialFocusTags** (Optional) | Returns all users bearing the tags specified in `SpecialFocusTags`, and marked those with `specialFocusTagged = true`. | `Do not return any in-focus users``|
337
+
|**SearchForTags** (Optional) | When `SearchForTags` equals `All Tags`, all users are returned along with their tags. <br><br>Otherwise, only users bearing the tags, SAP roles, or SAP profiles specified in `SearchForTags` are returned. `TagsIntersect` shows the tags that are found, and `IntersectionSize` holds the number of tags that are found. |`dynamic('All Tags')`|
338
+
|**SpecialFocusTags** (Optional) | Returns all users bearing the tags specified in `SpecialFocusTags`, and marked those with `specialFocusTagged = true`. |`Do not return any in-focus users`|
Copy file name to clipboardExpand all lines: articles/sentinel/whats-new.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,8 @@ The listed features were released in the last three months. For information abou
27
27
28
28
Use analytics rules together with the [Microsoft Sentinel solution for SAP® applications](sap/solution-overview.md) to lower the number of false positives triggered from your SAP® systems. The Microsoft Sentinel solution for SAP® applications now includes the following enhancements:
29
29
30
-
- The [**SAPUsersGetVIP**](sap/sap-solution-log-reference.md#sapusersgetvip) function now supports the *SAP_ROLE* and *SAP_PROFILE* tags, allowing you to add specific SAP roles or profiles to the *SAP User Config* watchlist instead of only individual users.
30
+
- The [**SAPUsersGetVIP**](sap/sap-solution-log-reference.md#sapusersgetvip) function now supports excluding users according to their SAP-given roles or profile.
31
+
31
32
- The **SAP User Config** watchlist now supports using wildcards in the **SAPUser** field to exclude all users with a specific syntax.
32
33
33
34
For more information, see [Microsoft Sentinel solution for SAP® applications data reference](sap/sap-solution-log-reference.md) and [Handle false positives in Microsoft Sentinel](false-positives.md).
0 commit comments