Jun 15 2020
09:06 AM
- last edited on
Dec 23 2021
04:50 AM
by
TechCommunityAP
Jun 15 2020
09:06 AM
- last edited on
Dec 23 2021
04:50 AM
by
TechCommunityAP
Hello,
I have several JSON templates for Playbooks and Logic apps. I can deploy them successfully with any issues. However, I have to manually authorize API connections used in Sentinel Playbook.
Is there a script/solution to authorize API connections without user interaction?
Jun 16 2020 02:51 AM
Jul 12 2021 11:35 AM - edited Jul 12 2021 11:38 AM
@Thijs Lecomte Do you have a walkthrough for creating a playbook template?
I know there are some instructions here:
But a walkthrough or video example would greatly help.
Jul 13 2021 01:21 AM
Hi @SocInABox
I don't unfortunately...
It's a nice idea for a Youtube video
Tagging @rodtrent who might know if something like this exists
Jul 13 2021 04:07 AM
Jul 13 2021 05:03 AM - edited Jul 13 2021 06:43 AM
The demo that would really help me would include:
- create a simple playbook and export the arm template
- is there anything useful in parameters.json that you need?
- after renaming template.json to azuredeploy.json, discuss:
- parameters - seems to make sense..
- variables - when to add variables? Is there a reference list for common variables? Are there specific requirements for these variables? eg. azuread-xxx, auzresentinel-xxx
- resources - am I ADDING or MODIFYING resources? Github suggest I'm ADDing resources?
- If I have to add resources, then where can I get a list of common resources? I have no idea how to build a resource from scratch w/o a reference to something.
In this example demonstrate what variables need to be included in the template:)
(note: connections_office365_1_externalid refers to the parameters.json file that was created during the arm template export from Azure)
Thanks!!
And I've gone through github and picked some playbooks with unique resources that would be useful for practical demonstrations:
Advanced-SNOW-Teams-Integration
Close-SentinelIncident-fromSNOW
AutoConnect-ASCSubscriptions
AzureFirewall-AddIPtoTIAllowList
Block-IPs-on-MDATP-Using-GraphSecurity
CarbonBlack
Close-Incident-ASCAlert
Close-Incident-MCAS
Get-CompromisedPasswords
Get-MDEFileActivityWithin30Mins
M365-Security-Posture
Jul 15 2021 07:53 PM - edited Jul 18 2021 06:59 PM
I've worked very hard to understand the github instructions on converting my playbook to a template.
I think I'm 95% there, but I've hit a wall.
I’ve made enough progress that my playbook template can now be deployed.
However most of the actions that require a connector fail – see below.
If you have any tips I’d really appreciate it.