Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook will assign a user selected by user from teams adpative card to an entity in Vectra when the status of an incident changes from 'New' to 'Active'.
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | Vectra XDR |
| Source | View on GitHub |
This playbook uses 6 Logic App connectors / built-in actions:
| Connector / Action | Type | Connections | Actions |
|---|---|---|---|
azuresentinel |
Managed | 1 | 0 |
keyvault |
Managed | 1 | 0 |
keyvault_3 |
Managed | 0 | 5 |
teams |
Managed | 1 | 1 |
http |
Built-in | 0 | 5 |
workflow |
Built-in | 0 | 5 |
keyvault_3 (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Get_Access_Token_For_Assign_User_To_Vectra_Entity | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
| Get_Access_Token_For_Reassigning_User_To_Vectra_Entity | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
| Get_Access_Token_For_Host_Entity | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
| Get_Access_Token_For_Account_Entity | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
| Get_Access_Token_For_Users | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
teams (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Post_Message_in_Chat_For_No_Users_Found | post | /beta/teams/conversation/message/poster/Flow bot/location/@{encodeURIComponent('Channel')} |
— |
http (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| HTTP_Request_To_Assign_User_To_Vectra_Entity | POST | @{variables('base_url')}/api/@{variables('api_version')}/assignments |
— |
| HTTP_Request_To_Reassign_User_To_Vectra_Entity | PUT | @{variables('base_url')}/api/@{variables('api_version')}/assignments/@{variables('assignment_id')} |
— |
| HTTP_Request_To_Fetch_Associated_Host_Entity_Data | GET | @{variables('base_url')}/api/@{variables('api_version')}/hosts/@{int(variables('entity_id'))} |
— |
| HTTP_Request_To_Fetch_Associated_Account_Entity_Data | GET | @{variables('base_url')}/api/@{variables('api_version')}/accounts/@{int(variables('entity_id'))} |
— |
| HTTP_Request_To_Fetch_Available_Users | GET | @{variables('base_url')}/api/@{variables('api_version')}/users |
— |
workflow (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| GenerateAccessTokenVectra_2 | — | — | workflowId=[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Logic/workflows/',trim(parameters('GenerateAccessCredPlaybookName')))]triggerName= manual |
| GenerateAccessTokenVectra_5 | — | — | workflowId=[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Logic/workflows/',trim(parameters('GenerateAccessCredPlaybookName')))]triggerName= manual |
| GenerateAccessTokenVectra_3 | — | — | workflowId=[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Logic/workflows/',trim(parameters('GenerateAccessCredPlaybookName')))]triggerName= manual |
| GenerateAccessTokenVectra_4 | — | — | workflowId=[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Logic/workflows/',trim(parameters('GenerateAccessCredPlaybookName')))]triggerName= manual |
| GenerateAccessTokenVectra | — | — | workflowId=[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Logic/workflows/',trim(parameters('GenerateAccessCredPlaybookName')))]triggerName= manual |
This playbook will assign a user selected by the user from a Teams adaptive card to an entity in Vectra when the status of an incident changes from 'New' to 'Active'.
/channel and /, decode it using an online URL decoder, and copy it to use as Channel ID.Once deployment is complete, authorize each connection.
Add access policy for the playbook's managed identity and authorized user to read and write secrets of the Key Vault.
NOTE: If you want to manually run the playbook on a particular incident, follow the steps below:
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊