Skip to content

Commit

Permalink
Update vimUserManagementSentinelOne.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vakohl authored Mar 7, 2024
1 parent 504e326 commit 64b9100
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ ParserQuery: |
| parse description_s with * "with id=" id: string "," restOfMessage
| lookup EventTypeLookup on activityType_d
| extend
EventType = iff(activityType_d in (67, 42) and primaryDescription_s has "enabled", "UserEnabled", "UserDisabled")
EventType = case (
activityType_d in (67, 42) and primaryDescription_s has "enabled",
"UserEnabled",
activityType_d in (67, 42) and primaryDescription_s has "disabled",
"UserDisabled",
EventType
)
| where (array_length(eventtype_in) == 0 or (EventType in (eventtype_in)))
| extend
PreviousPropertyValue = case(
Expand Down Expand Up @@ -212,4 +218,4 @@ ParserQuery: |
actorusername_has_any = actorusername_has_any,
eventtype_in = eventtype_in,
disabled = disabled
)
)

0 comments on commit 64b9100

Please sign in to comment.