Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: azure
service: signinlogs
detection:
# You have to tune the rule for your environment before use it
selection:
properties.message|contains: Add memmber to role completed (PIM aciviation)
# Countries you DO operate out of e,g GB, use list for mulitple
Location|expand: '%LegitCountries%'
IPaddress|expand: '%UnApprovedIp%'
# unapproved browser, operating system
DeviceInfo|expand: '%UnApprovedDevice%'
DeviceDetail.isCompliant: 'false'
Status:
- Sucess
- failure
condition: selection
falsepositives:
- Not using a PAW/SAW in the environment