Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook enables user to download pcap file of any detections associated with a Vectra Entity to default file share of storage account. Users can provide detection ids via MS Teams AdaptiveCard.
| 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 |
|---|---|---|---|
azurefile |
Managed | 1 | 2 |
azuresentinel |
Managed | 1 | 2 |
keyvault |
Managed | 1 | 3 |
teams |
Managed | 1 | 0 |
http |
Built-in | 0 | 3 |
workflow |
Built-in | 0 | 2 |
azurefile (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Create_Pcap_File_In_Azure_Storage | post | /datasets/default/files |
— |
| Create_Pcap_File_In_Azure_Storage_For_Failed_Detections | post | /datasets/default/files |
— |
azuresentinel (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Add_Comment_List_Of_Detection_IDs_For_Which_Pcap_File_Downloaded | post | /Incidents/Comment |
— |
| Comment_For_No_Pcap_File_Found_For_Any_Detection_of_Entity | post | /Incidents/Comment |
— |
keyvault (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Get_Access_Token_For_Detections_Data | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
| Get_Access_Token_For_Fetch_Pcap_File | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
| Get_Access_Token_For_Fetch_Pcap_File_Again | get | /secrets/@{encodeURIComponent('Vectra-Access-Token')}/value |
— |
http (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| HTTP_Request_To_Fetch_Detections_Data_Associated_With_Entity | GET | @{variables('base_url')}/api/@{variables('api_version')}/detections |
— |
| HTTP_Request_To_Fetch_Pcap_File_for_Detection | GET | @{variables('base_url')}/api/@{variables('api_version')}/detections/@{variables('temp_detection_id')}/pcap |
— |
| HTTP_Request_To_Fetch_Pcap_File_Again_for_Detection_Failed_Detections | GET | @{variables('base_url')}/api/@{variables('api_version')}/detections/@{variables('temp_detection_id')}/pcap |
— |
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 | — | — | workflowId=[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Logic/workflows/',trim(parameters('GenerateAccessCredPlaybookName')))]triggerName= manual |
📄 Source: VectaDownloadPcapFileToStorage/readme.md
This playbook enables users to download pcap files of detections associated with a Vectra Entity to the default file share of a storage account. Users can provide detection IDs via Microsoft Teams Adaptive Card.
/channel and /, decode it using an online URL decoder, and copy it to use as Channel ID.Once deployment is complete, authorize each connection.
To authorize the Storage Account API connection, you will need the access key:
Add access policy for the playbook's managed identity and authorized user to read and write secrets of the Key Vault.
After authorizing each connection, assign role to this playbook.
[Content truncated...]
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊