Microsoft Teams message geoIP map data
Just wondering if anyone had any success with sending a webhook over to MS Teams that included the map geoIP data? For example, someone successfully logs on to an O365 account, but fails the 2FA challenge. You can get the client IP address from the JSON via Microsoft app.
-
Hi Patrick,
If you are using our geo lookup operator against a set of IPs from the Teams logs, for example:
| lookup latitude, longitude, country_code, country_name, region, city, postal_code from geo://location on ip = src_ip
Any of those resulting geo fields can be output in the JSON payload with the {{Results.fieldname}} variable. So if you wanted to include all of the countries, you could use this sort of logic for the payload configuration.
{
"title": "Country",
"value": "{{Results.country_name}}"
}./Jay Schwegler
Please sign in to leave a comment.
Comments
2 comments