Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook allows us to get a threat PCAP for a given PCAP ID.
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | PaloAlto-PAN-OS |
| Source | View on GitHub |
This playbook uses 5 Logic App connectors / built-in actions:
| Connector / Action | Type | Connections | Actions |
|---|---|---|---|
azureblob |
Managed | 1 | 1 |
azuremonitorlogs |
Managed | 1 | 1 |
azuresentinel |
Managed | 1 | 3 |
paloaltoconnector |
Managed | 0 | 1 |
PAN-OSXmlApiCustomConnector |
Custom | 1 | 0 |
azureblob (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Create_blob_(V2) | post | /v2/datasets/@{encodeURIComponent(encodeURIComponent(parameters('Storage Name')))}/files |
— |
azuremonitorlogs (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Run_query_and_list_results | post | /queryData |
— |
azuresentinel (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Add_comment_to_incident_(V3) | post | /Incidents/Comment |
— |
| Add_comment_to_incident_(V3)_3 | post | /Incidents/Comment |
— |
| Add_comment_to_incident_(V3)_2 | post | /Incidents/Comment |
— |
paloaltoconnector (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Query_Palo_Alto_XML_API | get | /api/ |
— |
📄 Source: PaloAltoPlaybooks/PaloAlto-PAN-OS-GetThreatPCAP/readme.md
This playbook allows us to get a threat PCAP for a given PCAP ID.
When a new Sentinel incident is created, this playbook gets triggered and performs below actions:
Gets the various parameters from the alert
Gets the PCAP from the device.
Puts the PCAP in Blob Storage
Creates a Sentinel Incident and updates it with a link to the blob.
Once deployment is complete, you will need to authorize each connection.
Microsoft Sentinel incident is created. The playbook receives the incident as the input.
Get the logs from the incident.
Iterates on each result and performs the following:
Checks if the alert is a Palo Alto alert. Required when logs from various devices are present
Checks if a PCAP ID is present, and that it is not equal to zero. If the PCAP ID is absent or if it is zero, no PCAP exists.
Sets the PCAP ID, time generated, Session ID and the device name, and queries the device's XML API to retrieve a threat PCAP
Creates a blob in aV2 blob storage account, denoted by Storage Account Name, in the folder denoted by the Folder Path with a name of the type "paloalto1235678920220101102000.pcap" where the name is a concatenation of the "paloalto"+pcapid+timegenerated+".pcap"
Creates Incident for the alert
Adds a comment containing a link to the pcap in the blob storage to the incident
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊