Update UserAssignedPrivilegedRole.yaml
Adding a section to not alert for PIM when uncommented
This commit is contained in:
Родитель
1d76b656ec
Коммит
ac607bebf2
|
@ -31,6 +31,8 @@ query: |
|
|||
| where RoleName contains "Admin"
|
||||
| extend InitiatingApp = tostring(parse_json(tostring(InitiatedBy.app)).displayName)
|
||||
| extend Initiator = iif(isnotempty(InitiatingApp), InitiatingApp, tostring(parse_json(tostring(InitiatedBy.user)).userPrincipalName))
|
||||
// Uncomment below to not alert for PIM activations
|
||||
//| where Initiator != "MS-PIM"
|
||||
| extend Target = tostring(TargetResources.userPrincipalName)
|
||||
| summarize by bin(TimeGenerated, 1h), OperationName, RoleName, Target, Initiator, Result
|
||||
| extend AccountCustomEntity = Target
|
||||
|
@ -43,5 +45,5 @@ entityMappings:
|
|||
fieldMappings:
|
||||
- identifier: FullName
|
||||
columnName: AccountCustomEntity
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
kind: scheduled
|
||||
|
|
Загрузка…
Ссылка в новой задаче