Azure-Sentinel/Playbooks/Get-GeoFromIPandTagIncident...
Rudi Jubran 466d619981
Update azuredeploy.json
2020-12-24 00:59:14 -05:00
..
Readme.md Update Readme.md 2020-12-23 10:23:13 -05:00
azuredeploy.json Update azuredeploy.json 2020-12-24 00:59:14 -05:00

Readme.md

Author: Rudi Jubran

Based on original playbook by: Nicholas DiCola (Get-GeoFromIPAndTagIncident)

This playbook will take the IP address entities from the Incident and query a Geo-IP API to geo-locate the IP Address. It will then write the City, Country, and Account entites to tags on the Incident. Then, these tags are compared to a user-defined condition, and unexpected City/Country/User become alerts. Expected incidents are closed.

In summary, according to Incident tags, the playbook will either:

  1. Close the incident (If incident matches expected country/city/user)
  2. Set the Incident to "In Progress", and email an alert containing the user, IP, geo tag and timestamp. (If incident does not match defined country/city/user)

Configure the following via Logic App Designer:

Define expected tags:

image

Define "to" address for alerts:

image

Deploy to Azure