Palo Alto Networks PAN-OS EDL Service
Supported versions
Supported Cortex XSOAR versions: 5.5.0 and later.
This integration provides External Dynamic List (EDL) as a service for the system indicators (Outbound feed). The feed content can then be sent to 3rd parties for improving their security alignment.
#
PAN-OS EDL Management to PAN-OS EDL Service migration stepsUnlike PAN-OS EDL Management
, this integration hosts the EDL on the Cortex XSOAR server. Follow these steps to migrate your EDLs.
- Convert existing EDL list to indicators in Cortex XSOAR. This can be done automatically:
- Extract your EDL as a text file from the web server it's currently hosted on.
- Upload it as a file to the Playground and use the
ExtractIndicatorsFromTextFile
automation. e.g,!ExtractIndicatorsFromTextFile entryID=<entry_id>
- Go to the
Indicators
page and filter to find all of the indicators you extracted from the text file. - If needed, batch select the indicators and add a tag to the indicators you want to host as a specific EDL. Use this tag in the
Indicator Query
integration parameter when configuring the integration. For example, if you want to create an allowed list of indicators and a blocked list of indicators. - Edit the EDL object on the PAN-OS device to pull from the
PAN-OS EDL Service
instance, as explained in Access the EDL Service by Instance Name (HTTPS). You can edit the EDL object using the panorama-edit-edl command in thePalo Alto Networks PAN-OS
integration. - Commit and push the configuration from the Panorama device to its respective Firewalls using the PAN-OS Commit Configuration playbook.
- If you have configuration with 100 firewalls or more, we recommend using your Panorama device and creating an EDL object there that will be populated from the
PAN-OS EDL Service
. Then push the EDL object to its respective firewalls. - Follow the instructions in the rest of this guide to make sure that the PAN-OS device is connected to the EDL service.
#
Use Cases- Generate feeds to be used on PAN-OS as External Dynamic Lists.
- Create External Dynamic Lists (EDLs) of the IP addresses, URLs and domains used by ransomware, known APT groups, and active malware campaigns for tracking in AutoFocus.
- Create External Dynamic Lists to track IPs and URLs commonly used by Microsoft Office365 or CDNs and cloud services, or used as tor exit nodes.
#
Configure Palo Alto Networks PAN-OS EDL Service on Cortex XSOAR- Navigate to Settings > Integrations > Servers & Services.
- Search for EDL.
- Click Add instance to create and configure a new integration instance.
Parameter | Description | Required |
---|---|---|
Indicator Query | The query to run to update its list. To view expected results, you can run the following command from the Cortex XSOAR CLI !findIndicators query=<your query> | False |
EDL Size | Maximum number of entries in the service instance. | True |
Update EDL On Demand Only | When set to true, will only update the service indicators via the edl-update command. | False |
Refresh Rate | How often to refresh the export indicators list (<number> <time unit>, e.g., 12 hours, 7 days, 3 months, 1 year) | False |
Listen Port | By default HTTP, Will run the External Dynamic List on this port from within Cortex XSOAR | True |
Certificate (Required for HTTPS) | Configure a certificate for the EDL instance. The certificate is provided by pasting its value into this field. Use only when accesing the EDL instance by port. | False |
Private Key (Required for HTTPS) | Configure a private key. The private key is provided by pasting its value into this field. Use only when accesing the EDL instance by port. | False |
Credentials | Set user and password for accessing the EDL instance. (Only applicable when https is used and a certificate profile is configured on the pan-os edl object) | False |
Collapse IPs | Whether to collapse IPs, and if so - to ranges or CIDRs. | False |
XSOAR Indicator Page Size | Internal page size used when querying XSOAR for the EDL. By default, this value shouldn't be changed | False |
- Click Test to validate the URLs, token, and connection.
#
Access the EDL Service by Instance Name (HTTPS)The route will be open without security hardening and might expose you to network risks.
To access the EDL service by instance name, make sure Instance execute external is enabled.
- In Cortex XSOAR, go to Settings > About > Troubleshooting.
- In the Server Configuration section, verify that the instance.execute.external key is set to true. If this key does not exist, click + Add Server Configuration and add the instance.execute.external and set the value to true. See this documentation for further information.
- In a web browser, go to
https://<cortex-xsoar_address>/instance/execute/<instance_name>
.
#
URL Inline ArgumentsUse the following arguments in the URL to change the request:
Argument Name | Description | Example |
---|---|---|
n | The maximum number of entries in the output. If no value is provided, will use the value specified in the List Size parameter configured in the instance configuration. | https://{server_host}/instance/execute/{instance_name}?n=50 |
s | The starting entry index from which to export the indicators. | https://{server_host}/instance/execute/{instance_name}?s=10&n=50 |
q | The query used to retrieve indicators from the system. | https://{server_host}/instance/execute/{instance_name}?q="type:ip and sourceBrand:my_source" |
tr | Whether to collapse IPs. 0 - to not collapse, 1 - collapse to ranges or 2 - collapse to CIDRs | https://{server_host}/instance/execute/{instance_name}?q="type:ip and sourceBrand:my_source"&tr=1 |
sp | If set will strip ports off URLs, otherwise will ignore URLs with ports. | https://{server_host}/instance/execute/{instance_name}?sp |
di | If set will ignore urls which are not compliant with PAN-OS URL format instead of being re-written. | https://{server_host}/instance/execute/{instance_name}?di |
#
CommandsYou can execute these commands from the Cortex XSOAR CLI as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
edl-updateUpdates values stored in the EDL (only available On-Demand).
#
Base Commandedl-update
#
InputArgument Name | Description | Required |
---|---|---|
query | The query used to retrieve indicators from the system. | Required |
edl_size | The maximum number of entries in the EDL. If no value is provided, will use the value specified in the EDL Size parameter configured in the instance configuration. | Optional |
print_indicators | Boolean | Required |
collapse_ips | Whether to collapse IPs, and if so - to ranges or CIDRs. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Example!edl-update print_indicators=true query=type:IP edl_size=2
#
Human Readable Output#
EDL was updated successfully with the following valuesIndicators |
---|
1.1.1.1 2.2.2.2 |