Forum Discussion
stianhoydal
Oct 05, 2020Brass Contributor
Add comment to incident with IP information
Greetings everyone! I am currently trying to set up a playbook that takes the IP from a incident, looks up this ip(ip lookup or other similar services), and places a comment on the incident regar...
- Oct 05, 2020Hi
The Azure Sentinel Github page is an awesome resource as it's actively maintained by the Sentinel team.
Here are a few examples:
https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Get-IPReputation
https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Get-GeoFromIpAndTagIncident
https://secureinfra.blog/2020/09/03/how-to-add-geographical-data-for-ip-addresses-to-an-azure-sentinel-incident/
I have been playing around with Logic Apps heavily. So feel free to reply if you are stuck somewhere
stianhoydal
Oct 06, 2020Brass Contributor
Well.. After some trial and error I cannot seem to make this work for me. I've read something about playbooks not necessarily working without the correct permission, you wouldn't happen to know which roles are needed to make functioning playbooks?
P.S. I am currently only assigned a Security Operator role.
GaryBushey
Oct 06, 2020Bronze Contributor
stianhoydal If you look at this page: https://docs.microsoft.com/en-us/azure/sentinel/roles#roles-and-allowed-actions, you will notice that to work with Playbooks you need Azure Sentinel Contributor + Logic App Contributor roles.
- stianhoydalOct 06, 2020Brass Contributor
I went in and checked, and i do have these permissions, but the error message i get, when running the logic app Thijs Lecomte linked, persists. Thanks for linking the resource though, it was nice to clear up what permissions i actually need.
- Thijs LecomteOct 06, 2020Bronze ContributorCould you share the Logic App and the exact error please?
Have you linked an Analytics rule to an alert?- stianhoydalOct 07, 2020Brass Contributor
That seems to have been my mistake, i never did link it to an alert, so no wonder it didn't find anything. But now it works like a charm. Thanks for the help.