Skip to main content

PanwIndicatorCreateQueries

This Script is part of the Comprehensive Investigation by Palo Alto Networks Pack.#

The script accepts indicators as input and creates an indicator query in the relevant Palo Alto Networks products.

Script Data#


NameDescription
Script Typepython3
TagsPanw
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
ipA commma-separated list of IP addresses for which to create the query.
hashA commma-separated list of file hashes for which to create the query.
domainA commma-separated list of domains for which to create the query.

Outputs#


PathDescriptionType
Query.IP.CortexTrapsIPThe query for the specified IP address indicators. This query is relevant for the Cortex Traps table "tms.threat", which is the agent IP.String
Query.IP.CortexAnalyticsIPThe query for the specified IP address indicators. This query is relevant for the Cortex Analytics table "tms.analytics", which is the agent IP.String
Query.IP.CortexTrafficIPThe query for the specified IP address indicators. This query is relevant for the Cortex Traffic table "panw.traffic", and includes both source and destination.String
Query.IP.CortexThreatIPThe query for the specified IP address indicators. This query is relevant for the Cortex Threat table "panw.threat", and includes both source and destination.String
Query.IP.AutofocusSessionsIPThe query (in JSON format) for the specified IP address indicators. This query is relevant for AutoFocus, includes both source and destination.String
Query.IP.PanoramaIPThe query (in Panorama syntax) for the specified IP address indicators. This query is relevant for Panorama, and is valid for all log types.String
Query.Hash.CortexTrapsHashThe query for the specified file hash indicators. This query is relevant for the Cortex Traps table "tms.threat", which contains only SHA256 hashes.String
Query.Hash.CortexAnalyticsHashThe query for the specified file hash indicators. This query is relevant for the Cortex Analytics table "tms.analytics", which contains only SHA256 hashes.String
Query.Hash.CortexThreatHashThe query for the specified file hash indicators. This query is relevant for the Cortex Threat table "panw.threat", which contains only SHA256 hashes.String
Query.Hash.AutofocusSessionsHashThe query (in JSON format) for the specified file hash indicators. This query is relevant for AutoFocus, and supports the following file hashes: MD5, SHA1, and SHA256.String
Query.Hash.PanoramaHashThe query (in Panorama syntax) for the specified file hash indicators. This query is relevant for the WildFire log in Panorama, and only supports SHA256 hashes.String
Query.Domain.CortexThreatDomainThe query for the domain indicators. This query is relevant for the Cortex Threat table "panw.threat".String
Query.Domain.AutofocusSessionsDomainThe query (in JSON format) for the domain indicators. This query is relevant for AutoFocus.String
Query.Domain.PanoramaDomainThe query (in Panorama syntax) for the domain indicators. This query is relevant for Panorama.String