New Blog Post | Making Use of Variables in Microsoft Sentinel Playbooks

%3CLINGO-SUB%20id%3D%22lingo-sub-3298126%22%20slang%3D%22en-US%22%3ENew%20Blog%20Post%20%7C%20Making%20Use%20of%20Variables%20in%20Microsoft%20Sentinel%20Playbooks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3298126%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AshleyMartin_0-1651174675208.png%22%20style%3D%22width%3A%20520px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367781i3137B16D998160A1%2Fimage-dimensions%2F520x963%3Fv%3Dv2%22%20width%3D%22520%22%20height%3D%22963%22%20role%3D%22button%22%20title%3D%22AshleyMartin_0-1651174675208.png%22%20alt%3D%22AshleyMartin_0-1651174675208.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazurecloudai.blog%2F2022%2F04%2F27%2Fmaking-use-of-variables-in-microsoft-sentinel-playbooks%2F%3FWT.mc_id%3Dmodinfra-64833-rotrent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMaking%20Use%20of%20Variables%20in%20Microsoft%20Sentinel%20Playbooks%20-%20Azure%20Cloud%20%26amp%3B%20AI%20Domain%20Blog%20(azurecloudai.blog)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22has-medium-font-size%22%3ECreating%20Playbooks%20in%20Microsoft%20Sentinel%20is%20made%20easy%20through%20the%20use%20of%20the%20Logic%20Apps%20service.%20Most%20operations%20are%20just%20click-to-select%20when%20creating%20the%20logic%20steps.%20But%20this%20ease%20of%20use%20can%20create%20bad%20habits.%20When%20you%20click%20and%20choose%20organization-specific%20content%20to%20be%20included%20in%20each%20step%20this%20is%20actually%20stored%20and%20retained%20in%20the%20JSON%20code.%20On%20its%20own%2C%20that%E2%80%99s%20great.%20But%20if%20you%20decide%20someday%20you%20want%20to%20deploy%20the%20Playbook%20to%20another%20environment%20or%20share%20with%20the%20Microsoft%20Sentinel%20community%20at%20large%2C%20all%20that%20organization-specific%20content%20will%20be%20included%2C%20and%20there%E2%80%99s%20a%20lot%20of%20that%20type%20of%20information%20that%20should%20not%20be%20shared.%3C%2FP%3E%0A%3CP%20class%3D%22has-medium-font-size%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22has-medium-font-size%22%3EConsider%20things%20like%20tenant%20or%20subscription%20IDS%2C%20API%20codes%2C%20app%20keys%2C%20and%20more.%3C%2FP%3E%0A%3CP%20class%3D%22has-medium-font-size%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22has-medium-font-size%22%3EAs%20a%20best%20practice%2C%20always%20take%20the%20time%20to%20create%20variables%20for%20organization%20specific%20content.%20Then%2C%20when%20you%20want%20to%20share%20the%20JSON%20file%2C%20it%E2%80%99s%20easier%20to%20sanitize%20and%20remove%20the%20organization%E2%80%99s%20content.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOriginal%20Post%3A%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsecurity-compliance-and-identity%2Fnew-blog-post-making-use-of-variables-in-microsoft-sentinel%2Fm-p%2F3298124%23M7286%22%20target%3D%22_blank%22%3ENew%20Blog%20Post%20%7C%20Making%20Use%20of%20Variables%20in%20Microsoft%20Sentinel%20Playbooks%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3298126%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPlaybooks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

AshleyMartin_0-1651174675208.png

Making Use of Variables in Microsoft Sentinel Playbooks - Azure Cloud & AI Domain Blog (azurecloudai...

 

Creating Playbooks in Microsoft Sentinel is made easy through the use of the Logic Apps service. Most operations are just click-to-select when creating the logic steps. But this ease of use can create bad habits. When you click and choose organization-specific content to be included in each step this is actually stored and retained in the JSON code. On its own, that’s great. But if you decide someday you want to deploy the Playbook to another environment or share with the Microsoft Sentinel community at large, all that organization-specific content will be included, and there’s a lot of that type of information that should not be shared.

 

Consider things like tenant or subscription IDS, API codes, app keys, and more.

 

As a best practice, always take the time to create variables for organization specific content. Then, when you want to share the JSON file, it’s easier to sanitize and remove the organization’s content.

 

Original Post:  New Blog Post | Making Use of Variables in Microsoft Sentinel Playbooks - Microsoft Tech Community

0 Replies