Azure-Sentinel/Playbooks/Get-GeoFromIPandTagIncident...
Lior Tamir aad48299ca Update playbook trigger names 2022-02-22 17:02:56 +02:00
..
Readme.md Updating Deploy buttons and links part 1 2021-06-16 00:25:40 +00:00
azuredeploy.json Update playbook trigger names 2022-02-22 17:02:56 +02: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 Deploy to Azure Gov