Skip to main content

Palo Alto Networks PAN-OS EDL Management (Deprecated)

This Integration is part of the Palo Alto Networks PAN-OS EDL Management (Deprecated) Pack.#

Deprecated

Use the Generic Export Indicators Service integration instead.

Deprecated. Use the Generic Export Indicators Service integration instead. This integration is still supported however, for customers with over 1000 Firewalls. This integration requires root access in order to execute ssh commands. If you've configured the server to run Docker images with a non-root internal user make sure to exclude the demisto/openssh Docker image as documented here.

Configure Palo Alto Networks PAN-OS EDL Management on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Palo Alto Networks PAN-OS EDL Management.

  3. Click Add instance to create and configure a new integration instance.

    ParameterRequired
    Hostname or IP of serverTrue
    Server portFalse
    SSH credentials to server (username and certificate, see in the credential manager)True
    PasswordTrue
    SSH extra parameters (e.g., "-c ChaCha20")False
    SCP extra parameters (e.g., "-c ChaCha20 -l 8000")False
    Document root (e.g., var/www/html/files)False
  4. Click Test to validate the URLs, token, and connection.

Commands#

You 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.

pan-os-edl-get-external-file#


Displays the contents of the specified remote file located in the War Room.

Base Command#

pan-os-edl-get-external-file

Input#

Argument NameDescriptionRequired
file_pathUnique path to the file on a remote server.Required
retriesNumber of retries. Default is 5.Optional

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-get-external-file file_path=test_playbook_list4.txt

Human Readable Output#

File Content:#

List
jojo.com
koko.com
upload.wikimedia.org

pan-os-edl-search-external-file#


Searches for a string in a remote file.

Base Command#

pan-os-edl-search-external-file

Input#

Argument NameDescriptionRequired
file_pathUnique path to the file on a remote server.Required
search_stringString to search for in the remote file.Required

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-search-external-file file_path=test_playbook_list4.txt search_string=koko

Human Readable Output#

Search Results for koko:#

Result
koko.com

pan-os-edl-update#


Updates the instance context with the specified list name and list items, and then overrides the path of the remote file with the internal list.

Base Command#

pan-os-edl-update

Input#

Argument NameDescriptionRequired
list_nameList from the instance context with which to override the remote file.Required
file_pathUnique path to file.Required
verbosePrints the updated remote file to the War Room. Default is "false". Possible values are: true, false. Default is false.Optional
list_itemsList items.Required
add_or_removeWhether to add to, or remove from the list. Default is "add". Possible values are: add, remove. Default is add.Required

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-update add_or_remove=remove file_path=test_playbook_list4.txt list_items=toto.com list_name=test_playbook_list4 verbose=true

Human Readable Output#

Updated File Data:#

Data
jojo.com
koko.com
upload.wikimedia.org

pan-os-edl-update-from-external-file#


Updates internal list data with the contents of a remote file.

Base Command#

pan-os-edl-update-from-external-file

Input#

Argument NameDescriptionRequired
file_pathUnique path to the file on a remote server.Required
list_nameList name.Required
typeUpdate type. "Merge" adds non-duplicate values, "Override" deletes existing data in the internal list. Default is "merge". Possible values are: merge, override. Default is merge.Required
verbosePrints the updated internal list to the War Room. Default is "false". Possible values are: true, false. Default is false.Optional
retriesNumber of retries. Default is 5.Optional

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-update-from-external-file file_path=test_playbook_list4.txt list_name=test_playbook_list4 type=override

Human Readable Output#

Instance context updated successfully

pan-os-edl-delete-external-file#


Deletes a file from a remote server.

Base Command#

pan-os-edl-delete-external-file

Input#

Argument NameDescriptionRequired
file_pathUnique path to the file on a remote server.Required

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-delete-external-file file_path=test_playbook_list5.txt

Human Readable Output#

File deleted successfully

pan-os-edl-print-internal-list#


Displays internal list data in the War Room.

Base Command#

pan-os-edl-print-internal-list

Input#

Argument NameDescriptionRequired
list_nameList name.Required

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-print-internal-list list_name=test_playbook_list4

Human Readable Output#

List items:#

test_playbook_list4
jojo.com
koko.com
upload.wikimedia.org

pan-os-edl-dump-internal-list#


Dumps (copies) instance context to either the incident context or a file.

Base Command#

pan-os-edl-dump-internal-list

Input#

Argument NameDescriptionRequired
destinationList data destination. Default is "file". Possible values are: file, incident_context. Default is file.Required
list_nameList name.Required

Context Output#

PathTypeDescription
PANOSEDL.ListItemsstringItems of the internal list.
PANOSEDL.ListNamestringName of the internal list.

Command Example#

!pan-os-edl-dump-internal-list list_name=test_playbook_list4 destination=incident_context

Context Example#

{
"PANOSEDL": {
"ListItems": [
"jojo.com",
"koko.com",
"upload.wikimedia.org"
],
"ListName": "test_playbook_list4"
}
}

Human Readable Output#

List items:#

test_playbook_list4
jojo.com
koko.com
upload.wikimedia.org

pan-os-edl-list-internal-lists#


Displays instance context list names.

Base Command#

pan-os-edl-list-internal-lists

Input#

There are no input arguments for this command.

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-list-internal-lists

Human Readable Output#

Instance context Lists:#

List names
test_playbook_list4

pan-os-edl-search-internal-list#


Search for a string in internal list.

Base Command#

pan-os-edl-search-internal-list

Input#

Argument NameDescriptionRequired
list_nameName of list.Required
search_stringString to search for in the remote file.Required

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-search-internal-list list_name=test_playbook_list4 search_string=koko.com

Human Readable Output#

Search string koko.com is in the internal list test_playbook_list4.

pan-os-edl-compare#


Compares internal list and external file contents.

Base Command#

pan-os-edl-compare

Input#

Argument NameDescriptionRequired
list_nameList name.Required
file_pathUnique path to the file on a remote server.Required
retriesNumber of retries. Default is 5.Optional

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-compare file_path=test_playbook_list4.txt list_name=list_name=test_playbook_list4

Human Readable Output#

List was not found in instance context.

pan-os-edl-get-external-file-metadata#


Gets metadata for an external file.

Base Command#

pan-os-edl-get-external-file-metadata

Input#

Argument NameDescriptionRequired
file_pathUnique path to the file on a remote server.Required

Context Output#

PathTypeDescription
PANOSEDL.FileNameStringName of the external file.
PANOSEDL.SizeNumberFile size.
PANOSEDL.NumberOfLinesNumberNumber of lines.
PANOSEDL.LastModifiedStringDate that the file was last modified.

Command Example#

!pan-os-edl-get-external-file-metadata file_path=test_playbook_list4.txt

Context Example#

{
"PANOSEDL": {
"FileName": "test_playbook_list4.txt",
"LastModified": "2021-07-11 06:46:21.290803188",
"NumberOfLines": 3,
"Size": 38
}
}

Human Readable Output#

File metadata:#

FileNameSizeNumberOfLinesLastModified
test_playbook_list4.txt3832021-07-11 06:46:21.290803188

pan-os-edl-update-internal-list#


Updates the instance context with the specified list name and list items.

Base Command#

pan-os-edl-update-internal-list

Input#

Argument NameDescriptionRequired
list_nameThe list from the instance context to update.Required
list_itemsAn array of list items.Required
verboseWhether to print the updated remote file to the War Room. Can ve "true" or "false". Default is "false". Possible values are: true, false. Default is false.Optional
add_or_removeWhether to add to, or remove from the list. Can be "add" or "remove". Default is "add". Possible values are: add, remove. Default is add.Required

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-update-internal-list add_or_remove=add list_items=toto.com list_name=test_playbook_list4

Human Readable Output#

Instance context updated successfully.

pan-os-edl-update-external-file#


Updates a remote file with the contents of an internal list.

Base Command#

pan-os-edl-update-external-file

Input#

Argument NameDescriptionRequired
file_pathUnique path to the file on a remote server.Required
list_nameList name.Required
verboseWhether to add to, or remove from the list. Can be "add" or "remove". Default is "add". Possible values are: true, false. Default is false.Optional

Context Output#

There is no context output for this command.

Command Example#

!pan-os-edl-update-external-file file_path=test_playbook_list4.txt list_name=test_playbook_list4 verbose=true

Human Readable Output#

Updated File Data:#

Data
jojo.com
koko.com
toto.com
upload.wikimedia.org