Skip to content

Commit 893a919

Browse files
committed
ofer's comment
1 parent 62437aa commit 893a919

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

articles/sentinel/sap/sap-solution-log-reference.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: batamig
55
ms.author: bagol
66
ms.topic: reference
77
ms.custom: mvc, ignite-fall-2021
8-
ms.date: 01/11/2024
8+
ms.date: 01/15/2024
99
---
1010

1111
# Microsoft Sentinel solution for SAP® applications data reference
@@ -305,17 +305,20 @@ The [Microsoft Sentinel solution for SAP® applications](solution-overview.md) u
305305

306306
1. Add the **SAPUsersGetVIP** function in your analytics rules to request the lists of users you've defined to be excluded from alerts.
307307

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.
309311

310312
```kusto
311313
// Execution of Obsolete/Insecure Program
312314
let ObsoletePrograms = _GetWatchlist("SAP - Obsolete Programs");
313315
// 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;
317320
// Query logic
318-
SAPAuditLog
321+
SAPAuditLog
319322
| where MessageID == 'AUW'
320323
| where ABAPProgramName in (ObsoletePrograms) // The program is obsolete
321324
| join kind=leftantisemi excludedUsers on $left.User == $right.User2Exclude
@@ -324,28 +327,28 @@ SAPAuditLog
324327
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.
325328

326329
> [!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.
328331
>
329332
330333
**Parameters:**
331334

332335
|Name |Description |Default value |
333336
|---------|---------|---------|
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` |
336339

337340

338341
| Source | Field | Description | Notes
339342
| ------------- | ------------- | ------------- | -------------
340343
| The *SAP User Config* watchlist | SearchKey | Search Key |
341344
| The *SAP User Config* watchlist | SAPUser | The SAP User | OSS, DDIC
342-
| The *SAP User Config* watchlist | Tags | string of tags assigned to user | RunObsoleteProgOK, SAP_ROLE, SAP_PROFILE |
345+
| The *SAP User Config* watchlist | Tags | String of tags, SAP roles, or SAP profiles assigned to user | RunObsoleteProgOK |
343346
| The *SAP User Config* watchlist | User's Microsoft Entra Object ID | Microsoft Entra Object ID |
344347
| The *SAP User Config* watchlist | User Identifier | AD User Identifier |
345348
| The *SAP User Config* watchlist | User on-premises Sid | |
346349
| The *SAP User Config* watchlist | User Principal Name | |
347-
| The *SAP User Config* watchlist | TagsList | A list of tags assigned to user | ChangeUserMasterDataOK;RunObsoleteProgOK;SAP_ROLE;SAP_PROFILE
348-
| Logic | TagsIntersect | A set of tags that matched SearchForTags | ["ChangeUserMasterDataOK","RunObsoleteProgOK","SAP_ROLE","SAP_PROFILE"]
350+
| The *SAP User Config* watchlist | TagsList | A list of tags, SAP roles, or SAP profiles assigned to user | ChangeUserMasterDataOK;RunObsoleteProgOK |
351+
| Logic | TagsIntersect | A set of tags that matched SearchForTags | ["ChangeUserMasterDataOK","RunObsoleteProgOK"] |
349352
| Logic | SpecialFocusTagged | Special focus indication | True, False
350353
| Logic | IntersectionSize | The number of intersected Tags |
351354

articles/sentinel/whats-new.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ The listed features were released in the last three months. For information abou
2727

2828
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:
2929

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+
3132
- The **SAP User Config** watchlist now supports using wildcards in the **SAPUser** field to exclude all users with a specific syntax.
3233

3334
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

Comments
 (0)