Panorama
Manage Palo Alto Networks Firewall and Panorama. Use this pack to manage Prisma Access through Panorama. For more information, see the Panorama documentation.
Network Security · PAN-OS by Palo Alto Networks
Details
| ID | Panorama |
|---|---|
| Provider | Palo Alto Networks |
| Category | Network Security |
| From Version | 5.0.0 |
| Docker Image | demisto/pan-os-python:1.0.0.10133006 |
| Supported Modules | Agentix Cloud Runtime Security Cloud Posture Security XSIAM EDR Cortex Cloud |
README
This integration supports both Palo Alto Networks Panorama and Palo Alto Networks Firewall. You can create separate instances of each integration, and they are not necessarily related or dependent on one another.
This integration enables you to manage the Palo Alto Networks Firewall and Panorama. For more information see the PAN-OS documentation.
This integration was integrated and tested with versions 8.xx, 9.xx, 10.xx and 11.xx of Palo Alto Firewall and Palo Alto Panorama.
Use Cases
- Create custom security rules in Palo Alto Networks PAN-OS.
- Create and update address objects, address-groups, custom URL categories, and URL filtering objects.
- Use the URL Filtering category information from Palo Alto Networks to enrich URLs by checking the use_url_filtering parameter. A valid license for the Firewall is required.
- Get URL Filtering category information from Palo Alto. Request Change is a known Palo Alto limitation.
- Add URL filtering objects including overrides to Palo Alto Panorama and Firewall.
- Commit a configuration to Palo Alto Firewall and to Panorama, and push a configuration from Panorama to Pre-Defined Device-Groups of Firewalls.
-
Block IP addresses using registered IP tags from PAN-OS without committing the PAN-OS instance. First you have to create a registered IP tag, DAG, and security rule, and commit the instance. You can then register additional IP addresses to the tag without committing the instance.
-
Create a registered IP tag and add the necessary IP addresses by running the pan-os-register-ip-tag command.
-
Create a dynamic address group (DAG), by running the pan-os-create-address-group command. Specify values for the following arguments: type=”dynamic”, match={ tagname }.
-
Create a security rule using the DAG created in the previous step, by running the pan-os-create-rule command.
-
Commit the PAN-OS instance by running the PanoramaCommitConfiguration playbook.
-
You can now register IP addresses to, or unregister IP addresses from the IP tag by running the pan-os-register-ip-tag command, or pan-os-unregister-ip-tag command, respectively, without committing the PAN-OS instance.
-
- Create a predefined security profiles with the best practices by Palo Alto Networks.
- Get security profiles best practices as defined by Palo Alto Networks. For more information about Palo Alto Networks best practices, visit Palo Alto Networks best practices.
- Apply security profiles to specific rule.
- Set default categories to block in the URL filtering profile.
-
Enforce WildFire best practice.
-
Set file upload to the maximum size.
-
Set WildFire Update Schedule to download and install updates every minute.
-
All file types are forwarded.
-
Known Limitations
- Maximum commit queue length is 3. Running numerous Panorama commands simultaneously might cause errors.
- After running
panorama-create-commands and the object is not committed, thepanorama-editcommands orpanorama-getcommands might not run correctly. - URL Filtering
request changeof a URL is not available via the API. Instead, you need to use the https://urlfiltering.paloaltonetworks.com website. - If you do not specify a vsys (Firewall instances) or a device group (Panorama instances), you will only be able to execute the following commands.
- The target argument is supported only in operational type commands. Meaning, you cannot use it with commit, logs, or PCAP commands.
- Creating or updating the encryption master key of Palo Alto Networks Firewall or Panorama invalidates the current API key and requires obtaining a new one. All subsequent commands will raise an “Invalid Credential” error until a new API key is obtained and the integration instance is updated accordingly.
Fetch Incidents
The Panorama integration now supports fetch incidents.
The incidents are fetched according to a number of different optional log type queries. The log types are: Traffic, Threat, URL, Data, Correlation, System, Wildfire, Decryption.
Max incidents per fetch
- The max incidents per fetch parameter specifies the maximum number of incidents to fetch per Log Type Query.
- Important note: Cortex XSOAR standard setup is not designed to handle many hundreds of new incidents every minute. Therefore, it is strongly recommended to narrow your query by log type, severity, or other criteria to ensure that each fetch cycle retrieves no more than 200 incidents at a time.
Log Type
The queries that will be included during the fetch are decided according to the “Log Type” parameter (Multiple select dropdown).
- Selecting “All” will use all the log type queries in the fetch.
- To choose a specific set of queries, select their log types from the dropdown (make sure “All” option is unselected).
Log Type Query
- Each log type has its own query field in the instance configuration.
- Note that the default query values has some example text in it, make sure to enter a valid query.
- Note: In case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device.
For example: “and (device_name eq dummy_device)”.
Log Type Query Examples
| Log Type | Query Example |
|---|---|
| Traffic | (addr.src in {source}) and (addr.dst in {destination}) and (action eq {action}) |
| Threat | (severity geq high) |
| URL | ((action eq block-override) or (action eq block-url)) and (severity geq high) |
| Data | ((action eq alert) or (action eq wildfire-upload-success) or (action eq forward)) and (severity geq high) |
| Correlation | (hostid eq {host_id}) and (match_time in {last_x_time}) and (objectname eq {object_name}) and (severity geq ‘{severity}’) and (src in {source_address}) |
| System | (subtype eq {sub_type}) and (severity geq {severity}) |
| Wildfire Submission | ((action eq wildfire-upload-fail) or (action eq wildfire-upload-skip) or (action eq sinkhole)) |
| Decryption | (app eq {application}) and (policy_name geq {policy_name}) and ((src in {source}) or (dst in {destination})) |
Classifiers and Mappers
This integration supports a default Classifier (Panorama Classifier) and Mapper (Panorama Mapper) that handles incidents returned from the API.
Configure Panorama on Cortex XSOAR
- Navigate to Settings > Integrations > Instances.
- Search for Panorama.
- Click Add instance to create and configure a new integration instance.
| Parameter | Description | Required | |
|---|---|---|---|
| server | Server URL (e.g., https://192.168.0.1) | True | |
| port | Port (e.g 443) | False | |
| key | API Key | True | |
| device_group | Device group - Panorama instances only (write shared for Shared location) | False | |
| vsys | Vsys - Firewall instances only | False | |
| template | Template - Panorama instances only | False | ** |
| use_url_filtering | Use URL Filtering for auto enrichment | False | |
| additional_suspicious | URL Filtering Additional suspicious categories. CSV list of categories that will be considered suspicious. | False | |
| additional_malicious | URL Filtering Additional malicious categories. CSV list of categories that will be considered malicious. | False | |
| insecure | Trust any certificate (not secure) | False | |
| First fetch timestamp | First fetch time interval | False | |
| Max incidents per fetch | Max incidents per fetch for each selected Log Type Query | False | |
| Log Type | Log Types incidents to fetch | False | ** |
| Log type max number of pull attempts | The maximum number of attempts to try and pull results for each log type. Each attempt takes around 1 second. Increasing this value is useful in case there are many logs to pull from a given log type.Note: When increasing this number, in case fetching more than 4 logs types together, it is recommended to split different log types for different integration instance | False | |
| Traffic Log Type Query | Traffic Query for fetch incidents | False | |
| Threat Log Type Query | Threat Query for fetch incidents | False | |
| URL Log Type Query | URL Query for fetch incidents | False | |
| Data Log Type Query | Data Query for fetch incidents | False | |
| Correlation Log Type Query | Correlation Query for fetch incidents | False | |
| System Log Type Query | System Query for fetch incidents | False | |
| Wildfire Submission Log Type Query | Wildfire Submission Query for fetch incidents | False | |
| Decryption Log Type Query | Decryption Query for fetch incidents | False | |
| Incidents Fetch Interval | Time interval between incident fetches | False |
- Click Test to validate the URLs, token, and connection.
Debugging in Panorama
In order to ease the process of understanding what parameters are required to be used in the !pan-os command, it is highly recommended to use the debugging mode in Panorama to get the correct structure of a request.
Debugging Methods:
Several Examples of !pan-os for a configuration type commands:
1) Create a new address object named test123 for the test device-group.
Given the following debug-log from PAN-OS Web UI Debug after creating an address through the Panorama UI:
`
1.1.1.1`
The equivalent !pan-os command is:
`
!pan-os action=set xpath=/config/devices/entry[@name=’localhost.localdomain’]/device-group/entry[@name=’test’]/address/entry[@name=’test123’] type=config element=1.1.1.1
`
| Argument | Description |
|---|---|
| action | Create/add an object. In this case we want to create a new address object, so we will use set - the Panorama debug log shows us its a ‘set’ action. |
| xpath | /config/devices/entry[@name=’localhost.localdomain’]/device-group/entry[@name=’test’]/address/entry[@name=’test123’] - simply the location of the new object. |
| type | This is a configuration type command, therefore use config. |
| element | The object properties (similar to an API body request). |
2) Modify an existing address group object named test12345 under the test device group to use a different address object.
Given the following debug-log from PAN-OS Web UI Debug after editing an address group through the Panorama UI to use a different address object:
`
test123`
The equivalent !pan-os command is:
`
!pan-os action=edit xpath=/config/devices/entry[@name=’localhost.localdomain’]/device-group/entry[@name=’test’]/address-group/entry[@name=’test12345’] type=config element=test123
`
| Argument | Description |
|---|---|
| action | Edit an object, in this case we want to edit an entry in an existing address group object, so we will use edit - the panorama debug log shows us its an ‘edit’ action. |
| xpath | /config/devices/entry[@name=’localhost.localdomain’]/device-group/entry[@name=’test’]/address-group/entry[@name=’test12345’ - simply the location of the object. |
| type | This is a configuration type command, therefore use config. |
| element | The object properties (similar to an API body request). |
3) Get a specific security pre-rule called test1.
Using the API browser, we can easily find the xpath for the security pre-rule object, therefore the pan-os command will be:
`
!pan-os xpath=/config/devices/entry[@name=’localhost.localdomain’]/device-group/entry[@name=’test’]/pre-rulebase/security/rules/entry[@name=’test1’], action=get type=config
`
| Argument | Description |
|---|---|
| action | Get an object, in this case we want to get an object, so we will use ‘get’ as an action. |
| xpath | By using the API browser, we can find every object’s xpath easily. |
| type | This is a configuration type command, therefore use config. |
Several examples of !pan-os for an operational type command:
1) Show system information - Can be viewed by using the API browser to get the structure of the request.

The equivalent !pan-os command is:
`
!pan-os type=op cmd=
`
2) Show information about all the jobs - Can be viewed by using the API browser to get the structure of the request.

The equivalent !pan-os command is:
`
!pan-os type=op cmd=
`
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.
NOTE: The “create” commands function as UPSERT (UPDATE and INSERT), overriding existing data with new data if it already exists.
- Run any command supported in the Panorama API: pan-os
- Get pre-defined threats list from a Firewall or Panorama and stores as a JSON file in the context: panorama-get-predefined-threats-list
- Commit a configuration: panorama-commit
- Pushes rules from PAN-OS to the configured device group: panorama-push-to-device-group
- Returns a list of addresses: panorama-list-addresses
- Returns address details for the supplied address name: panorama-get-address
- Creates an address object: panorama-create-address
- Delete an address object: panorama-delete-address
- Returns a list of address groups: panorama-list-address-groups
- Get details for the specified address group: panorama-get-address-group
- Creates a static or dynamic address group: panorama-create-address-group
- Sets a vulnerability signature to block mode: panorama-block-vulnerability
- Deletes an address group: panorama-delete-address-group
- Edits a static or dynamic address group: panorama-edit-address-group
- Returns a list of addresses: panorama-list-services
- Returns service details for the supplied service name: panorama-get-service
- Creates a service: panorama-create-service
- Deletes a service: panorama-delete-service
- Returns a list of service groups: panorama-list-service-groups
- Returns details for the specified service group: panorama-get-service-group
- Creates a service group: panorama-create-service-group
- Deletes a service group: panorama-delete-service-group
- Edit a service group: panorama-edit-service-group
- Returns information for a custom URL category: panorama-get-custom-url-category
- Creates a custom URL category: panorama-create-custom-url-category
- Deletes a custom URL category: panorama-delete-custom-url-category
- Adds or removes sites to and from a custom URL category: panorama-edit-custom-url-category
- Gets a URL category from URL Filtering: panorama-get-url-category
- Gets a URL information: url
- Returns a URL category from URL Filtering in the cloud: panorama-get-url-category-from-cloud
- Returns a URL category from URL Filtering on the host: panorama-get-url-category-from-host
- Returns information for a URL filtering rule: panorama-get-url-filter
- Creates a URL filtering rule: panorama-create-url-filter
- Edit a URL filtering rule: panorama-edit-url-filter
- Deletes a URL filtering rule: panorama-delete-url-filter
- Returns a list of external dynamic lists: panorama-list-edls
- Returns information for an external dynamic list: panorama-get-edl
- Creates an external dynamic list: panorama-create-edl
- Modifies an element of an external dynamic list: panorama-edit-edl
- Deletes an external dynamic list: panorama-delete-edl
- Refreshes the specified external dynamic list: panorama-refresh-edl
- Creates a policy rule: panorama-create-rule
- Creates a custom block policy rule: panorama-custom-block-rule
- Changes the location of a policy rule: panorama-move-rule
- Edits a policy rule: panorama-edit-rule
- Deletes a policy rule: panorama-delete-rule
- Returns a list of applications: panorama-list-applications
- Returns commit status for a configuration: panorama-commit-status
- Returns the push status for a configuration: panorama-push-status
- Returns information for a Panorama PCAP file: panorama-get-pcap
- Returns a list of all PCAP files by PCAP type: panorama-list-pcaps
- Registers IP addresses to a tag: panorama-register-ip-tag
- Unregisters IP addresses from a tag: panorama-unregister-ip-tag
- Registers Users to a tag: panorama-register-user-tag
- Unregisters Users from a tag: panorama-unregister-user-tag
- Deprecated. Queries traffic logs: panorama-query-traffic-logs
- Deprecated. Checks the query status of traffic logs: panorama-check-traffic-logs-status
- Deprecated. Retrieves traffic log query data by job id: panorama-get-traffic-logs
- Returns a list of predefined Security Rules: panorama-list-rules
- Query logs in Panorama: panorama-query-logs
- Checks the status of a logs query: panorama-check-logs-status
- Retrieves the data of a logs query: panorama-get-logs
- Checks whether a session matches the specified security policy: panorama-security-policy-match
- Lists the static routes of a virtual router: panorama-list-static-routes
- Returns the specified static route of a virtual router: panorama-get-static-route
- Adds a static route: panorama-add-static-route
- Deletes a static route: panorama-delete-static-route
- Show firewall device software version: panorama-show-device-version
- Downloads the latest content update: panorama-download-latest-content-update
- Checks the download status of a content update: panorama-content-update-download-status
- Installs the latest content update: panorama-install-latest-content-update
- Gets the installation status of the content update: panorama-content-update-install-status
- Checks the PAN-OS software version from the repository: panorama-check-latest-panos-software
- Downloads the target PAN-OS software version to install on the target device: panorama-download-panos-version
- Gets the download status of the target PAN-OS software: panorama-download-panos-status
- Installs the target PAN-OS version on the specified target device: panorama-install-panos-version
- Gets the installation status of the PAN-OS software: panorama-install-panos-status
- Reboots the Firewall device: panorama-device-reboot
- Gets location information for an IP address: panorama-show-location-ip
- Gets information about available PAN-OS licenses and their statuses: panorama-get-licenses
- Gets information for the specified security profile: panorama-get-security-profiles
- Apply a security profile to specific rules or rules with a specific tag: panorama-apply-security-profile
- Removes a security profile to specific rules or rules with a specific tag
- Get SSL decryption rules: panorama-get-ssl-decryption-rules
- Retrieves the Wildfire configuration: panorama-get-wildfire-configuration
- Set default categories to block in the URL filtering profile: panorama-url-filtering-block-default-categories
- Get anti-spyware best practices: panorama-get-anti-spyware-best-practice
- Get file-blocking best practices: panorama-get-file-blocking-best-practice
- Get anti-virus best practices: panorama-get-antivirus-best-practice
- Get vulnerability-protection best practices: panorama-get-vulnerability-protection-best-practice
- View WildFire best practices: panorama-get-wildfire-best-practice
- View URL Filtering best practices: panorama-get-url-filtering-best-practice
- Enforces wildfire best practices to upload files to the maximum size, forwards all file types, and updates the schedule: panorama-enforce-wildfire-best-practice
- Creates an antivirus best practice profile: panorama-create-antivirus-best-practice-profile
- Creates an Anti-Spyware best practice profile: panorama-create-anti-spyware-best-practice-profile
- Creates a vulnerability protection best practice profile: panorama-create-vulnerability-best-practice-profile
- Creates a URL filtering best practice profile: panorama-create-url-filtering-best-practice-profile
- Creates a file blocking best practice profile: panorama-create-file-blocking-best-practice-profile
- Creates a WildFire analysis best practice profile: panorama-create-wildfire-best-practice-profile
- Shows the user ID interface configuration.
- Shows the zones configuration.
- Retrieves list of user-ID agents configured in the system.
- Gets global counter information from all the PAN-OS firewalls in the topology.
- Retrieves all BGP peer information from the PAN-OS firewalls in the topology.
- Check the devices for software that is available to be installed.
- Get the HA state and associated details from the given device and any other details.
- Get all the jobs from the devices in the environment, or a single job when ID is specified.
- Download The provided software version onto the device.
- Download the running configuration
- Download the merged configuration
- Create Nat-rule
- Create PBF-rule
pan-os
Run any command supported in the API.
Base Command
pan-os
Input
| Argument Name | Description | Required |
|---|---|---|
| action | Action to be taken, such as show, get, set, edit, delete, rename, clone, move, override, multi-move, multi-clone, or complete. Documentation - https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/pan-os-xml-api-request-types/configuration-api | Optional |
| category | Category parameter. For example, when exporting a configuration file, use “category=configuration”. | Optional |
| cmd | Specifies the XML structure that defines the command. Used for operation commands (op type command). Can be retrieved from the PAN-OS web UI debugger or enabling debugging via the CLI using debug cli on. |
Optional |
| command | Run a command. For example, command =<show><arp><entry name=’all’/></arp></show> | Optional |
| dst | Specifies a destination. | Optional |
| element | Used to define a new value for an object. Should be an XML object, for example, test. | Optional |
| to | End time (used only when cloning an object). | Optional |
| from | Start time (used only when cloning an object). | Optional |
| key | Sets a key value. | Optional |
| log-type | Retrieves log types. For example, log-type=threat for threat logs. | Optional |
| where | Specifies the type of a move operation (for example, where=after, where=before, where=top, where=bottom). | Optional |
| period | Time period. For example, period=last-24-hrs | Optional |
| xpath | xpath location. xpath defines the location of the object. For example, xpath=/config/predefined/application/entry[@name=’hotmail’]. Documentation - https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/about-the-pan-os-xml-api/structure-of-a-pan-os-xml-api-request/xml-and-xpath. | Optional |
| pcap-id | PCAP ID included in the threat log. | Optional |
| serialno | Specifies the device serial number. | Optional |
| reporttype | Chooses the report type, such as dynamic, predefined or custom. | Optional |
| reportname | Report name. | Optional |
| type | Request type (e.g. export, import, log, config). Possible values are: keygen, config, commit, op, report, log, import, export, user-id, version. default is config. | Optional |
| search-time | The time that the PCAP was received on the firewall. Used for threat PCAPs. | Optional |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| job-id | Job ID. | Optional |
| query | Query string. | Optional |
| vsys | The name of the virtual system to be configured. If no vsys is mentioned, this command will not use the vsys parameter. | Optional |
| newname | The object’s new name, used when action=rename. If no value is provided, the name defaults to ‘newname’. | Optional |
Context Output
There is no context output for this command.
Command Example
!pan-os xpath=“/config/devices/entry[@name=‘localhost.localdomain’]/template/entry[@name=‘test’]/config/devices/entry[@name=‘localhost.localdomain’]/network/profiles/zone-protection-profile/entry[@name=‘test’]/scan-white-list/entry[@name=‘test’]/ipv4" type=config action=edit element=“<ipv4>1.1.1.1</ipv4>”
Human Readable Output
Command was executed successfully.
pan-os-get-predefined-threats-list
Gets the pre-defined threats list from a Firewall or Panorama and stores as a JSON file in the context.
Base Command
pan-os-get-predefined-threats-list
Input
| Argument Name | Description | Required |
|---|---|---|
| target | The firewall managed by Panorama from which to retrieve the predefined threats. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| File.Size | number | File size. |
| File.Name | string | File name. |
| File.Type | string | File type. |
| File.Info | string | File info. |
| File.Extension | string | File extension. |
| File.EntryID | string | File entryID. |
| File.MD5 | string | MD5 hash of the file. |
| File.SHA1 | string | SHA1 hash of the file. |
| File.SHA256 | string | SHA256 hash of the file. |
| File.SHA512 | string | SHA512 hash of the file. |
| File.SSDeep | string | SSDeep hash of the file. |
Command Example
### pan-os-commit
***
Commits a configuration to the Palo Alto firewall or Panorama, validates if a commit was successful if using polling="true", otherwise does not validate if the commit was successful. Committing to Panorama does not push the configuration to the firewalls. To push the configuration, run the panorama-push-to-device-group command.
#### Base Command
`pan-os-commit`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| device-group | Panorama only. Limits the commit scope to the specified device group(s), so only pending changes for those device groups are committed. If omitted, all pending changes are committed. | Optional |
| template | Panorama only. Limits the commit scope to the specified template(s), so only pending changes for those templates are committed. If omitted, all pending changes are committed. | Optional |
| description | The commit description. | Optional |
| admin_name | The administrator name. To commit admin-level changes on a firewall, include the administrator name in the request. | Optional |
| force_commit | Forces a commit. Possible values are: true, false. | Optional |
| exclude_device_network_configuration | Performs a partial commit while excluding device and network configuration. Possible values are: true, false. | Optional |
| exclude_shared_objects | Performs a partial commit while excluding shared objects. Possible values are: true, false. | Optional |
| polling | Whether to use polling. Possible values are: true, false. Default is false. | Optional |
| commit_job_id | commit job ID to use in polling commands. (automatically filled by polling). | Optional |
| timeout | The timeout (in seconds) when polling. Default is 120. | Optional |
| interval_in_seconds | The interval (in seconds) when polling. Default is 10. | Optional |
| hide_polling_output | whether to hide the polling result (automatically filled by polling). | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Commit.JobID | Number | The job ID to commit. |
| Panorama.Commit.Status | String | The commit status. |
| Panorama.Commit.Description | String | The commit description from the the command input. |
| Panorama.Commit.Scope | String | Whether the commit is partial. |
| Panorama.Commit.Details | String | The summary of the targeted device group and templates. |
#### Command example with polling
```!pan-os-commit description=test polling=true interval_in_seconds=5 timeout=60```
#### Human Readable Output
>Waiting for commit "test" with job ID 12345 to finish...
>
>### Commit Status
>
>|JobID|Status| Description
>|---|---|---|
>| 12345 | Success | test
#### Context Example
```json
{
"Panorama": {
"Commit": {
"JobID": "12345",
"Status": "Success",
"Description": "test",
"Scope": "Full",
"Details": "Full commit"
}
}
}
Command example without polling
!pan-os-commit description=test
Human Readable Output
Commit Status
JobID Status Description 12345 Pending test
Context Example
{
"Panorama": {
"Commit": {
"JobID": "12345",
"Status": "Pending",
"Description": "test",
"Scope": "Full",
"Details": "Full commit"
}
}
}
pan-os-push-to-device-group
Pushes rules from PAN-OS to the configured device group. In order to push the configuration to Prisma Access managed tenants (single or multi tenancy), use the device group argument with the device group which is associated with the tenant ID. Validates if a push has been successful if polling=”true”.
Base Command
pan-os-push-to-device-group
Input
| Argument Name | Description | Required |
|---|---|---|
| device-group | The device group to which to push (Panorama instances). | Optional |
| validate-only | Pre policy validation. Possible values are: true, false. Default is false. | Optional |
| include-template | Whether to include template changes. Possible values are: true, false. Default is true. | Optional |
| description | The push description. | Optional |
| serial_number | The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. | Optional |
| polling | Whether to use polling. Possible values are: true, false. Default is false. | Optional |
| timeout | The timeout (in seconds) when polling. Default is 120. | Optional |
| interval_in_seconds | The interval (in seconds) when polling. Default is 10. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Push.DeviceGroup | String | The device group in which the policies were pushed. |
| Panorama.Push.JobID | Number | The job ID of the policies that were pushed. |
| Panorama.Push.Status | String | The push status. |
| Panorama.Push.Warnings | String | The push warnings. |
| Panorama.Push.Errors | String | The push errors. |
| Panorama.Push.Details | String | The job ID details. |
Command example with polling=true
!pan-os-push-to-device-group description=test polling=true interval_in_seconds=5 timeout=60
Context Example
{
"Panorama": {
"Push": {
"Details": [
"commit succeeded with warnings",
"commit succeeded with warnings"
],
"Errors": ,
"JobID": "31377",
"Status": "Completed",
"Warnings": [
"Interface loopback.645 has no zone configuration.",
"External Dynamic List test_pb_domain_edl_DONT_DEL is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - IP EDL-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - URL EDL-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - URL EDL tamarcat3-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - IP EDL tamarcat3-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List minemeld is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List edl-webinar-malicious-urls-OLD is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List edl-webinar-malicious-ips is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List edl-webinar-malicious-domains is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"Warning: No valid Antivirus content package exists",
"(Module: device)"
]
}
}
}
Human Readable Output
Waiting for Job-ID 31374 to finish push changes to device-group Lab-Devices..
Push to Device Group status
JobID Status Details Errors Warnings 31377 Completed commit succeeded with warnings,
commit succeeded with warningsInterface loopback.645 has no zone configuration.,
External Dynamic List test_pb_domain_edl_DONT_DEL is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - IP EDL-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - URL EDL-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - URL EDL tamarcat3-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - IP EDL tamarcat3-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List minemeld is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List edl-webinar-malicious-urls-OLD is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List edl-webinar-malicious-ips is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List edl-webinar-malicious-domains is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
Warning: No valid Antivirus content package exists,
(Module: device)
Command example with polling=false
!pan-os-push-to-device-group description=test polling=false
Human Readable Output
Push to Device Group status
JobID Status Description 113198 Pending test
Context Example
{
"Panorama": {
"Push": {
"JobID": "113198",
"Status": "Pending",
"Description": "test",
"DeviceGroup": "device group name"
}
}
}
pan-os-list-addresses
Returns a list of addresses.
Base Command
pan-os-list-addresses
Input
| Argument Name | Description | Required |
|---|---|---|
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tag | Tag for which to filter the list of addresses. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Addresses.Name | string | Address name. |
| Panorama.Addresses.Description | string | Address description. |
| Panorama.Addresses.FQDN | string | Address FQDN. |
| Panorama.Addresses.IP_Netmask | string | Address IP Netmask. |
| Panorama.Addresses.IP_Range | string | Address IP range. |
| Panorama.Addresses.DeviceGroup | String | Address device group. |
| Panorama.Addresses.Tags | String | Address tags. |
Command Example
#### Context Example
```json
{
"Panorama": {
"Addresses": [
{
"IP_Netmask": "10.10.10.1/24",
"Name": "Demisto address"
},
{
"Description": "a",
"IP_Netmask": "1.1.1.1",
"Name": "test1"
}
]
}
}
Human Readable Output
Addresses
Name IP_Netmask IP_Range FQDN Demisto address 10.10.10.1/24 test1 1.1.1.1
pan-os-get-address
Returns address details for the supplied address name.
Base Command
pan-os-get-address
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Address name. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Addresses.Name | string | Address name. |
| Panorama.Addresses.Description | string | Address description. |
| Panorama.Addresses.FQDN | string | Address FQDN. |
| Panorama.Addresses.IP_Netmask | string | Address IP Netmask. |
| Panorama.Addresses.IP_Range | string | Address IP range. |
| Panorama.Addresses.DeviceGroup | String | Device group for the address (Panorama instances). |
| Panorama.Addresses.Tags | String | Address tags. |
Command Example
!pan-os-get-address name="Demisto address"
Context Example
{
"Panorama": {
"Addresses": {
"IP_Netmask": "10.10.10.1/24",
"Name": "Demisto address"
}
}
}
Human Readable Output
Address
Name IP_Netmask Demisto address 10.10.10.1/24
pan-os-create-address
Creates an address object.
Base Command
pan-os-create-address
Input
| Argument Name | Description | Required |
|---|---|---|
| name | New address name. | Required |
| description | New address description. | Optional |
| fqdn | FQDN of the new address. | Optional |
| ip_netmask | IP Netmask of the new address. For example, 10.10.10.10/24 | Optional |
| ip_range | IP range of the new address IP. For example, 10.10.10.0-10.10.10.255 | Optional |
| ip_wildcard | The IP wildcard of the new address. For example, 10.20.1.0/0.0.248.255 | Optional |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tag | The tag for the new address. | Optional |
| create_tag | Whether to create the tag if it does not exist. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Addresses.Name | string | Address name. |
| Panorama.Addresses.Description | string | Address description. |
| Panorama.Addresses.FQDN | string | Address FQDN. |
| Panorama.Addresses.IP_Netmask | string | Address IP Netmask. |
| Panorama.Addresses.IP_Range | string | Address IP range. |
| Panorama.Addresses.DeviceGroup | String | Device group for the address (Panorama instances). |
| Panorama.Addresses.Tags | String | Address tags. |
Command Example
!pan-os-create-address name="address_test_pb" description="just a desc" ip_range="10.10.10.9-10.10.10.10"
Context Example
{
"Panorama": {
"Addresses": {
"Description": "just a desc",
"IP_Range": "10.10.10.9-10.10.10.10",
"Name": "address_test_pb"
}
}
}
Human Readable Output
Address was created successfully.
pan-os-delete-address
Delete an address object
Base Command
pan-os-delete-address
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the address to delete. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Addresses.Name | string | Address name that was deleted. |
| Panorama.Addresses.DeviceGroup | String | Device group for the address (Panorama instances). |
Command Example
!pan-os-delete-address name="address_test_pb"
Context Example
{
"Panorama": {
"Addresses": {
"Name": "address_test_pb"
}
}
}
Human Readable Output
Address was deleted successfully.
pan-os-list-address-groups
Returns a list of address groups.
Base Command
pan-os-list-address-groups
Input
| Argument Name | Description | Required |
|---|---|---|
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tag | Tag for which to filter the Address groups. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AddressGroups.Name | string | Address group name. |
| Panorama.AddressGroups.Type | string | Address group type. |
| Panorama.AddressGroups.Match | string | Dynamic Address group match. |
| Panorama.AddressGroups.Description | string | Address group description. |
| Panorama.AddressGroups.Addresses | String | Static Address group addresses. |
| Panorama.AddressGroups.DeviceGroup | String | Device group for the address group (Panorama instances). |
| Panorama.AddressGroups.Tags | String | Address group tags. |
Command Example
#### Context Example
```json
{
"Panorama": {
"AddressGroups": [
{
"Match": "2.2.2.2",
"Name": "a_g_1",
"Type": "dynamic"
},
{
"Addresses": [
"Demisto address",
"test3",
"test_demo3"
],
"Name": "Demisto group",
"Type": "static"
},
{
"Description": "jajja",
"Match": "4.4.4.4",
"Name": "dynamic2",
"Type": "dynamic"
},
{
"Addresses": [
"test4",
"test2"
],
"Name": "static2",
"Type": "static"
}
]
}
}
Human Readable Output
Address groups
Name Type Addresses Match Description Tags a_g_1 dynamic 2.2.2.2 Demisto group static Demisto address,
test3,
test_demo3dynamic2 dynamic 4.4.4.4 jajja static2 static test4,
test2
pan-os-get-address-group
Get details for the specified address group
Base Command
pan-os-get-address-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Address group name. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AddressGroups.Name | string | Address group name. |
| Panorama.AddressGroups.Type | string | Address group type. |
| Panorama.AddressGroups.Match | string | Dynamic Address group match. |
| Panorama.AddressGroups.Description | string | Address group description. |
| Panorama.AddressGroups.Addresses | string | Static Address group addresses. |
| Panorama.AddressGroups.DeviceGroup | String | Device group for the address group (Panorama instances). |
| Panorama.AddressGroups.Tags | String | Address group tags. |
Command Example
!pan-os-get-address-group name=suspicious_address_group
Human Readable Output
Address groups
Name Type Addresses Match Description suspicious_address_group dynamic 1.1.1.1 this ip is very bad
pan-os-create-address-group
Creates a static or dynamic address group.
Base Command
pan-os-create-address-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Address group name. | Required |
| type | Address group type. | Required |
| match | Dynamic Address group match. e.g: “1.1.1.1 or 2.2.2.2” | Optional |
| addresses | Static address group list of addresses. | Optional |
| description | Address group description. | Optional |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tags | The tags for the Address group. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AddressGroups.Name | string | Address group name. |
| Panorama.AddressGroups.Type | string | Address group type. |
| Panorama.AddressGroups.Match | string | Dynamic Address group match. |
| Panorama.AddressGroups.Addresses | string | Static Address group list of addresses. |
| Panorama.AddressGroups.Description | string | Address group description. |
| Panorama.AddressGroups.DeviceGroup | String | Device group for the address group (Panorama instances). |
| Panorama.AddressGroups.Tags | String | Address group tags. |
Command Example
!pan-os-create-address-group name=suspicious_address_group type=dynamic match=1.1.1.1 description="this ip is very bad"
Context Example
{
"Panorama": {
"AddressGroups": {
"Description": "this ip is very bad",
"Match": "1.1.1.1",
"Name": "suspicious_address_group",
"Type": "dynamic"
}
}
}
Human Readable Output
Address group was created successfully.
pan-os-block-vulnerability
Sets a vulnerability signature to block mode.
Base Command
pan-os-block-vulnerability
Input
| Argument Name | Description | Required |
|---|---|---|
| drop_mode | Type of session rejection. Possible values are: “drop”, “alert”, “block-ip”, “reset-both”, “reset-client”, and “reset-server”.’ Default is “drop”. | Optional |
| vulnerability_profile | Name of vulnerability profile. | Required |
| threat_id | Numerical threat ID. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Vulnerability.ID | string | ID of vulnerability that has been blocked/overridden. |
| Panorama.Vulnerability.NewAction | string | New action for the vulnerability. |
Command Example
!pan-os-block-vulnerability threat_id=18250 vulnerability_profile=name
Human Readable Output
Threat with ID 18250 overridden.
pan-os-delete-address-group
Deletes an address group.
Base Command
pan-os-delete-address-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of address group to delete. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AddressGroups.Name | string | Name of address group that was deleted. |
| Panorama.AddressGroups.DeviceGroup | String | Device group for the address group (Panorama instances). |
Command Example
!pan-os-delete-address-group name="dynamic_address_group_test_pb3"
Human Readable Output
Address group was deleted successfully
pan-os-edit-address-group
Edits a static or dynamic address group.
Base Command
pan-os-edit-address-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the address group to edit. | Required |
| type | Address group type. | Required |
| match | Address group new match. For example, ‘1.1.1.1 and 2.2.2.2’. | Optional |
| element_to_add | Element to add to the list of the static address group. Only existing Address objects can be added. | Optional |
| element_to_remove | Element to remove from the list of the static address group. Only existing Address objects can be removed. | Optional |
| description | Address group new description. | Optional |
| tags | The tag of the Address group to edit. | Optional |
| device-group | The device group in which the address group belongs to. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AddressGroups.Name | string | Address group name. |
| Panorama.AddressGroups.Type | string | Address group type. |
| Panorama.AddressGroups.Filter | string | Dynamic Address group match. |
| Panorama.AddressGroups.Description | string | Address group description. |
| Panorama.AddressGroups.Addresses | string | Static Address group addresses. |
| Panorama.AddressGroups.DeviceGroup | String | Device group for the address group (Panorama instances). |
| Panorama.AddressGroups.Tags | String | Address group tags. |
pan-os-list-services
Returns a list of addresses.
Base Command
pan-os-list-services
Input
| Argument Name | Description | Required |
|---|---|---|
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tag | Tag for which to filter the Services. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Services.Name | string | Service name. |
| Panorama.Services.Protocol | string | Service protocol. |
| Panorama.Services.Description | string | Service description. |
| Panorama.Services.DestinationPort | string | Service destination port. |
| Panorama.Services.SourcePort | string | Service source port. |
| Panorama.Services.DeviceGroup | string | Device group in which the service was configured (Panorama instances). |
| Panorama.Services.Tags | String | Service tags. |
Command Example
#### Context Example
```json
{
"Panorama": {
"Services": [
{
"Description": "rgfg",
"DestinationPort": "55",
"Name": "demisto_service1",
"Protocol": "tcp",
"SourcePort": "567-569"
},
{
"Description": "mojo",
"DestinationPort": "55",
"Name": "demi_service_test_pb",
"Protocol": "sctp",
"SourcePort": "60"
},
]
}
}
Human Readable Output
Services
Name Protocol SourcePort DestinationPort Description demisto_service1 tcp 567-569 55 rgfg demi_service_test_pb sctp 60 55 mojo
pan-os-get-service
Returns service details for the supplied service name.
Base Command
pan-os-get-service
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Service name. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Services.Name | string | Service name. |
| Panorama.Services.Protocol | string | Service protocol. |
| Panorama.Services.Description | string | Service description. |
| Panorama.Services.DestinationPort | string | Service destination port. |
| Panorama.Services.SourcePort | string | Service source port. |
| Panorama.Services.DeviceGroup | string | Device group for the service (Panorama instances). |
| Panorama.Service.Tags | String | Service tags. |
Command Example
!pan-os-get-service name=demisto_service1
Human Readable Output
Address
Name Protocol SourcePort DestinationPort Description demisto_service1 tcp 567-569 55 rgfg
pan-os-create-service
Creates a service.
Base Command
pan-os-create-service
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name for the new service. | Required |
| protocol | The protocol for the new service. Possible values are: tcp, udp, sctp. | Required |
| destination_port | The destination port for the new service. | Required |
| source_port | The source port for the new service. | Optional |
| description | The description for the new service. | Optional |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tags | The tags for the new service. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Services.Name | string | The service name. |
| Panorama.Services.Protocol | string | The service protocol. |
| Panorama.Services.Description | string | The service description. |
| Panorama.Services.DestinationPort | string | The service destination port. |
| Panorama.Services.SourcePort | string | The service source port. |
| Panorama.Services.DeviceGroup | string | The device group for the service (Panorama instances). |
| Panorama.Services.Tags | String | The service tags. |
Command Example
!pan-os-create-service name=guy_ser3 protocol=udp destination_port=36 description=bfds
Context Example
{
"Panorama": {
"Services": {
"Description": "bfds",
"DestinationPort": "36",
"Name": "guy_ser3",
"Protocol": "udp"
}
}
}
Human Readable Output
Service was created successfully.
pan-os-delete-service
Deletes a service.
Base Command
pan-os-delete-service
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the service to delete. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Services.Name | string | Name of the deleted service. |
| Panorama.Services.DeviceGroup | string | Device group for the service (Panorama instances). |
Command Example
!pan-os-delete-service name=guy_ser3
Context Example
{
"Panorama": {
"Services": {
"Name": "guy_ser3"
}
}
}
Human Readable Output
Service was deleted successfully.
pan-os-list-service-groups
Returns a list of service groups.
Base Command
pan-os-list-service-groups
Input
| Argument Name | Description | Required |
|---|---|---|
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tag | Tags for which to filter the Service groups. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ServiceGroups.Name | string | Service group name. |
| Panorama.ServiceGroups.Services | string | Service group related services. |
| Panorama.ServiceGroups.DeviceGroup | string | Device group for the service group (Panorama instances). |
| Panorama.ServiceGroups.Tags | String | Service group tags. |
Command Example
#### Context Example
```json
{
"Panorama": {
"ServiceGroups": [
{
"Name": "demisto_default_service_groups",
"Services": [
"service-http",
"service-https"
]
},
{
"Name": "demisto_test_pb_service_group",
"Services": "serice_tcp_test_pb"
}
]
}
}
Human Readable Output
Service groups
Name Services demisto_default_service_groups service-http,
service-httpsdemisto_test_pb_service_group service_tcp_test_pb
pan-os-get-service-group
Returns details for the specified service group.
Base Command
pan-os-get-service-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Service group name. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ServiceGroups.Name | string | Service group name. |
| Panorama.ServiceGroups.Services | string | Service group related services. |
| Panorama.ServiceGroups.DeviceGroup | string | Device group for the service group (Panorama instances). |
| Panorama.ServiceGroups.Tags | String | Service group tags. |
Command Example
!pan-os-get-service-group name=ser_group6
Context Example
{
"Panorama": {
"ServiceGroups": {
"Name": "ser_group6",
"Services": [
"serice_tcp_test_pb",
"demi_service_test_pb"
]
}
}
}
Human Readable Output
Service group
Name Services ser_group6 serice_tcp_test_pb,
demi_service_test_pb
pan-os-create-service-group
Creates a service group.
Base Command
pan-os-create-service-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Service group name. | Required |
| services | Service group related services. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tags | Tags for which to filter Service groups. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ServiceGroups.Name | string | Service group name. |
| Panorama.ServiceGroups.Services | string | Service group related services. |
| Panorama.ServiceGroups.DeviceGroup | string | Device group for the service group (Panorama instances). |
| Panorama.ServiceGroups.Tags | String | Service group tags. |
Command Example
!pan-os-create-service-group name=lalush_sg4 services=`["demisto_service1","demi_service_test_pb"]
pan-os-delete-service-group
Deletes a service group.
Base Command
pan-os-delete-service-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the service group to delete. | Required |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ServiceGroups.Name | string | Name of the deleted service group. |
| Panorama.ServiceGroups.DeviceGroup | string | Device group for the service group (Panorama instances). |
Command Example
!pan-os-delete-service-group name=lalush_sg4
pan-os-edit-service-group
Edit a service group.
Base Command
pan-os-edit-service-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the service group to edit. | Required |
| services_to_add | Services to add to the service group. Only existing Services objects can be added. | Optional |
| services_to_remove | Services to remove from the service group. Only existing Services objects can be removed. | Optional |
| tags | Tag of the Service group to edit. | Optional |
| device-group | The device group in which the service group belongs to. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ServiceGroups.Name | string | Service group name. |
| Panorama.ServiceGroups.Services | string | Service group related services. |
| Panorama.ServiceGroups.DeviceGroup | string | Device group for the service group (Panorama instances). |
| Panorama.ServiceGroups.Tags | String | Service group tags. |
Command Example
!pan-os-edit-service-group name=lalush_sg4 services_to_remove=`["serice_udp_test_pb","demisto_service1"]
Human Readable Output
Service group was edited successfully
pan-os-get-custom-url-category
Returns information for a custom URL category.
Base Command
pan-os-get-custom-url-category
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Custom URL category name. | Required |
| device-group | The device group for which to return addresses for the custom URL category (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.CustomURLCategory.Name | String | The category name of the custom URL. |
| Panorama.CustomURLCategory.Description | String | The category description of the custom URL. |
| Panorama.CustomURLCategory.Sites | String | The list of sites of the custom URL category. |
| Panorama.CustomURLCategory.DeviceGroup | String | The device group for the custom URL Category (Panorama instances). |
| Panorama.CustomURLCategory.Categories | String | The list of categories of the custom URL category. |
| Panorama.CustomURLCategory.Type | String | The category type of the custom URL. |
Command Example
!pan-os-get-custom-url-category name=my_personal_url_category
Human Readable Output
Custom URL Category
Name Sites Description my_personal_url_category thepill.com,
abortion.comjust a desc
pan-os-create-custom-url-category
Creates a custom URL category.
Base Command
pan-os-create-custom-url-category
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the custom URL category to create. | Required |
| description | Description of the custom URL category to create. | Optional |
| sites | List of sites for the custom URL category. | Optional |
| device-group | The device group for which to return addresses for the custom URL category (Panorama instances). | Optional |
| type | The category type of the URL. Relevant from PAN-OS v9.x. | Optional |
| categories | The list of categories. Relevant from PAN-OS v9.x. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.CustomURLCategory.Name | String | Custom URL category name. |
| Panorama.CustomURLCategory.Description | String | Custom URL category description. |
| Panorama.CustomURLCategory.Sites | String | Custom URL category list of sites. |
| Panorama.CustomURLCategory.DeviceGroup | String | Device group for the Custom URL Category (Panorama instances). |
| Panorama.CustomURLCategory.Sites | String | Custom URL category list of categories. |
| Panorama.CustomURLCategory.Type | String | Custom URL category type. |
Command Example
!pan-os-create-custom-url-category name=suspicious_address_group sites=["thepill.com","abortion.com"] description=momo
Context Example
{
"Panorama": {
"CustomURLCategory": {
"Description": "momo",
"Name": "suspicious_address_group",
"Sites": [
"thepill.com",
"abortion.com"
]
}
}
}
Human Readable Output
Created Custom URL Category
Name Sites Description suspicious_address_group thepill.com,
abortion.commomo
pan-os-delete-custom-url-category
Deletes a custom URL category.
Base Command
pan-os-delete-custom-url-category
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the custom URL category to delete. | Optional |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.CustomURLCategory.Name | string | Name of the custom URL category to delete. |
| Panorama.CustomURLCategory.DeviceGroup | string | Device group for the Custom URL Category (Panorama instances). |
Command Example
!pan-os-delete-custom-url-category name=suspicious_address_group
Context Example
{
"Panorama": {
"CustomURLCategory": {
"Name": "suspicious_address_group"
}
}
}
Human Readable Output
Custom URL category was deleted successfully.
pan-os-edit-custom-url-category
Adds or removes sites to and from a custom URL category.
Base Command
pan-os-edit-custom-url-category
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the custom URL category to add or remove sites. | Required |
| sites | A comma separated list of sites to add to the custom URL category. | Optional |
| action | Adds or removes sites or categories. Possible values are: add, remove | Required |
| categories | A comma separated list of categories to add to the custom URL category. | Optional |
| device-group | The device group in which the URL category belongs to. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.CustomURLCategory.Name | string | Custom URL category name. |
| Panorama.CustomURLCategory.Description | string | Custom URL category description. |
| Panorama.CustomURLCategory.Sites | string | Custom URL category list of sites. |
| Panorama.CustomURLCategory.DeviceGroup | string | Device group for the Custom URL Category (Panorama instances). |
pan-os-get-url-category
Gets a URL category from URL Filtering. This command is only available on Firewall devices.
Base Command
pan-os-get-url-category
Input
| Argument Name | Description | Required |
|---|---|---|
| url | URL to check. | Optional |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.URL | string | URL. |
| Panorama.URLFilter.Category | string | URL category. |
| DBotScore.Vendor | String | The vendor used to calculate the score. |
| DBotScore.Score | Number | The actual score. |
| DBotScore.Type | String | The indicator type. |
| DBotScore.Indicator | String | The indicator that was tested. |
| URL.Data | String | The URL address. |
| URL.Category | String | The URL Category. |
Command Example
!pan-os-get-url-category url="poker.com"
Context Example
{
"DBotScore": {
"Indicator": "poker.com",
"Score": 1,
"Type": "url",
"Vendor": "PAN-OS"
},
"Panorama": {
"URLFilter": {
"Category": "gambling",
"URL": [
"poker.com"
]
}
},
"URL": {
"Category": "gambling",
"Data": "poker.com"
}
}
Human Readable Output
URL Filtering
URL Category poker.com gambling
url
Gets a URL category from URL Filtering. This command is only available on Firewall devices.
Base Command
url
Input
| Argument Name | Description | Required |
|---|---|---|
| url | URL to check. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.URL | string | URL. |
| Panorama.URLFilter.Category | string | The URL category. |
| DBotScore.Vendor | String | The vendor used to calculate the score. |
| DBotScore.Score | Number | The actual score. |
| DBotScore.Type | String | The indicator type. |
| DBotScore.Indicator | String | The indicator that was tested. |
| URL.Data | String | The URL address. |
| URL.Category | String | The URL category. |
pan-os-get-url-category-from-cloud
Returns a URL category from URL filtering. This command is only available on Firewall devices.
Base Command
pan-os-get-url-category-from-cloud
Input
| Argument Name | Description | Required |
|---|---|---|
| url | URL to check. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.URL | string | The URL. |
| Panorama.URLFilter.Category | string | URL category. |
Command Example
!pan-os-get-url-category-from-cloud url=google.com
Human Readable Output
URL Filtering from cloud
URL Category google.com search-engines
pan-os-get-url-category-from-host
Returns a URL category from URL Filtering.
Base Command
pan-os-get-url-category-from-host
Input
| Argument Name | Description | Required |
|---|---|---|
| url | URL to check. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.URL | string | The URL. |
| Panorama.URLFilter.Category | string | The URL category. |
Command Example
!pan-os-get-url-category-from-host url=google.com
Human Readable Output
URL Filtering from host
URL Category google.com search-engines
pan-os-get-url-filter
Returns information for a URL filtering rule.
Base Command
pan-os-get-url-filter
Input
| Argument Name | Description | Required |
|---|---|---|
| name | URL Filter name. | Required |
| device-group | The device group for which to return addresses for the URL Filter (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.Name | string | URL Filter name. |
| Panorama.URLFilter.Category.Name | string | URL Filter category name. |
| Panorama.URLFilter.Category.Action | string | Action for the URL category. |
| Panorama.URLFilter.OverrideBlockList | string | URL Filter override block list. |
| Panorama.URLFilter.OverrideAllowList | string | URL Filter override allow list. |
| Panorama.URLFilter.Description | string | URL Filter description. |
| Panorama.URLFilter.DeviceGroup | string | Device group for the URL Filter (Panorama instances). |
Command Example
!pan-os-get-url-filter name=demisto_default_url_filter
Human Readable Output
URL Filter
Name Category OverrideAllowList Description demisto_default_url_filter {‘Action’: ‘block’, ‘Name’: u’abortion’},
{‘Action’: ‘block’, ‘Name’: u’abuse-drugs’}888.com,
777.comgres
pan-os-create-url-filter
Creates a URL filtering rule.
Base Command
pan-os-create-url-filter
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the URL filter to create. | Required |
| url_category | URL categories. | Required |
| action | Action for the URL categories. Can be “allow”, “block”, “alert”, “continue”, or “override”. | Required |
| override_allow_list | CSV list of URLs to exclude from the allow list. | Optional |
| override_block_list | CSV list of URLs to exclude from the blocked list. | Optional |
| description | URL Filter description. | Optional |
| device-group | The device group for which to return addresses for the URL Filter (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.Name | string | URL Filter name. |
| Panorama.URLFilter.Category.Name | string | URL Filter category name. |
| Panorama.URLFilter.Category.Action | string | Action for the URL category. |
| Panorama.URLFilter.OverrideBlockList | string | URL Filter override allow list. |
| Panorama.URLFilter.OverrideBlockList | string | URL Filter override blocked list. |
| Panorama.URLFilter.Description | string | URL Filter description. |
| Panorama.URLFilter.DeviceGroup | string | Device group for the URL Filter (Panorama instances). |
Command Example
!pan-os-create-url-filter action=block name=gambling_url url_category=gambling
Context Example
{
"Panorama": {
"URLFilter": {
"Category": [
{
"Action": "block",
"Name": "gambling"
}
],
"Name": "gambling_url"
}
}
}
Human Readable Output
URL Filter was created successfully.
pan-os-edit-url-filter
Edit a URL filtering rule.
Base Command
pan-os-edit-url-filter
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the URL filter to edit. | Required |
| element_to_change | Element to change. | Required |
| element_value | Element value. Limited to one value. | Required |
| add_remove_element | Add or remove an element from the Allow List or Block List fields. Default is to ‘add’ the element_value to the list. | Optional |
| device-group | The device group in which the URL-filter belongs to. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.Name | string | URL Filter name. |
| Panorama.URLFilter.Description | string | URL Filter description. |
| Panorama.URLFilter.Category.Name | string | URL Filter category. |
| Panorama.URLFilter.Action | string | Action for the URL category. |
| Panorama.URLFilter.OverrideAllowList | string | Allow Overrides for the URL category. |
| Panorama.URLFilter.OverrideBlockList | string | Block Overrides for the URL category. |
| Panorama.URLFilter.DeviceGroup | string | Device group for the URL Filter (Panorama instances). |
Command Example
!pan-os-edit-url-filter name=demisto_default_url_filter element_to_change=override_allow_list element_value="poker.com" add_remove_element=add
Human Readable Output
URL Filter was edited successfully
pan-os-delete-url-filter
Deletes a URL filtering rule.
Base Command
pan-os-delete-url-filter
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the URL filter rule to delete. | Required |
| device-group | The device group for which to return addresses for the URL filter (Panorama instances) | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.URLFilter.Name | string | URL filter rule name. |
| Panorama.URLFilter.DeviceGroup | string | Device group for the URL Filter (Panorama instances). |
Command Example
!pan-os-delete-url-filter name=gambling_url
Context Example
{
"Panorama": {
"URLFilter": {
"Name": "gambling_url"
}
}
}
Human Readable Output
URL Filter was deleted successfully.
pan-os-list-edls
Returns a list of external dynamic lists.
Base Command
pan-os-list-edls
Input
| Argument Name | Description | Required |
|---|---|---|
| device-group | The device group for which to return addresses for the EDL (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.EDL.Name | string | Name of the EDL. |
| Panorama.EDL.Type | string | The type of EDL. |
| Panorama.EDL.URL | string | URL in which the EDL is stored. |
| Panorama.EDL.Description | string | Description of the EDL. |
| Panorama.EDL.CertificateProfile | string | EDL certificate profile. |
| Panorama.EDL.Recurring | string | Time interval that the EDL was pulled and updated. |
| Panorama.EDL.DeviceGroup | string | Device group for the EDL (Panorama instances). |
Command Example
#### Context Example
```json
{
"Panorama": {
"EDL": [
{
"Description": "6u4ju7",
"Name": "blabla3",
"Recurring": "hourly",
"Type": "url",
"URL": "lolo"
},
{
"Description": "ip",
"Name": "bad_ip_edl_demisot_web_server",
"Recurring": "five-minute",
"Type": "ip",
"URL": "http://192.168.1.15/files/very_bad_ip2.txt"
}
]
}
}
Human Readable Output
External Dynamic Lists
Name Type URL Recurring Description blabla3 url lolo hourly 6u4ju7 bad_ip_edl_demisot_web_server ip http://192.168.1.15/files/very_bad_ip2.txt five-minute ip
pan-os-get-edl
Returns information for an external dynamic list
Base Command
pan-os-get-edl
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the EDL. | Required |
| device-group | The device group for which to return addresses for the EDL (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.EDL.Name | string | Name of the EDL. |
| Panorama.EDL.Type | string | The type of EDL. |
| Panorama.EDL.URL | string | URL in which the EDL is stored. |
| Panorama.EDL.Description | string | Description of the EDL. |
| Panorama.EDL.CertificateProfile | string | EDL certificate profile. |
| Panorama.EDL.Recurring | string | Time interval that the EDL was pulled and updated. |
| Panorama.EDL.DeviceGroup | string | Device group for the EDL (Panorama instances). |
Command Example
!pan-os-get-edl name=test_pb_domain_edl_DONT_DEL
Context Example
{
"Panorama": {
"EDL": {
"Description": "new description3",
"Name": "test_pb_domain_edl_DONT_DEL",
"Recurring": "hourly",
"Type": "url",
"URL": "https://test_pb_task.not.real"
}
}
}
Human Readable Output
External Dynamic List
Name Type URL Recurring Description test_pb_domain_edl_DONT_DEL url https://test_pb_task.not.real hourly new description3
pan-os-create-edl
Creates an external dynamic list.
Base Command
pan-os-create-edl
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the EDL. | Required |
| url | URL from which to pull the EDL. | Required |
| type | The type of EDL. | Required |
| recurring | Time interval for pulling and updating the EDL. | Required |
| certificate_profile | Certificate Profile name for the URL that was previously uploaded. to PAN OS. | Optional |
| description | Description of the EDL. | Optional |
| device-group | The device group for which to return addresses for the EDL (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.EDL.Name | string | Name of theEDL. |
| Panorama.EDL.Type | string | Type of the EDL. |
| Panorama.EDL.URL | string | URL in which the EDL is stored. |
| Panorama.EDL.Description | string | Description of the EDL. |
| Panorama.EDL.CertificateProfile | string | EDL certificate profile. |
| Panorama.EDL.Recurring | string | Time interval that the EDL was pulled and updated. |
| Panorama.EDL.DeviceGroup | string | Device group for the EDL (Panorama instances). |
Command Example
!pan-os-create-edl name=new_EDL recurring="five-minute" type=url url="gmail.com"
Context Example
{
"Panorama": {
"EDL": {
"Name": "new_EDL",
"Recurring": "five-minute",
"Type": "url",
"URL": "gmail.com"
}
}
}
Human Readable Output
External Dynamic List was created successfully.
pan-os-edit-edl
Modifies an element of an external dynamic list.
Base Command
pan-os-edit-edl
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the external dynamic list to edit. | Required |
| element_to_change | The element to change (“url”, “recurring”, “certificate_profile”, “description”). | Required |
| element_value | The element value. | Required |
| device-group | The device group in which the EDL belongs to. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.EDL.Name | string | Name of the EDL. |
| Panorama.EDL.URL | string | URL where the EDL is stored. |
| Panorama.EDL.Description | string | Description of the EDL. |
| Panorama.EDL.CertificateProfile | string | EDL certificate profile. |
| Panorama.EDL.Recurring | string | Time interval that the EDL was pulled and updated. |
| Panorama.EDL.DeviceGroup | string | Device group for the EDL (Panorama instances). |
Command Example
!pan-os-edit-edl name=test_pb_domain_edl_DONT_DEL element_to_change=description element_value="new description3"
Context Example
{
"Panorama": {
"EDL": {
"Description": "new description3",
"Name": "test_pb_domain_edl_DONT_DEL"
}
}
}
Human Readable Output
External Dynamic List was edited successfully
pan-os-delete-edl
Deletes an external dynamic list.
Base Command
pan-os-delete-edl
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the EDL to delete. | Required |
| device-group | The device group for which to return addresses for the EDL (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.EDL.Name | string | Name of the EDL that was deleted. |
| Panorama.EDL.DeviceGroup | string | Device group for the EDL (Panorama instances). |
Command Example
!pan-os-delete-edl name=new_EDL
Context Example
{
"Panorama": {
"EDL": {
"Name": "new_EDL"
}
}
}
Human Readable Output
External Dynamic List was deleted successfully
pan-os-refresh-edl
Refreshes the specified external dynamic list.
Base Command
pan-os-refresh-edl
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Name of the EDL | Required |
| device-group | The device group for which to return addresses for the EDL (Panorama instances). | Optional |
| edl_type | The type of the EDL. Required when refreshing an EDL object which is configured on Panorama. | Optional |
| location | The location of the EDL. Required when refreshing an EDL object which is configured on Panorama. | Optional |
| vsys | The Vsys of the EDL. Required when refreshing an EDL object which is configured on Panorama. | Optional |
Context Output
There is no context output for this command.
Command Example
!pan-os-refresh-edl name=test_pb_domain_edl_DONT_DEL
Human Readable Output
Refreshed External Dynamic List successfully
pan-os-create-rule
Creates a policy rule.
Base Command
pan-os-create-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | Name of the rule to create. | Optional |
| description | Description of the rule to create. | Optional |
| action | Action for the rule. Can be “allow”, “deny”, or “drop”. | Required |
| source | A comma-separated list of address object names, address group object names, or EDL object names. | Optional |
| destination | A comma-separated list of address object names, address group object names, or EDL object names. | Optional |
| source_zone | A comma-separated list of source zones. | Optional |
| destination_zone | A comma-separated list of destination zones. | Optional |
| negate_source | Whether to negate the source (address, address group). Can be “Yes” or “No”. | Optional |
| negate_destination | Whether to negate the destination (address, address group). Can be “Yes” or “No”. | Optional |
| service | A comma-separated list of service object names for the rule. | Optional |
| disable | Whether to disable the rule. Can be “Yes” or “No” (default is “No”). | Optional |
| application | A comma-separated list of application object names for the rule. | Optional |
| source_user | A comma-separated list of source users for the rule to create. | Optional |
| pre_post | Pre rule or Post rule (Panorama instances). | Optional |
| target | Specifies a target firewall for the rule (Panorama instances). | Optional |
| log_forwarding | Log forwarding profile. | Optional |
| device-group | The device group for which to return addresses for the rule (Panorama instances). | Optional |
| tags | Rule tags to create. | Optional |
| category | A comma-separated list of URL categories. | Optional |
| profile_setting | A profile setting group. | Optional |
| where | Where to move the rule. Can be “before”, “after”, “top”, or “bottom”. If you specify “before” or “after”, you need to supply the “dst” argument. | Optional |
| dst | Destination rule relative to the rule that you are moving. This field is only relevant if you specify “before” or “after” in the “where” argument. | Optional |
| audit_comment | An audit comment for the rule. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityRule.Name | string | Rule name. |
| Panorama.SecurityRule.Description | string | Rule description. |
| Panorama.SecurityRule.Action | string | Action for the rule. |
| Panorama.SecurityRule.Source | string | Source address. |
| Panorama.SecurityRule.Destination | string | Destination address. |
| Panorama.SecurityRule.NegateSource | boolean | Whether the source is negated (address, address group). |
| Panorama.SecurityRule.NegateDestination | boolean | Whether the destination negated (address, address group). |
| Panorama.SecurityRule.Service | string | Service for the rule. |
| Panorama.SecurityRule.Disabled | string | Whether the rule is disabled. |
| Panorama.SecurityRule.Application | string | Application for the rule. |
| Panorama.SecurityRule.Target | string | Target firewall (Panorama instances). |
| Panorama.SecurityRule.LogForwarding | string | Log forwarding profile (Panorama instances). |
| Panorama.SecurityRule.DeviceGroup | string | Device group for the rule (Panorama instances). |
| Panorama.SecurityRules.Tags | String | Rule tags. |
| Panorama.SecurityRules.ProfileSetting | String | Profile setting group. |
Command Example
!pan-os-create-rule rulename="block_bad_application" description="do not play at work" action="deny" application="fortnite"
Context Example
{
"Panorama": {
"SecurityRule": {
"Action": "deny",
"Application": "fortnite",
"Description": "do not play at work",
"Disabled": "No",
"Name": "block_bad_application",
"SourceUser": "any"
}
}
}
Human Readable Output
Rule configured successfully.
pan-os-custom-block-rule
Creates a custom block policy rule.
Base Command
pan-os-custom-block-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the custom block policy rule to create. | Optional |
| object_type | The object type to block in the policy rule. Possible values are: ip, address-group, application, url-category, edl. | Required |
| object_value | A comma-separated list of object values for the object_type argument. | Required |
| direction | The direction to block. This argument is not applicable for the “custom-url-category” object_type. Possible values are: to, from, both. Default is both. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances). Possible values are: pre-rulebase, post-rulebase. | Optional |
| target | Specifies a target firewall for the rule (Panorama instances). | Optional |
| log_forwarding | The log forwarding profile. | Optional |
| device-group | The device group for which to return addresses for the rule (Panorama instances). | Optional |
| tags | The tags to use for the custom block policy rule. | Optional |
| where | Where to move the rule. If you specify “before” or “after”, you need to supply the “dst” argument. Possible values are: before, after, top, bottom. Default is bottom. | Optional |
| dst | The destination rule relative to the rule that you are moving. This field is only relevant if you specify “before” or “after” in the “where” argument. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityRule.Name | string | The rule name. |
| Panorama.SecurityRule.Object | string | The blocked object. |
| Panorama.SecurityRule.Direction | string | The direction blocked. |
| Panorama.SecurityRule.Target | string | The target firewall (Panorama instances). |
| Panorama.SecurityRule.LogForwarding | string | The log forwarding profile (Panorama instances). |
| Panorama.SecurityRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.SecurityRule.Tags | String | The rule tags. |
| Panorama.SecurityRules.ProfileSetting | String | The profile setting group. |
Command Example
!pan-os-custom-block-rule object_type=application object_value=fortnite
Context Example
{
"Panorama": {
"SecurityRule": {
"Application": [
"fortnite"
],
"Direction": "both",
"Disabled": false,
"Name": "demisto-9c9ed15a"
}
}
}
Human Readable Output
Object was blocked successfully.
pan-os-move-rule
Changes the location of a policy rule.
Base Command
pan-os-move-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | Name of the rule to move. | Required |
| where | Where to move the rule. Can be “before”, “after”, “top”, or “bottom”. If you specify “before” or “after”, you need to supply the “dst” argument. | Required |
| dst | Destination rule relative to the rule that you are moving. This field is only relevant if you specify “before” or “after” in the “where” argument. | Optional |
| pre_post | Rule location. Mandatory for Panorama instances. | Optional |
| device-group | The device group for which to return addresses for the rule (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityRule.Name | string | Rule name. |
| Panorama.SecurityRule.DeviceGroup | string | Device group for the rule (Panorama instances). |
Command Example
!pan-os-move-rule rulename="test_rule3" where="bottom"
Human Readable Output
Rule test_rule3 moved successfully
pan-os-edit-rule
Edits a policy rule.
Base Command
pan-os-edit-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | Name of the rule to edit. | Required |
| element_to_change | Parameter in the security rule to change. Can be ‘source’, ‘destination’, ‘application’, ‘action’, ‘category’, ‘description’, ‘disabled’, ‘target’, ‘log-forwarding’, ‘tag’, ‘source-user’, ‘service’, ‘profile-setting’ or ‘audit-comment’. | Required |
| element_value | The new value for the parameter. | Required |
| pre_post | Pre-rule or post-rule (Panorama instances). | Optional |
| behaviour | Whether to replace, add, or remove the element_value from the current rule object value. | Optional |
| device-group | The device group in which the rule belongs to. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityRule.Name | string | Rule name. |
| Panorama.SecurityRule.Description | string | Rule description. |
| Panorama.SecurityRule.Action | string | Action for the rule. |
| Panorama.SecurityRule.Source | string | Source address. |
| Panorama.SecurityRule.Destination | string | Destination address. |
| Panorama.SecurityRule.NegateSource | boolean | Whether the source is negated (address, address group). |
| Panorama.SecurityRule.NegateDestination | boolean | Whether the destination is negated (address, address group). |
| Panorama.SecurityRule.Service | string | Service for the rule. |
| Panorama.SecurityRule.Disabled | string | Whether the rule is disabled. |
| Panorama.SecurityRule.Application | string | Application for the rule. |
| Panorama.SecurityRule.Target | string | Target firewall (Panorama instances). |
| Panorama.SecurityRule.DeviceGroup | string | Device group for the rule (Panorama instances). |
| Panorama.SecurityRule.Category | string | The category of the rule. |
| Panorama.SecurityRule.LogForwarding | string | The log forwarding of the rule. |
| Panorama.SecurityRule.ProfileSetting | string | The profile setting of the rule. |
| Panorama.SecurityRule.SourceUser | string | The source user of the rule. |
| Panorama.SecurityRule.AuditComment | string | The audit comment of the rule. |
| Panorama.SecurityRule.Tags | String | Tags for the rule. |
| Panorama.SecurityRules.ProfileSetting | String | Profile setting group. |
Command Example
!pan-os-edit-rule rulename="block_bad_application" element_to_change=action element_value=drop
Context Example
{
"Panorama": {
"SecurityRule": {
"Action": "drop",
"Name": "block_bad_application"
}
}
}
Human Readable Output
Rule edited successfully.
pan-os-delete-rule
Deletes a policy rule.
Base Command
pan-os-delete-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the rule to delete. | Required |
| pre_post | The pre-rule or post-rule (Panorama instances). Possible values are: pre-rulebase, post-rulebase. | Optional |
| device-group | The device group where the rule is configured (Panorama instances). | Optional |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| rulebase | The rulebase from which to delete the rule. Possible values are: security, application-override, authentication, decryption, nat, pbf. Default is security. | Required |
| vsys | The Firewall VSYS to delete the rule from. Use for deleting local rules from a firewall via Panorama or to specify a different VSYS than set in Integration parameters. Default is vsys1. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityRule.Name | string | The rule name. |
| Panorama.SecurityRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.NAT.Name | string | The rule name. |
| Panorama.NAT.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.SSLRule.Name | string | The rule name. |
| Panorama.SSLRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.PBF.Name | string | The rule name. |
| Panorama.PBF.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.AuthRule.Name | string | The rule name. |
| Panorama.AuthRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.AppOverride.Name | string | The rule name. |
| Panorama.AppOverride.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.CleanedUpRules.Category | string | The category of the rule that was cleaned up (Local or Panorama). |
| Panorama.CleanedUpRules.AppliedAction | string | The applied cleanup action (Disabled or Deleted). |
| Panorama.CleanedUpRules.DeviceGroup | string | The device group where the rule was cleaned up from (Panorama instances). |
| Panorama.CleanedUpRules.PrePost | string | The location where the rule was cleaned up from (Panorama instances). |
| Panorama.CleanedUpRules.RuleName | string | The name of the rule. |
| Panorama.CleanedUpRules.Rulebase | string | The rulebase where the rule was cleaned up from (e.g. ‘security’, ‘nat’). |
| Panorama.CleanedUpRules.Target | string | The target firewall serial number, if provided. |
| Panorama.CleanedUpRules.Vsys | string | The VSYS where the rule was cleaned up from. |
pan-os-list-applications
Returns a list of applications.
Base Command
pan-os-list-applications
Input
| Argument Name | Description | Required |
|---|---|---|
| predefined | Whether to list predefined applications. Possible values are: true, false. Default is false. | Optional |
| device-group | The device group for which to return applications. | Optional |
| name_match | When specified, the results returned in the list are limited to applications whose names match the specified string. | Optional |
| name_contain | When specified, the results returned in the list are limited to applications whose names contain the specified string. | Optional |
| risk | The application risk (1 to 5). Possible values are: 1, 2, 3, 4, 5. | Optional |
| category | The application category. Possible values are: collaboration, business-systems, networking, media. | Optional |
| sub_category | The application sub-category. | Optional |
| technology | The application technology. Possible values are: browser-based, client-server, network-protocol, peer-to-peer. | Optional |
| characteristics | A comma-separated list of characteristics. Possible values are: ‘virus-ident’, ‘evasive-behavior’, ‘file-type-ident’, ‘consume-big-bandwidth’, ‘used-by-malware’, ‘able-to-transfer-file’, ‘has-known-vulnerability’, ‘tunnel-other-application’, ‘prone-to-misuse’, ‘pervasive-use’, ‘file-forward’, ‘is-saas’. | Optional |
| limit | The maximum number of rules to retrieve. Will be used by default if page argument was not provided. Default is 50. | Optional |
| page_size | The page size of the applications to return. Default is 50. | Optional |
| page | The page at which to start listing applications. Must be a positive number. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Applications.Name | string | The application name. |
| Panorama.Applications.Id | number | The application ID. |
| Panorama.Applications.Category | string | The application category. |
| Panorama.Applications.SubCategory | string | The application sub-category. |
| Panorama.Applications.Technology | string | The application technology. |
| Panorama.Applications.Risk | number | The application risk (1 to 5). |
| Panorama.Applications.Description | string | The application description. |
| Panorama.Applications.Characteristics | string | The application characteristics. |
Command Example
#### Context Example
```json
{
"Panorama": {
"Applications": {
"Description": "lala",
"Id": null,
"Name": "demisto_fw_app3",
"Risk": "1",
"SubCategory": "ip-protocol",
"Technology": "peer-to-peer"
}
}
}
Human Readable Output
Applications
Id Name Risk Category SubCategory Technology Description demisto_fw_app3 1 ip-protocol peer-to-peer lala
pan-os-push-status
Returns the push status for a configuration.
Base Command
pan-os-push-status
Input
| Argument Name | Description | Required |
|---|---|---|
| job_id | The job ID to check. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Push.DeviceGroup | string | The device group to which the policies were pushed. |
| Panorama.Push.JobID | number | The job ID of the configuration to be pushed. |
| Panorama.Push.Status | string | The push status. |
| Panorama.Push.Details | string | The job ID details. |
| Panorama.Push.Warnings | String | The job ID warnings |
Command example
!pan-os-push-status job_id=31377
Context Example
{
"Panorama": {
"Push": {
"Details": [
"commit succeeded with warnings",
"commit succeeded with warnings"
],
"Errors": [],
"JobID": "31377",
"Status": "Completed",
"Warnings": [
"Interface loopback.645 has no zone configuration.",
"External Dynamic List test_pb_domain_edl_DONT_DEL is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - IP EDL-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - URL EDL-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - URL EDL tamarcat3-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List Cortex XSOAR Remediation - IP EDL tamarcat3-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List minemeld is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List edl-webinar-malicious-urls-OLD is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List edl-webinar-malicious-ips is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"External Dynamic List edl-webinar-malicious-domains is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.",
"Warning: No valid Antivirus content package exists",
"(Module: device)"
]
}
}
}
Human Readable Output
Push to Device Group status
JobID Status Details Errors Warnings 31377 Completed commit succeeded with warnings,
commit succeeded with warningsInterface loopback.645 has no zone configuration.,
External Dynamic List test_pb_domain_edl_DONT_DEL is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - IP EDL-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - URL EDL-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - URL EDL tamarcat3-url-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List Cortex XSOAR Remediation - IP EDL tamarcat3-ip-edl-object is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List minemeld is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List edl-webinar-malicious-urls-OLD is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List edl-webinar-malicious-ips is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
External Dynamic List edl-webinar-malicious-domains is configured with no certificate profile. Please select a certificate profile for performing server certificate validation.,
Warning: No valid Antivirus content package exists,
(Module: device)
pan-os-get-pcap
Returns information for a Panorama PCAP file. The recommended maximum file size is 5 MB. If the limit is exceeded, you might need to SSH the firewall and run the scp export command to export the PCAP file. For more information, see the Palo Alto Networks documentation.
When trying to retrieve threat-PCAPs of a firewall through a panorama instance, be sure to forward the log containing the threat PCAP file from the firewall to the panorama instance.
For more information follow instructions from here.
Base Command
pan-os-get-pcap
PCAPs api docs
You can find information about required/optional arguments for each pcap type here:




Input
| Argument Name | Description | Required |
|---|---|---|
| pcapType | Type of Packet Capture. | Required |
| serialNumber | The serial number of the firewall to download the PCAP from. | Optional |
| from | The file name for the PCAP type (‘dlp-pcap’, ‘filter-pcap’, or ‘application-pcap’). Required for ‘filter-pcap’. | Optional |
| localName | The new name for the PCAP file after downloading. If this argument is not specified, the file name is the PCAP file name set in the firewall. | Optional |
| serialNo | Serial number for the request. For further information, see the Panorama XML API Documentation. | Optional |
| searchTime | The Search time for the request. For example: “2019/12/26 00:00:00”, “2020/01/10”. For more information, see the Panorama XML API documentation. Required for “threat-pcap”. | Optional |
| pcapID | The ID of the PCAP for the request. For further information, see the Panorama XML API Documentation. Required for ‘threat-pcap’. | Optional |
| password | Password for Panorama, needed for the ‘dlp-pcap’ PCAP type only. | Optional |
| deviceName | The Device Name on which the PCAP is stored. For further information, see the Panorama XML API Documentation. Required for ‘threat-pcap’ in pan-os firewalls < 9.0.7 versions. | Optional |
| sessionID | The Session ID of the PCAP. For further information, see the Panorama XML API Documentation. Required for ‘threat-pcap’ in pan-os firewalls < 9.0.7 versions. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| File.Size | number | File size. |
| File.Name | string | File name. |
| File.Type | string | File type. |
| File.Info | string | File info. |
| File.Extension | string | File extension. |
| File.EntryID | string | FIle entryID. |
| File.MD5 | string | MD5 hash of the file. |
| File.SHA1 | string | SHA1 hash of the file. |
| File.SHA256 | string | SHA256 hash of the file. |
| File.SHA512 | string | SHA512 hash of the file. |
| File.SSDeep | string | SSDeep hash of the file. |
Command Example
!pan-os-get-pcap pcapType="filter-pcap" from=pcap_test
pan-os-list-pcaps
Returns a list of all PCAP files by PCAP type. Not available for threat PCAPs.
Base Command
pan-os-list-pcaps
Input
| Argument Name | Description | Required |
|---|---|---|
| pcapType | Type of Packet Capture. | Required |
| serialNumber | The serial number of the firewall to download the PCAP from. | Optional |
| password | Password for Panorama. Relevant for the ‘dlp-pcap’ PCAP type. | Optional |
Context Output
There is no context output for this command.
Command Example
!pan-os-list-pcaps pcapType=“filter-pcap”
Human Readable Output
List of Pcaps
Pcap name pcam_name
pan-os-register-ip-tag
Registers IP addresses to a tag.
Base Command
pan-os-register-ip-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| tag | Tag for which to register IP addresses. | Required |
| IPs | IP addresses to register. | Required |
| persistent | Whether the IP addresses remain registered to the tag after the device reboots (‘true’:persistent, ‘false’:non-persistent). Default is ‘true’. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.DynamicTags.Tag | string | Name of the tag. |
| Panorama.DynamicTags.IPs | string | Registered IP addresses. |
Command Example
!pan-os-register-ip-tag tag=tag02 IPs=[“10.0.0.13”,“10.0.0.14”]
Human Readable Output
Registered ip-tag successfully
pan-os-unregister-ip-tag
Unregisters IP addresses from a tag.
Base Command
pan-os-unregister-ip-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| tag | Tag for which to unregister IP addresses. | Required |
| IPs | IP addresses to unregister. | Required |
Context Output
There is no context output for this command.
Command Example
!pan-os-unregister-ip-tag tag=tag02 IPs=["10.0.0.13","10.0.0.14"]
Human Readable Output
Unregistered ip-tag successfully
pan-os-register-user-tag
Registers users to a tag. This command is only available for PAN-OS version 9.x and above.
Base Command
pan-os-register-user-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| tag | Tag for which to register users. | Required |
| Users | A comma-separated list of users to register. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.DynamicTags.Tag | string | Name of the tag. |
| Panorama.DynamicTags.Users | string | List of registered users. |
Command Example
!pan-os-register-user-tag tag-tag02 Users=Username
Human Readable Output
Registered user-tag successfully
pan-os-unregister-user-tag
Unregisters users from a tag. This command is only available for PAN-OS version 9.x and above.
Base Command
pan-os-unregister-user-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| tag | Tag from which to unregister Users. | Required |
| Users | A comma-separated list of users to unregister. | Required |
Context Output
There is no context output for this command.
Command Example
!pan-os-unregister-user-tag tag-tag02 Users=Username
Human Readable Output
Unregistered user-tag successfully
pan-os-query-traffic-logs
Deprecated. Queries traffic logs.
Base Command
pan-os-query-traffic-logs
Input
| Argument Name | Description | Required |
|---|---|---|
| query | Specifies the match criteria for the logs. This is similar to the query provided in the web interface under the Monitor tab when viewing the logs. | Optional |
| number_of_logs | The number of logs to retrieve. Default is 100. Maximum is 5,000. | Optional |
| direction | Whether logs are shown oldest first (forward) or newest first (backward). Default is backward. | Optional |
| source | Source address for the query. | Optional |
| destination | Destination address for the query. | Optional |
| receive_time | Date and time after which logs were received, in the format: YYYY/MM/DD HH:MM:SS. | Optional |
| application | Application for the query. | Optional |
| to_port | Destination port for the query. | Optional |
| action | Action for the query. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.TrafficLogs.JobID | number | Job ID of the traffic logs query. |
| Panorama.TrafficLogs.Status | string | Status of the traffic logs query. |
Command Example
!pan-os-query-traffic-logs query="" number_of_logs="100" direction="backward" source="" destination="" receive_time="" application="" to_port="" action="allow"
Human Readable Output
Query Traffic Logs
JobID Status 1858 Pending
pan-os-check-traffic-logs-status
Deprecated. Checks the query status of traffic logs.
Base Command
pan-os-check-traffic-logs-status
Input
| Argument Name | Description | Required |
|---|---|---|
| job_id | Job ID of the query. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.TrafficLogs.JobID | number | Job ID of the traffic logs query. |
| Panorama.TrafficLogs.Status | string | Status of the traffic logs query. |
Command Example
!pan-os-check-traffic-logs-status job_id="1865"
Human Readable Output
Query Traffic Logs status
JobID Status 1858 Pending
pan-os-get-traffic-logs
Deprecated. Retrieves traffic log query data by job id.
Base Command
pan-os-get-traffic-logs
Input
| Argument Name | Description | Required |
|---|---|---|
| job_id | Job ID of the query. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.TrafficLogs.JobID | number | Job ID of the traffic logs query. |
| Panorama.TrafficLogs.Status | string | Status of the traffic logs query. |
| Panorama.TrafficLogs.Logs.Action | string | Action of the traffic log. |
| Panorama.TrafficLogs.Logs.ActionSource | string | Action source of the traffic log. |
| Panorama.TrafficLogs.Logs.Application | string | Application of the traffic log. |
| Panorama.TrafficLogs.Logs.Bytes | string | The total log bytes. |
| Panorama.TrafficLogs.Logs.BytesReceived | string | The log bytes received. |
| Panorama.TrafficLogs.Logs.BytesSent | string | The log bytes sent. |
| Panorama.TrafficLogs.Logs.Category | string | Category of the traffic log. |
| Panorama.TrafficLogs.Logs.DeviceName | string | Device name of the traffic log. |
| Panorama.TrafficLogs.Logs.Destination | string | Destination of the traffic log. |
| Panorama.TrafficLogs.Logs.DestinationPort | string | Destination port of the traffic log. |
| Panorama.TrafficLogs.Logs.FromZone | string | From zone of the traffic log. |
| Panorama.TrafficLogs.Logs.Protocol | string | Protocol of the traffic log. |
| Panorama.TrafficLogs.Logs.ReceiveTime | string | Receive time of the traffic log. |
| Panorama.TrafficLogs.Logs.Rule | string | Rule of the traffic log. |
| Panorama.TrafficLogs.Logs.SessionEndReason | string | Session end reason of the traffic log. |
| Panorama.TrafficLogs.Logs.Source | string | Source of the traffic log. |
| Panorama.TrafficLogs.Logs.SourcePort | string | Source port of the traffic log. |
| Panorama.TrafficLogs.Logs.StartTime | string | Start time of the traffic log. |
| Panorama.TrafficLogs.Logs.ToZone | string | To zone of the traffic log. |
Command Example
!pan-os-get-traffic-logs job_id="1865"
pan-os-list-rules
Returns a list of predefined Security Rules. (When passing a query, all other arguments are overridden. Make sure the query includes all the filters you want).
Base Command
pan-os-list-rules
Input
| Argument Name | Description | Required |
|---|---|---|
| pre_post | The rules location. Mandatory for Panorama instances. Possible values are: pre-rulebase, post-rulebase. | Optional |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tag | The tag to filter the rules. | Optional |
| tags | A comma-separated list of tags by which to filter the rules. | Optional |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| rulename | The name of the rule to retrieve. If not mentioned, will retrieve all the rules. | Optional |
| disabled | Whether to retrieve the disabled rules or not. If not mentioned, will retrieve all the rules. Possible values are: yes, no. | Optional |
| action | The action of the rules to retrieve. If not mentioned, will retrieve all the rules. Possible values are: allow, deny, drop. | Optional |
| query | Free query to retrieve rules. If not mentioned, will retrieve all the rules. When passing a query, all other arguments are overridden. | Optional |
Context Output
| Path | Type | Description | ||||
|---|---|---|---|---|---|---|
| Panorama.SecurityRule.Location | String | The location of the security rule. | ||||
| Panorama.SecurityRule.NegateDestination | String | Indicates whether the destination is negated in the security rule. | ||||
| Panorama.SecurityRule.Disabled | String | Indicates whether the security rule is disabled. | ||||
| Panorama.SecurityRule.ICMPUnreachable | String | Specifies the behavior for ICMP unreachable messages. | ||||
| Panorama.SecurityRule.Description | String | The description of the security rule. | ||||
| Panorama.SecurityRule.GroupTag | String | The group tag of the security rule. | ||||
| Panorama.SecurityRule.LogForwardingProfile | String | The log forwarding profile applied to the security rule. | ||||
| Panorama.SecurityRule.NegateSource | String | Indicates whether the source is negated in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfileGroup | String | The security profile group assigned to the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile | Unknown | The security profile settings applied to the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.url-filtering | String | The security profile setting for url-filtering in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.data-filtering | String | The security profile setting for data-filtering in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.file-blocking | String | The security profile setting for file-blocking in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.virus | String | The security profile setting for viruses in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.spyware | String | The security profile setting for spyware in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.vulnerability | String | The security profile setting for vulnerability in the security rule. | ||||
| Panorama.SecurityRule.SecurityProfile.wildfire-analysis | String | The security profile setting for wildfire-analysis in the security rule. | Panorama.SecurityRule.Target.devices | String | The devices targeted by the security rule. | |
| Panorama.SecurityRule.Target.negate | String | Indicates whether the target is negated in the security rule. | ||||
| Panorama.SecurityRule.Name | String | The name of the security rule. | ||||
| Panorama.SecurityRule.From | String | The source zone of the security rule. | ||||
| Panorama.SecurityRule.DestinationDevice | String | The destination device of the security rule. | ||||
| Panorama.SecurityRule.Action | String | The action taken by the security rule. | ||||
| Panorama.SecurityRule.SourceDevice | String | The source device of the security rule. | ||||
| Panorama.SecurityRule.Tags | String | The tags associated with the security rule. | ||||
| Panorama.SecurityRule.SourceUser | String | The source user of the security rule. | ||||
| Panorama.SecurityRule.Application | String | The application used in the security rule. | ||||
| Panorama.SecurityRule.Service | String | The service used in the security rule. | ||||
| Panorama.SecurityRule.To | String | The destination zone of the security rule. | ||||
| Panorama.SecurityRule.Source | String | The source address of the security rule. | ||||
| Panorama.SecurityRule.CustomUrlCategory | String | The custom URL category targeted by the security rule. | ||||
| Panorama.SecurityRule.Destination | String | The destination address of the security rule. | ||||
| Panorama.SecurityRule.Options.LogAtSessionStart | String | Indicates whether the session start is logged. | ||||
| Panorama.SecurityRule.Options.LogForwarding | String | Indicates whether log forwarding is enabled for the security rule. | ||||
| Panorama.SecurityRule.Options.Schedule | String | The schedule applied to the security rule. | ||||
| Panorama.SecurityRule.Options.QoSMarking | String | The QoS marking applied to the security rule. | ||||
| Panorama.SecurityRule.Options.DisableServerResponseInspection | String | Specifies whether to disable server response inspection for the security rule. | ||||
| Panorama.SecurityRule.DeviceGroup | String | The device group of the security rule (Panorama instances only). | ||||
| Panorama.SecurityRule.Type | String | Represents the type of the security rule (e.g., pre-rule, post-rule, intra-zone, inter-zone). |
Command Example
!pan-os-list-rules pre_post=“pre-rulebase”
Context Example
{
"Panorama": {
"SecurityRule": [
{
"DeviceGroup": "TestDevice",
"Location": "TestDevice",
"NegateDestination": "",
"Disabled": "no",
"ICMPUnreachable": "",
"Description": "",
"GroupTag": "",
"LogForwardingProfile": "",
"NegateSource": "",
"SecurityProfileGroup": "TestGroup",
"SecurityProfile": {
"url-filtering": "",
"data-filtering": "",
"file-blocking": "",
"vulnerability": "",
"wildfire-analysis": "",
"spyware": "",
"virus": ""
},
"Target": {
"devices": "007051000185487",
"negate": "no"
},
"Name": "block rule",
"Type": "",
"From": [
"TestName",
"TestName2"
],
"DestinationDevice": "any",
"Action": "drop",
"SourceDevice": "any",
"Tags": [
"TestTag1",
"TestTag2",
"TestTag3"
],
"SourceUser": "any",
"Application": [
"cortex-xdr",
"jira",
"zoom"
],
"Service": "application-default",
"To": [
"TestName",
"TestName2"
],
"Source": [
"1.1.1.1",
"8.8.4.4",
"8.8.8.8"
],
"CustomUrlCategory": [
"abortion",
"adult",
"alcohol-and-tobacco",
"hacking"
],
"Destination": [
"1.1.1.1",
"8.8.8.8"
],
"Options": {
"LogAtSessionStart": "",
"LogForwarding": "",
"Schedule": "",
"QoSMarking": "",
"DisableServerResponseInspection": ""
}
},
{
"DeviceGroup": "TestDevice",
"Location": "TestDevice",
"NegateDestination": "",
"Disabled": "",
"ICMPUnreachable": "yes",
"Description": "bbbbbbbbbb",
"GroupTag": "TestGroupTag",
"LogForwardingProfile": "Log forwarding for SA",
"NegateSource": "",
"SecurityProfileGroup": "",
"SecurityProfile": {
"url-filtering": "default",
"spyware": "testing",
"virus": "default",
"data-filtering": "",
"file-blocking": "",
"vulnerability": "",
"wildfire-analysis": ""
},
"Target": {
"devices": [
"007051000185487",
"007051000188986"
],
"negate": "no"
},
"Name": "jl-test-1",
"Type": "intrazone",
"From": "internal",
"DestinationDevice": "bad nam",
"Action": "reset-server",
"SourceDevice": "good name",
"Tags": [
"APIiiiiii",
"test2shared"
],
"SourceUser": "me",
"Application": "8x8",
"Service": [
"new group",
"service-http",
"service-https"
],
"To": "internal",
"Source": "1.1.1.1",
"CustomUrlCategory": [
"alcohol-and-tobacco",
"auctions"
],
"Destination": "my_shared_address_object_test",
"Options": {
"LogAtSessionStart": "yes",
"LogForwarding": "Log forwarding for SA",
"Schedule": "test-schedule",
"QoSMarking": "ip-precedence",
"DisableServerResponseInspection": "yes"
}
}
]
}
}
Human Readable Output
Security Rules
| Name | Location | Tags | Type | Source Zone | Source Address | Source User | Source Device | Destination Zone | Destination Address | Destination Device | Application | Service | Url Category | Action | Profiles | Profile Group | Options | Target |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| block rule | TestDevice | TestTag1, TestTag2, TestTag3 |
TestName, TestName2 |
1.1.1.1, 8.8.4.4, 8.8.8.8 |
any | any | TestName, TestName2 |
1.1.1.1, 8.8.8.8 |
any | cortex-xdr, jira, zoom |
application-default | abortion, adult, alcohol-and-tobacco, hacking |
drop | url-filtering: data-filtering: file-blocking: virus: spyware: vulnerability: wildfire-analysis: |
TestGroup | LogAtSessionStart: LogForwarding: Schedule: QoSMarking: DisableServerResponseInspection: |
devices: 007051000185487 negate: no |
|
| jl-test-1 | TestDevice | APIiiiiii, test2shared |
intrazone | internal | 1.1.1.1 | me | good name | internal | my_shared_address_object_test | bad nam | 8x8 | new group, service-http, service-https |
alcohol-and-tobacco, auctions |
reset-server | url-filtering: default data-filtering: file-blocking: virus: default spyware: testing vulnerability: wildfire-analysis: |
LogAtSessionStart: yes LogForwarding: Log forwarding for SA Schedule: test-schedule QoSMarking: ip-precedence DisableServerResponseInspection: yes |
devices: 007051000185487, 007051000188986 negate: no |
pan-os-query-logs
The query logs in Panorama.
Base Command
pan-os-query-logs
Input
| Argument Name | Description | Required |
|---|---|---|
| log-type | The log type. Can be “threat”, “traffic”, “wildfire”, “url”, or “data”. Possible values are: threat, traffic, wildfire, url, data. | Required |
| query | The query string by which to match criteria for the logs. This is similar to the query provided in the web interface under the Monitor tab when viewing the logs. Do not use the query arguemnt in combination with the following arugments: time-generated, time-generated-after, addr-src, addr-dst, zone-src, zone-dst, action, port-dst, rule, url, filedigest. | Optional |
| time-generated | The time the log was generated from the timestamp and prior to it. For example “2019/08/11 01:10:44”, 3 days ago. |
Optional |
| time-generated-after | The time the log was generated from the timestamp and later then it. For example “2019/08/11 01:10:44”, 3 days ago. |
Optional |
| addr-src | The source address. | Optional |
| addr-dst | The destination address. | Optional |
| ip | The source or destination IP address. | Optional |
| zone-src | The source zone. | Optional |
| zone-dst | The destination source. | Optional |
| action | The rule action. | Optional |
| port-dst | The destination port. | Optional |
| rule | The rule name, for example “Allow all outbound”. | Optional |
| url | The URL, for example “safebrowsing.googleapis.com”. | Optional |
| filedigest | The file hash (for WildFire logs only). | Optional |
| number_of_logs | The maximum number of logs to retrieve. If empty, the default is 100. The maximum is 5,000. Default is 100. | Optional |
| polling | Whether to use polling. Possible values are: true, false. Default is false. | Optional |
| timeout | The timeout (in seconds) when polling. Default is 120. | Optional |
| interval_in_seconds | The interval (in seconds) when polling. Default is 10. | Optional |
| show-detail | Whether to show only after-change-preview, and before-change-preview, or get full data for it. The full data are under the fields after-change-detail, and before-change-detail. Possible values are: yes, no. Default is no. |
Optional |
Context Output
| Path | Type | Description |
| — | — | — |
| Panorama.Monitor.JobID | String | The job ID of the logs query. |
| Panorama.Monitor.Status | String | The status of the logs query. |
| Panorama.Monitor.Message | String | The message of the logs query. |
| Panorama.Monitor.Logs.Action | String | The action taken for the session. Can be “alert”, “allow”, “deny”, “drop”, “drop-all-packets”, “reset-client”, “reset-server”, “reset-both”, or “block-url”. |
| Panorama.Monitor.Logs.Application | String | The application associated with the session. |
| Panorama.Monitor.Logs.Category | String | The URL category of the URL subtype. For WildFire subtype, it is the verdict on the file, and can be either “malicious”, “phishing”, “grayware”, or “benign”. For other subtypes, the value is “any”. |
| Panorama.Monitor.Logs.DeviceName | String | The hostname of the firewall on which the session was logged. |
| Panorama.Monitor.Logs.DestinationAddress | String | The original session destination IP address. |
| Panorama.Monitor.Logs.DestinationUser | String | The username of the user to which the session was destined. |
| Panorama.Monitor.Logs.DestinationCountry | String | The destination country or internal region for private addresses. Maximum length is 32 bytes. |
| Panorama.Monitor.Logs.DestinationPort | String | The destination port utilized by the session. |
| Panorama.Monitor.Logs.FileDigest | String | Only for the WildFire subtype, all other types do not use this field. The filedigest string shows the binary hash of the file sent to be analyzed by the WildFire service. |
| Panorama.Monitor.Logs.FileName | String | File name or file type when the subtype is file.
File name when the subtype is virus.
File name when the subtype is wildfire-virus.
File name when the subtype is wildfire. |
| Panorama.Monitor.Logs.FileType | String | Only for the WildFire subtype, all other types do not use this field.
Specifies the type of file that the firewall forwarded for WildFire analysis. |
| Panorama.Monitor.Logs.FromZone | String | The zone from which the session was sourced. |
| Panorama.Monitor.Logs.URLOrFilename | String | The actual URL when the subtype is url.
The file name or file type when the subtype is file.
The file name when the subtype is virus.
The file name when the subtype is wildfire-virus.
The file name when the subtype is wildfire.
The URL or file name when the subtype is vulnerability (if applicable). |
| Panorama.Monitor.Logs.NATDestinationIP | String | The post-NAT destination IP address if destination NAT was performed. |
| Panorama.Monitor.Logs.NATDestinationPort | String | The post-NAT destination port. |
| Panorama.Monitor.Logs.NATSourceIP | String | The post-NAT source IP address if source NAT was performed. |
| Panorama.Monitor.Logs.NATSourcePort | String | The post-NAT source port. |
| Panorama.Monitor.Logs.PCAPid | String | The packet capture (pcap) ID is a 64 bit unsigned integral denoting
an ID to correlate threat pcap files with extended pcaps taken as a part of
that flow. All threat logs will contain either a pcap_id of 0 (no associated
pcap), or an ID referencing the extended pcap file. |
| Panorama.Monitor.Logs.IPProtocol | String | The IP protocol associated with the session. |
| Panorama.Monitor.Logs.Recipient | String | Only for the WildFire subtype, all other types do not use this field.
Specifies the name of the receiver of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. |
| Panorama.Monitor.Logs.Rule | String | The name of the rule that the session matched. |
| Panorama.Monitor.Logs.RuleID | String | The ID of the rule that the session matched. |
| Panorama.Monitor.Logs.ReceiveTime | String | The time the log was received at the management plane. |
| Panorama.Monitor.Logs.Sender | String | Only for the WildFire subtype; all other types do not use this field.
Specifies the name of the sender of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. |
| Panorama.Monitor.Logs.SessionID | String | An internal numerical identifier applied to each session. |
| Panorama.Monitor.Logs.DeviceSN | String | The serial number of the firewall on which the session was logged. |
| Panorama.Monitor.Logs.Severity | String | The severity associated with the threat. Can be “informational”, “low”,
“medium”, “high”, or “critical”. |
| Panorama.Monitor.Logs.SourceAddress | String | The original session source IP address. |
| Panorama.Monitor.Logs.SourceCountry | String | The source country or internal region for private addresses. Maximum
length is 32 bytes. |
| Panorama.Monitor.Logs.SourceUser | String | The username of the user who initiated the session. |
| Panorama.Monitor.Logs.SourcePort | String | The source port utilized by the session. |
| Panorama.Monitor.Logs.ThreatCategory | String | The threat categories used to classify different types of
threat signatures. |
| Panorama.Monitor.Logs.Name | String | The Palo Alto Networks identifier for the threat. A description
string followed by a 64-bit numerical identifier. |
| Panorama.Monitor.Logs.ID | String | The Palo Alto Networks ID for the threat. |
| Panorama.Monitor.Logs.ToZone | String | The zone to which the session was destined. |
| Panorama.Monitor.Logs.TimeGenerated | String | The time the log was generated on the data plane. |
| Panorama.Monitor.Logs.URLCategoryList | String | A list of the URL filtering categories the firewall used to
enforce the policy. |
| Panorama.Monitor.Logs.Bytes | String | The total log bytes. |
| Panorama.Monitor.Logs.BytesReceived | String | The log bytes received. |
| Panorama.Monitor.Logs.BytesSent | String | The log bytes sent. |
| Panorama.Monitor.Logs.Vsys | String | The VSYS on the firewall that generated the log. |
Command example with polling
!pan-os-query-logs log-type=traffic number_of_logs=1 polling=true show-detail=yes
Context example
{
"Panorama": {
"Monitor": {
"JobID": "1291",
"LogType": "traffic",
"Logs": {
"TimeGenerated": "2019/07/24 08:50:24",
"SourceAddress": "1.1.1.1",
"DestinationAddress": "2.3.4.5",
"Application": "web-browsing",
"Action": "deny",
"Rule": "any - any accept"
},
"Status": "Completed"
}
}
}
Human Readable Output
Fetching traffic logs for job ID 1291…
Query traffic Logs
TimeGenerated SourceAddress DestinationAddress Application Action Rule 2019/07/24 08:50:24 1.1.1.1 2.3.4.5 web-browsing deny any - any accept
Command example without polling
!pan-os-query-logs log-type=traffic number_of_logs=1
Context Example
{
"Panorama": {
"Monitor": {
"JobID": "1283",
"LogType": "traffic",
"Message": "query job enqueued with jobid 1283",
"Status": "Pending"
}
}
}
Human Readable Output
Query Logs
JobID Status 1283 Pending
pan-os-check-logs-status
Checks the status of a logs query.
Base Command
pan-os-check-logs-status
Input
| Argument Name | Description | Required |
|---|---|---|
| job_id | Job ID of the query. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Monitor.JobID | String | Job ID of the logs query. |
| Panorama.Monitor.Status | String | Status of the logs query. |
Command Example
!pan-os-check-logs-status job_id=657
Human Readable Output
Query Logs Status
JobID Status 657 Completed
pan-os-get-logs
Retrieves the data of a logs query.
Base Command
pan-os-get-logs
Input
| Argument Name | Description | Required |
|---|---|---|
| job_id | Job ID of the query. | Required |
| ignore_auto_extract | Whether to auto-enrich the War Room entry. If “true”, entry is not auto-enriched. If “false”, entry is auto-extracted. Default is “true”. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Monitor.Logs.Action | String | Action taken for the session. Can be “alert”, “allow”, “deny”, “drop”, “drop-all-packets”, “reset-client”, “reset-server”, “reset-both”, or “block-url”. |
| Panorama.Monitor.Logs.Application | String | Application associated with the session. |
| Panorama.Monitor.Logs.Category | String | The URL category of the URL subtype. For WildFire subtype, it is the verdict on the file, and can be either “malicious”, “phishing”, “grayware”’, or “benign”. For other subtypes, the value is “any”. |
| Panorama.Monitor.Logs.DeviceName | String | The hostname of the firewall on which the session was logged. |
| Panorama.Monitor.Logs.DestinationAddress | String | Original session destination IP address. |
| Panorama.Monitor.Logs.DestinationUser | String | Username of the user to which the session was destined. |
| Panorama.Monitor.Logs.DestinationCountry | String | Destination country or internal region for private addresses. Maximum length is 32 bytes. |
| Panorama.Monitor.Logs.DestinationPort | String | Destination port utilized by the session. |
| Panorama.Monitor.Logs.FileDigest | String | Only for the WildFire subtype, all other types do not use this field. The file digest string shows the binary hash of the file sent to be analyzed by the WildFire service. |
| Panorama.Monitor.Logs.FileName | String | File name or file type when the subtype is file. File name when the subtype is virus. File name when the subtype is wildfire-virus. File name when the subtype is wildfire. |
| Panorama.Monitor.Logs.FileType | String | Only for the WildFire subtype, all other types do not use this field. Specifies the type of file that the firewall forwarded for WildFire analysis. |
| Panorama.Monitor.Logs.FromZone | String | The zone from which the session was sourced. |
| Panorama.Monitor.Logs.URLOrFilename | String | The actual URL when the subtype is url. File name or file type when the subtype is file. File name when the subtype is virus. File name when the subtype is wildfire-virus. File name when the subtype is wildfire. URL or file name when the subtype is vulnerability (if applicable). |
| Panorama.Monitor.Logs.NATDestinationIP | String | If destination NAT performed, the post-NAT destination IP address. |
| Panorama.Monitor.Logs.NATDestinationPort | String | Post-NAT destination port. |
| Panorama.Monitor.Logs.NATSourceIP | String | If source NAT performed, the post-NAT source IP address. |
| Panorama.Monitor.Logs.NATSourcePort | String | Post-NAT source port. |
| Panorama.Monitor.Logs.PCAPid | String | The packet capture (pcap) ID is a 64 bit unsigned integral denoting an ID to correlate threat pcap files with extended pcaps taken as a part of that flow. All threat logs will contain either a pcap_id of 0 (no associated pcap), or an ID referencing the extended pcap file. |
| Panorama.Monitor.Logs.IPProtocol | String | IP protocol associated with the session. |
| Panorama.Monitor.Logs.Recipient | String | Only for the WildFire subtype, all other types do not use this field. Specifies the name of the receiver of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. |
| Panorama.Monitor.Logs.Rule | String | Name of the rule that the session matched. |
| Panorama.Monitor.Logs.RuleID | String | ID of the rule that the session matched. |
| Panorama.Monitor.Logs.ReceiveTime | String | Time the log was received at the management plane. |
| Panorama.Monitor.Logs.Sender | String | Only for the WildFire subtype; all other types do not use this field. Specifies the name of the sender of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. |
| Panorama.Monitor.Logs.SessionID | String | An internal numerical identifier applied to each session. |
| Panorama.Monitor.Logs.DeviceSN | String | The serial number of the firewall on which the session was logged. |
| Panorama.Monitor.Logs.Severity | String | Severity associated with the threat. Can be “informational”, “low”, “medium”, “high”, or “critical”. |
| Panorama.Monitor.Logs.SourceAddress | String | Original session source IP address. |
| Panorama.Monitor.Logs.SourceCountry | String | Source country or internal region for private addresses. Maximum length is 32 bytes. |
| Panorama.Monitor.Logs.SourceUser | String | Username of the user who initiated the session. |
| Panorama.Monitor.Logs.SourcePort | String | Source port utilized by the session. |
| Panorama.Monitor.Logs.ThreatCategory | String | Describes threat categories used to classify different types of threat signatures. |
| Panorama.Monitor.Logs.Name | String | Palo Alto Networks identifier for the threat. It is a description string followed by a 64-bit numerical identifier. |
| Panorama.Monitor.Logs.ID | String | Palo Alto Networks ID for the threat. |
| Panorama.Monitor.Logs.ToZone | String | The zone to which the session was destined. |
| Panorama.Monitor.Logs.TimeGenerated | String | Time that the log was generated on the dataplane. |
| Panorama.Monitor.Logs.URLCategoryList | String | A list of the URL filtering categories that the firewall used to enforce the policy. |
| Panorama.Monitor.Logs.Bytes | String | Total log bytes. |
| Panorama.Monitor.Logs.BytesReceived | String | Log bytes received. |
| Panorama.Monitor.Logs.BytesSent | String | Log bytes sent. |
| Panorama.Monitor.Logs.Vsys | String | Vsys on the firewall that generated the log. |
Command Example
!pan-os-get-logs job_id=678
Human Readable Output
Query data Logs
TimeGenerated SourceAddress DestinationAddress Application Action Rule 2019/07/24 08:50:24 1.1.1.1 2.3.4.5 web-browsing deny any - any accept
pan-os-security-policy-match
Checks whether a session matches a specified security policy. This command is only available on Firewall instances.
Base Command
pan-os-security-policy-match
Input
| Argument Name | Description | Required |
|---|---|---|
| application | The application name. | Optional |
| category | The category name. | Optional |
| destination | The destination IP address. | Required |
| destination-port | The destination port. | Optional |
| from | The from zone. | Optional |
| to | The to zone. | Optional |
| protocol | The IP protocol value. | Required |
| source | The source IP address. | Required |
| source-user | The source user. | Optional |
| target | Target number of the firewall. Use only on a Panorama instance. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityPolicyMatch.Query | String | Query for the session to test. |
| Panorama.SecurityPolicyMatch.Rules.Name | String | The matching rule name. |
| Panorama.SecurityPolicyMatch.Rules.Action | String | The matching rule action. |
| Panorama.SecurityPolicyMatch.Rules.Category | String | The matching rule category. |
| Panorama.SecurityPolicyMatch.Rules.Destination | String | The matching rule destination. |
| Panorama.SecurityPolicyMatch.Rules.From | String | The matching rule from zone. |
| Panorama.SecurityPolicyMatch.Rules.Source | String | The matching rule source. |
| Panorama.SecurityPolicyMatch.Rules.To | String | The matching rule to zone. |
| Panorama.SecurityPolicyMatch.QueryFields.Application | String | The application name. |
| Panorama.SecurityPolicyMatch.QueryFields.Category | String | The category name. |
| Panorama.SecurityPolicyMatch.QueryFields.Destination | String | The destination IP address. |
| Panorama.SecurityPolicyMatch.QueryFields.DestinationPort | Number | The destination port. |
| Panorama.SecurityPolicyMatch.QueryFields.From | String | The from zone. |
| Panorama.SecurityPolicyMatch.QueryFields.To | String | The to zone. |
| Panorama.SecurityPolicyMatch.QueryFields.Protocol | String | The IP protocol value. |
| Panorama.SecurityPolicyMatch.QueryFields.Source | String | The destination IP address. |
| Panorama.SecurityPolicyMatch.QueryFields.SourceUser | String | The source user. |
Command Example
!pan-os-security-policy-match destination=1.2.3.4 protocol=1 source=2.3.4.5
Context Example
{
"Panorama": {
"SecurityPolicyMatch": {
"Query": "<test><security-policy-match><source>2.3.4.5</source><destination>1.2.3.4</destination><protocol>1</protocol></security-policy-match></test>",
"QueryFields": {
"Destination": "1.2.3.4",
"Protocol": "1",
"Source": "2.3.4.5"
},
"Rules": {
"Action": "allow",
"Category": "any",
"Destination": "any",
"From": "any",
"Name": "any - any accept",
"Source": "any",
"To": "any"
}
}
}
}
Human Readable Output
Matching Security Policies
Name Action From To Source Destination any - any accept allow any any any any
pan-os-list-static-routes
Lists the static routes of a virtual router.
Base Command
pan-os-list-static-routes
Input
| Argument Name | Description | Required |
|---|---|---|
| virtual_router | The name of the virtual router for which to list static routes. | Required |
| template | The template to use to run the command. Overrides the template parameter (Panorama instances). | Optional |
| show_uncommitted | Whether to show an uncommitted configuration. Default is “false” | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.StaticRoutes.Name | String | The name of the static route. |
| Panorama.StaticRoutes.BFDProfile | String | The BFD profile of the static route. |
| Panorama.StaticRoutes.Destination | String | The destination of the static route. |
| Panorama.StaticRoutes.Metric | Number | The metric (port) of the static route. |
| Panorama.StaticRoutes.NextHop | String | The next hop of the static route. Can be an IP address, FQDN, or a virtual router. |
| Panorama.StaticRoutes.RouteTable | String | The route table of a static route. |
| Panorama.StaticRoutes.VirtualRouter | String | The virtual router to which the static router belongs. |
| Panorama.StaticRoutes.Template | String | The template in which the static route is defined (Panorama instances only). |
| Panorama.StaticRoutes.Uncommitted | Boolean | Whether the static route is committed. |
Command Example
!pan-os-list-static-routes virtual_router=virtual_router_test_DONT_DELETE
Context Example
{
"Panorama": {
"StaticRoutes": [
{
"BFDprofile": "None",
"Destination": "2.3.4.5/32",
"Metric": 14,
"Name": "static_route_ip",
"NextHop": "3.3.3.3",
"RouteTable": "Unicast",
"VirtualRouter": "virtual_router_test_DONT_DELETE"
},
{
"Destination": "1.1.1.1/32",
"Metric": 1012,
"Name": "test_maya",
"NextHop": "3.3.3.3",
"VirtualRouter": "virtual_router_test_DONT_DELETE"
}
]
}
}
Human Readable Output
Displaying all Static Routes for the Virtual Router: virtual_router_test_DONT_DELETE
Name Destination NextHop RouteTable Metric BFDprofile static_route_ip 2.3.4.5/32 3.3.3.3 Unicast 14 None test_maya 1.1.1.1/32 3.3.3.3 1012
pan-os-get-static-route
Returns the specified static route of a virtual router.
Base Command
pan-os-get-static-route
Input
| Argument Name | Description | Required |
|---|---|---|
| virtual_router | Name of the virtual router for which to display the static route. | Required |
| static_route | Name of the static route to display. | Required |
| template | The template for which to run the command. Overrides the template parameter (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.StaticRoutes.Name | String | The name of the static route. |
| Panorama.StaticRoutes.BFDProfile | String | The BFD profile of the static route. |
| Panorama.StaticRoutes.Destination | String | The destination of the static route. |
| Panorama.StaticRoutes.Metric | Number | The metric (port) of the static route. |
| Panorama.StaticRoutes.NextHop | String | The next hop of the static route. Can be an IP address, FQDN, or a virtual router. |
| Panorama.StaticRoutes.RouteTable | String | The route table of the static route. |
| Panorama.StaticRoutes.VirtualRouter | String | The virtual router to which the static router belongs. |
| Panorama.StaticRoutes.Template | String | The template in which the static route is defined (Panorama instances only). |
Command Example
!pan-os-get-static-route static_route=static_route_ip virtual_router=virtual_router_test_DONT_DELETE
Context Example
{
"Panorama": {
"StaticRoutes": {
"BFDprofile": "None",
"Destination": "2.3.4.5/32",
"Metric": 14,
"Name": "static_route_ip",
"NextHop": "3.3.3.3",
"RouteTable": "Unicast",
"VirtualRouter": "virtual_router_test_DONT_DELETE"
}
}
}
Human Readable Output
Static route: static_route_ip
BFDprofile Destination Metric Name NextHop RouteTable VirtualRouter None 2.3.4.5/32 14 static_route_ip 3.3.3.3 Unicast virtual_router_test_DONT_DELETE
pan-os-add-static-route
Adds a static route.
Base Command
pan-os-add-static-route
Input
| Argument Name | Description | Required |
|---|---|---|
| virtual_router | Virtual Router to which the routes will be added. | Required |
| static_route | The name of the static route to add. The argument is limited to a maximum of 31 characters, is case-sensitive, and supports letters, numbers, spaces, hyphens, and underscores. | Required |
| destination | The IP address and network mask in Classless Inter-domain Routing (CIDR) notation: ip_address/mask. For example, 192.168.0.1/24 for IPv4 or 2001:db8::/32 for IPv6). | Required |
| nexthop_type | The type for the nexthop. Can be: “ip-address”, “next-vr”, “fqdn” or “discard”. | Required |
| nexthop_value | The next hop value. | Required |
| metric | The metric port for the static route (1-65535). | Optional |
| interface | The interface name in which to add the static route. | Optional |
| template | The template to use to run the command. Overrides the template parameter (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.StaticRoutes.Name | String | The name of the static route. |
| Panorama.StaticRoutes.BFDProfile | String | The BFD profile of the static route. |
| Panorama.StaticRoutes.Destination | String | The destination of the static route. |
| Panorama.StaticRoutes.Metric | Number | The metric (port) of the static route. |
| Panorama.StaticRoutes.NextHop | String | The next hop of the static route. Can be an IP address, FQDN, or a virtual router. |
| Panorama.StaticRoutes.RouteTable | String | The route table of the static route. |
| Panorama.StaticRoutes.VirtualRouter | String | The virtual router to which the static router belongs. |
| Panorama.StaticRoutes.Template | String | The template in which the static route is defined (Panorama instances only). |
Command Example
!pan-os-add-static-route destination=2.3.4.5/32 nexthop_type="ip-address" nexthop_value=3.3.3.3 static_route=my_temp_route virtual_router=virtual_router_test_DONT_DELETE
Context Example
{
"Panorama": {
"StaticRoutes": {
"@code": "20",
"@status": "success",
"msg": "command succeeded"
}
}
}
Human Readable Output
New uncommitted static route my_temp_route configuration added.
pan-os-delete-static-route
Deletes a static route.
Base Command
pan-os-delete-static-route
Input
| Argument Name | Description | Required |
|---|---|---|
| route_name | The name of the static route to delete. | Required |
| virtual_router | The virtual router from which the routes will be deleted. | Required |
| template | The template for to use to run the command. Overrides the template parameter (Panorama instances). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.StaticRoutes.Name | String | The name of the static route. |
| Panorama.StaticRoutes.BFDProfile | String | The BFD profile of the static route. |
| Panorama.StaticRoutes.Destination | String | The destination of the static route. |
| Panorama.StaticRoutes.Metric | Number | The metric (port) of the static route. |
| Panorama.StaticRoutes.NextHop | String | The next hop of the static route. Can be an IP address, FQDN, or a virtual router. |
| Panorama.StaticRoutes.RouteTable | String | The route table of the static route. |
| Panorama.StaticRoutes.VirtualRouter | String | The virtual router to which the static router belongs. |
| Panorama.StaticRoutes.Template | String | The template in which the static route is defined (Panorama instances only). |
| Panorama.StaticRoutes.Deleted | Boolean | Whether the static route was deleted. |
Command Example
!pan-os-delete-static-route route_name=my_temp_route virtual_router=virtual_router_test_DONT_DELETE
Context Example
{
"Panorama": {
"StaticRoutes": {
"Deleted": true,
"Name": "my_temp_route"
}
}
}
Human Readable Output
The static route: my_temp_route was deleted. Changes are not committed.
pan-os-show-device-version
Show firewall device software version.
Base Command
pan-os-show-device-version
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Device.Info.Devicename | String | Devicename of the PAN-OS. |
| Panorama.Device.Info.Model | String | Model of the PAN-OS. |
| Panorama.Device.Info.Serial | String | Serial number of the PAN-OS. |
| Panorama.Device.Info.Version | String | Version of the PAN-OS. |
Command Example
#### Context Example
```json
{
"Panorama": {
"Device": {
"Info": {
"Devicename": "PA-VM",
"Model": "PA-VM",
"Serial": "000000000000000",
"Version": "8.1.7"
}
}
}
}
Human Readable Output
Device Version
Devicename Model Serial Version PA-VM PA-VM 000000000000000 8.1.7
pan-os-download-latest-content-update
Downloads the latest app/threat dynamic update.
Base Command
pan-os-download-latest-content-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the download job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the download status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Content.Download.JobID | String | The job ID of the app/threat download. |
| Panorama.Content.Download.Status | String | The app/threat download status. |
| Panorama.Content.Download.Details | String | The download job details. |
pan-os-content-update-download-status
Checks the download status of a content update.
Base Command
pan-os-content-update-download-status
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| job_id | Job ID to check. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Content.Download.JobID | String | Job ID to monitor. |
| Panorama.Content.Download.Status | String | Download status. |
| Panorama.Content.Download.Details | String | Job ID details. |
Command Example
!pan-os-content-update-download-status job_id=678
Human Readable Output
Content download status
JobID Status Details 678 Completed download succeeded with warnings
pan-os-install-latest-content-update
Installs the latest app/threat dynamic update.
Base Command
pan-os-install-latest-content-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the install job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the install status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Content.Install.JobID | String | The job ID of the installation. |
| Panorama.Content.Install.Status | String | The installation status. |
| Panorama.Content.Install.Details | String | The install job details. |
pan-os-content-update-install-status
Gets the installation status of the content update.
Base Command
pan-os-content-update-install-status
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| job_id | Job ID of the content installation. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Content.Install.JobID | String | Job ID of the content installation. |
| Panorama.Content.Install.Status | String | Content installation status. |
| Panorama.Content.Install.Details | String | Content installation status details. |
Command Example
!pan-os-content-update-install-status job_id=878
Human Readable Output
Content install status
JobID Status Details 878 Completed installation succeeded with warnings
pan-os-check-latest-panos-software
Checks the PAN-OS software version from the repository.
Base Command
pan-os-check-latest-panos-software
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.LatestVersions | unknown | Latest software versions. |
Command Example
### pan-os-download-panos-version
***
Downloads the target PAN-OS software version to install on the target device.
#### Base Command
`pan-os-download-panos-version`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| target_version | The target version number to install. | Required |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.PANOS.Download.JobID | Number | Job ID of the PAN-OS download. |
| Panorama.PANOS.Download.Status | String | Status of the PAN-OS download. |
#### Command Example
```!pan-os-download-panos-version target_version=1```
#### Human Readable Output
>### Result
>
>|JobID|Status|
>|---|---|
>| 111 | Pending |
### pan-os-download-panos-status
***
Gets the download status of the target PAN-OS software.
#### Base Command
`pan-os-download-panos-status`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| job_id | Job ID to check. | Required |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.PANOS.Download.JobID | String | Job ID of the PAN-OS download. |
| Panorama.PANOS.Download.Status | String | PAN-OS download status. |
| Panorama.PANOS.Download.Details | String | PAN-OS download details. |
#### Command Example
```!pan-os-download-panos-status job_id=999```
#### Human Readable Output
>### PAN-OS download status
>
>|JobID|Status|Details|
>|---|---|---|
>| 999 | Completed | download succeeded with warnings |
### pan-os-install-panos-version
***
Installs the target PAN-OS version on the specified target device.
#### Base Command
`pan-os-install-panos-version`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- |---| --- |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| target_version | Target PAN-OS version to install. | Required |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.PANOS.Install.JobID | string | Job ID from the PAN-OS installation. |
| Panorama.PANOS.Install.Status | String | Status of the PAN-OS installation. |
#### Command Example
```!pan-os-install-panos-version target_version=1```
#### Human Readable Output
>### PAN-OS Installation
>
>|JobID|Status|
>|---|---|
>| 111 | Pending |
### pan-os-install-panos-status
***
Gets the installation status of the PAN-OS software.
#### Base Command
`pan-os-install-panos-status`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| job_id | Job ID to check. | Required |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.PANOS.Install.JobID | Number | Job ID of the PAN-OS installation. |
| Panorama.PANOS.Install.Status | String | Status of the PAN-OS installation. |
| Panorama.PANOS.Install.Details | String | PAN-OS installation details. |
#### Command Example
```!pan-os-install-panos-status job_id=878```
#### Human Readable Output
>### PAN-OS installation status
>
>|JobID|Status|Details|
>|---|---|---|
>| 878 | Completed | installation succeeded with warnings |
### pan-os-device-reboot
***
Reboots the Firewall device.
#### Base Command
`pan-os-device-reboot`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-device-reboot```
### pan-os-show-location-ip
***
Gets location information for an IP address.
#### Base Command
`pan-os-show-location-ip`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| ip_address | The IP address from which to return information. | Required |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Location.IP.country_code | String | The IP address location country code. |
| Panorama.Location.IP.country_name | String | The IP addres location country name. |
| Panorama.Location.IP.ip_address | String | The IP address. |
| Panorama.Location.IP.Status | String | Whether the IP address was found. |
#### Command Example
```!pan-os-show-location-ip ip_address=8.8.8.8```
#### Context Example
```json
{
"Panorama": {
"Location": {
"IP": {
"country_code": "US",
"country_name": "United States",
"ip_address": "8.8.8.8",
"status": "Found"
}
}
}
}
Human Readable Output
IP 8.8.8.8 location
ip_address country_name country_code 8.8.8.8 United States US
pan-os-get-licenses
Gets information about available PAN-OS licenses and their statuses.
Base Command
pan-os-get-licenses
Input
There are no input arguments for this command.
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.License.Authcode | String | The authentication code of the license. |
| Panorama.License.Base-license-name | String | The base license name. |
| Panorama.License.Description | String | The description of the license. |
| Panorama.License.Expired | String | Whether the license has expired. |
| Panorama.License.Expires | String | When the license will expire. |
| Panorama.License.Feature | String | The feature of the license. |
| Panorama.License.Issued | String | When the license was issued. |
| Panorama.License.Serial | String | The serial number of the license. |
Command Example
#### Human Readable Output
>|Authcode|Description|Feature|Serial|Expired|Expires|Issued|
>|---|---|---|---|---|---|---|
>| I9805928 | NFR Support | NFR Support | 007DEMISTO1t | no | Never | November 25, 2019 |
### pan-os-get-security-profiles
***
Gets information for the specified security profile.
#### Base Command
`pan-os-get-security-profiles`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| security_profile | The security profile for which to get information. Possible values are: data-filtering, file-blocking, spyware, url-filtering, virus, vulnerability, wildfire-analysis. | Optional |
| device-group | The device group for which to return security profiles. | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Spyware.Name | String | The profile name. |
| Panorama.Spyware.Rules.Action | String | The rule action. |
| Panorama.Spyware.Rules.Category | String | The category for which to apply the rule. |
| Panorama.Spyware.Rules.Name | String | The rule name. |
| Panorama.Spyware.Rules.Packet-capture | String | Whether packet capture is enabled. |
| Panorama.Spyware.Rules.Severity | String | The rule severity. |
| Panorama.Spyware.Rules.Threat-name | String | The threat name to apply for the rule. |
| Panorama.URLFilter.Name | String | The profile name. |
| Panorama.URLFilter.Rules.Category.Action | String | The rule action to apply to the category. |
| Panorama.URLFilter.Rules.Category.Name | String | The category name. |
| Panorama.WildFire.Name | String | The WildFire profile name. |
| Panorama.WildFire.Rules.Analysis | String | The rule analysis. |
| Panorama.WildFire.Rules.Application | String | The application to apply for the rule. |
| Panorama.WildFire.Rules.File-type | String | The file type to apply for the rule. |
| Panorama.WildFire.Rules.Name | String | The rule name. |
| Panorama.Vulnerability.Name | String | The vulnerability profile name. |
| Panorama.Vulnerability.Rules.Vendor-id | String | The vendor ID to apply for the rule. |
| Panorama.Vulnerability.Rules.Packet-capture | String | Whether packet capture is enabled. |
| Panorama.Vulnerability.Rules.Host | String | The rule host. |
| Panorama.Vulnerability.Rules.Name | String | The rule name. |
| Panorama.Vulnerability.Rules.Category | String | The category to apply for the rule. |
| Panorama.Vulnerability.Rules.CVE | String | The CVE to apply for the rule. |
| Panorama.Vulnerability.Rules.Action | String | The rule action. |
| Panorama.Vulnerability.Rules.Severity | String | The rule severity. |
| Panorama.Vulnerability.Rules.Threat-name | String | The threat to apply for the rule. |
| Panorama.Antivirus.Name | String | The antivirus profile name. |
| Panorama.Antivirus.Rules.Action | String | The rule action. |
| Panorama.Antivirus.Rules.Name | String | The rule name. |
| Panorama.Antivirus.Rules.WildFire-action | String | The WildFire action. |
| Panorama.FileBlocking.Name | String | The file blocking profile name. |
| Panorama.FileBlocking.Rules.Action | String | The rule action. |
| Panorama.FileBlocking.Rules.Application | String | The application to apply for the rule. |
| Panorama.FileBlocking.Rules.File-type | String | The file type to apply for the rule. |
| Panorama.FileBlocking.Rules.Name | String | The rule name. |
| Panorama.DataFiltering.Name | String | The data filtering profile name. |
| Panorama.DataFiltering.Rules.Alert-threshold | String | The alert threshold. |
| Panorama.DataFiltering.Rules.Application | String | The application to apply for the rule. |
| Panorama.DataFiltering.Rules.Block-threshold | String | The block threshold. |
| Panorama.DataFiltering.Rules.Data-object | String | The data object. |
| Panorama.DataFiltering.Rules.Direction | String | The rule direction. |
| Panorama.DataFiltering.Rules.File-type | String | The file type to apply for the rule. |
| Panorama.DataFiltering.Rules.Log-severity | String | The log severity. |
| Panorama.DataFiltering.Rules.Name | String | The rule name. |
#### Command Example
```!pan-os-get-security-profiles security_profile=spyware```
#### Human Readable Output
>|Name|Rules|
>|---|---|
>| best-practice | {'Name': 'simple-critical', 'Action': {'reset-both': None}, 'Category': 'any', 'Severity': 'critical', 'Threat-name': 'any', 'Packet-capture': 'disable'},<br/>{'Name': 'simple-high', 'Action': {'reset-both': None}, 'Category': 'any', 'Severity': 'high', 'Threat-name': 'any', 'Packet-capture': 'disable'},<br/>{'Name': 'simple-medium', 'Action': {'reset-both': None}, 'Category': 'any', 'Severity': 'medium', 'Threat-name': 'any', 'Packet-capture': 'disable'},<br/>{'Name': 'simple-informational', 'Action': {'default': None}, 'Category': 'any', 'Severity': 'informational', 'Threat-name': 'any', 'Packet-capture': 'disable'},<br/>{'Name': 'simple-low', 'Action': {'default': None}, 'Category': 'any', 'Severity': 'low', 'Threat-name': 'any', 'Packet-capture': 'disable'} |
### pan-os-apply-security-profile
***
Apply a security profile to specific rules or rules with a specific tag.
#### Base Command
`pan-os-apply-security-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
|-------------------| --- | --- |
| profile_type | Security profile type. Can be 'data-filtering', 'file-blocking', 'spyware', 'url-filtering', 'virus, 'vulnerability', or wildfire-analysis.' | Required |
| rule_name | The rule name to apply. | Required |
| profile_name | The profile name to apply to the rule. | Required |
| pre_post | The location of the rules. Can be 'pre-rulebase' or 'post-rulebase'. Mandatory for Panorama instances. | Optional |
| device-group | The device group for which to apply security profiles. | Optional |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-apply-security-profile profile_name=test profile_type=spyware rule_name=rule1 pre_post="pre-rulebase"```
#### Human Readable Output
>
>The profile spyware = test has been applied to the rule rule1
### pan-os-remove-security-profile
***
Removes a security profile to specific rules or rules with a specific tag.
#### Base Command
`pan-os-remove-security-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_type | The security profile type. Possible values are: data-filtering, file-blocking, spyware, url-filtering, virus, vulnerability, wildfire-analysis. | Required |
| rule_name | The rule name to apply. | Required |
| pre_post | The location of the rules. Mandatory for Panorama instances. Possible values are: pre-rulebase, post-rulebase. | Optional |
| device-group | The device group for which to apply security profiles. | Optional |
#### Human Readable Output
>
>The profile test has been removed from the rule rule1
### pan-os-get-ssl-decryption-rules
***
Get SSL decryption rules.
#### Base Command
`pan-os-get-ssl-decryption-rules`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| pre_post | The location of the rules. Can be 'pre-rulebase' or 'post-rulebase'. Mandatory for Panorama instances. | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.SSLRule.From | String | The SSL rule from the source. |
| Panorama.SSLRule.Name | String | The name of the SSL rule. |
| Panorama.SSLRule.Destination | String | The destination of the SSL rule. |
| Panorama.SSLRule.Target | String | The target of the SSL rule. |
| Panorama.SSLRule.Service | String | The SSL rule service. |
| Panorama.SSLRule.Action | String | The SSL rule action. |
| Panorama.SSLRule.Type | String | The SSL rule type. |
| Panorama.SSLRule.Source | String | The source of the SSL rule. |
| Panorama.SSLRule.To | String | The SSL rule to destination. |
| Panorama.SSLRule.UUID | String | The SSL rule UUID. |
| Panorama.SSLRule.Description | String | The SSL rule description. |
| Panorama.SSLRule.Source-user | String | The SSL rule source user. |
| Panorama.SSLRule.Category | String | The SSL rule category. |
#### Command Example
```!pan-os-get-ssl-decryption-rules pre_post="pre-rulebase"```
#### Human Readable Output
>|Name|UUID|Target|Service|Category|Type|From|To|Source|Destenation|Action|Source-user|
>|---|---|---|---|---|---|---|---|---|---|---|---|
>| test | some_uuid | negate: no | any | member: any | ssl-forward-proxy: null | any | any | any | any | no-decrypt | any |
### pan-os-get-wildfire-configuration
***
Retrieves the Wildfire configuration.
#### Base Command
`pan-os-get-wildfire-configuration`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| template | The template name. | Required |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.WildFire.Name | String | The file type. |
| Panorama.WildFire.Size-limit | String | The file size limit. |
| Panorama.WildFire.recurring | String | The schedule that is recurring. |
#### Command Example
```!pan-os-get-wildfire-configuration template=WildFire```
>### WildFire Configuration
>
> Report Grayware File: yes
>
>|Name|Size-limit|
>|---|---|
>| pe | 10 |
>| apk | 30 |
>### The updated schedule for Wildfire
>
>|recurring|
>|---|
>| every-min: {"action": "download-and-install"} |
### pan-os-url-filtering-block-default-categories
***
Set default categories to block in the URL filtering profile.
#### Base Command
`pan-os-url-filtering-block-default-categories`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The url-filtering profile name. Get the name by running the get-security-profiles command. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-url-filtering-block-default-categories profile_name=test```
#### Human Readable Output
>The default categories to block has been set successfully to test
### pan-os-get-anti-spyware-best-practice
***
Get anti-spyware best practices.
#### Base Command
`pan-os-get-anti-spyware-best-practice`
#### Input
There are no input arguments for this command.
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Spyware.BotentDomain.Name | String | The botnet domain name. |
| Panorama.Spyware.BotentDomain.Action | String | The botnet domain action. |
| Panorama.Spyware.BotentDomain.Packet-capture | String | Whether packet capture is enabled. |
| Panorama.Spyware.BotentDomain.Sinkhole.ipv4-address | String | The botnet domain IPv4 address. |
| Panorama.Spyware.BotentDomain.Sinkhole.ipv6-address | String | The Botnet domain IPv6 address. |
| Panorama.Spyware.Rule.Category | String | The rule category. |
| Panorama.Spyware.Rule.Action | String | The rule action. |
| Panorama.Spyware.Rule.Name | String | The rule name. |
| Panorama.Spyware.Rule.Severity | String | The rule severity. |
| Panorama.Spyware.Rule.Threat-name | String | The rule threat name. |
| Panorama.Spyware.BotentDomain.Max_version | String | The botnet domain max version. |
#### Command Example
```!pan-os-get-anti-spyware-best-practice```
#### Human Readable Output
>### Anti Spyware Botnet-Domains Best Practice
>
>|Name|Action|Packet-capture|ipv4-address|ipv6-address|
>|---|---|---|---|---|
>| default-paloalto-dns | sinkhole: null | disable | | |
>| default-paloalto-cloud | allow: null | disable | | |
>| | | | pan-sinkhole-default-ip | ::1 |
>### Anti Spyware Best Practice Rules
>
>|Name|Severity|Action|Category|Threat-name|
>|---|---|---|---|---|
>| simple-critical | critical | reset-both: null | any | any |
>| simple-high | high | reset-both: null | any | any |
### pan-os-get-file-blocking-best-practice
***
Get file-blocking best practices.
#### Base Command
`pan-os-get-file-blocking-best-practice`
#### Input
There are no input arguments for this command.
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.FileBlocking.Rule.Action | String | The rule action. |
| Panorama.FileBlocking.Rule.Application | String | The rule application. |
| Panorama.FileBlocking.Rule.File-type | String | The rule file type. |
| Panorama.FileBlocking.Rule.Name | String | The rule name. |
#### Command Example
```!pan-os-get-file-blocking-best-practice```
#### Human Readable Output
>### File Blocking Profile Best Practice
>
>|Name|Action|File-type|Aplication|
>|---|---|---|---|
>| Block all risky file types | block | 7z,<br/>bat,<br/>cab,<br/>chm,<br/>class,<br/>cpl | any |
>| Block encrypted files | block | encrypted-rar,<br/>encrypted-zip| any |
### pan-os-get-antivirus-best-practice
***
Get anti-virus best practices.
#### Base Command
`pan-os-get-antivirus-best-practice`
#### Input
There are no input arguments for this command.
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Antivirus.Decoder.Action | String | The rule action. |
| Panorama.Antivirus.Decoder.Name | String | The rule name. |
| Panorama.Antivirus.Decoder.WildFire-action | String | The WildFire action. |
#### Command Example
```!pan-os-get-antivirus-best-practice```
#### Human Readable Output
>### Antivirus Best Practice Profile
>
>|Name|Action|WildFire-action|
>|---|---|---|
>| http | default | default|
>| smtp default | default |
### pan-os-get-vulnerability-protection-best-practice
***
Get vulnerability-protection best practices.
#### Base Command
`pan-os-get-vulnerability-protection-best-practice`
#### Input
There are no input arguments for this command.
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Vulnerability.Rule.Action | String | The rule action. |
| Panorama.Vulnerability.Rule.CVE | String | The rule CVE. |
| Panorama.Vulnerability.Rule.Category | String | The rule category. |
| Panorama.Vulnerability.Rule.Host | String | The rule host. |
| Panorama.Vulnerability.Rule.Name | String | The rule name. |
| Panorama.Vulnerability.Rule.Severity | String | The rule severity. |
| Panorama.Vulnerability.Rule.Threat-name | String | The threat name. |
| Panorama.Vulnerability.Rule.Vendor-id | String | The vendor ID. |
#### Command Example
```!pan-os-get-vulnerability-protection-best-practice```
#### Human Readable Output
>### vulnerability Protection Best Practice Profile
>
>|Name|Action|Host|Severity|Category|Threat-name|CVE|Vendor-id|
>|---|---|---|---|---|---|---|---|
>| simple-client-critical | reset-both: null | client | critical | any | any | any | any |
>| simple-client-high | reset-both: null | client | high | any | any | any | any |
### pan-os-get-wildfire-best-practice
***
View WildFire best practices.
#### Base Command
`pan-os-get-wildfire-best-practice`
#### Input
There are no input arguments for this command.
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.WildFire.Analysis | String | The WildFire analysis. |
| Panorama.WildFire.Application | String | The WildFire application. |
| Panorama.WildFire.File.File-size | String | The recommended file size. |
| Panorama.WildFire.File.Name | String | The file name. |
| Panorama.WildFire.File-type | String | The WildFire profile file type. |
| Panorama.WildFire.Name | String | The WildFire profile name. |
| Panorama.WildFire.SSLDecrypt | String | The SSL decrypt content. |
| Panorama.WildFire.Schedule.Action | String | The WildFire schedule action. |
| Panorama.WildFire.Schedule.Recurring | String | The WildFire schedule recurring. |
#### Command Example
```!pan-os-get-wildfire-best-practice```
#### Human Readable Output
>### WildFire Best Practice Profile
>
>|Name|Analysis|Aplication|File-type|
>|---|---|---|---|
>| default | public-cloud | any | any |
>### Wildfire Best Practice Schedule
>
>|Action|Recurring|
>|---|---|
>| download-and-install | every-minute |
>### Wildfire SSL Decrypt Settings
>
>|allow-forward-decrypted-content|
>|---|
>| yes |
>### Wildfire System Settings
>
>report-grayware-file: yes
>
>|Name|File-size|
>|---|---|
>| pe | 10 |
>| apk | 30 |
### pan-os-get-url-filtering-best-practice
***
View URL Filtering best practices.
#### Base Command
`pan-os-get-url-filtering-best-practice`
#### Input
There are no input arguments for this command.
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.URLFilter.Category.Action | String | The action to perform on the category. |
| Panorama.URLFilter.Category.Name | String | The category name. |
| Panorama.URLFilter.DeviceGroup | String | The device group name. |
| Panorama.URLFilter.Name | String | The Profile name. |
| Panorama.URLFilter.Header.log-container-page-only | String | The log container page only. |
| Panorama.URLFilter.Header.log-http-hdr-referer | String | The log HTTP header referer. |
| Panorama.URLFilter.Header.log-http-hdr-user | String | The log HTTP header user. |
| Panorama.URLFilter.Header.log-http-hdr-xff | String | The log HTTP header xff. |
#### Command Example
```!pan-os-get-url-filtering-best-practice```
#### Human Readable Output
>### URL Filtering Best Practice Profile Categories
>
>|Category|DeviceGroup|Name|
>|---|---|---|
>| {'Name': 'abortion', 'Action': 'alert'},<br/>{'Name': 'abused-drugs', 'Action': 'alert'} | Demisto sales lab | best-practice |
>### Best Practice Headers
>
>|log-container-page-only|log-http-hdr-referer|log-http-hdr-user|log-http-hdr-xff|
>|---|---|---|---|
>| yes | yes | yes | yes |
### pan-os-enforce-wildfire-best-practice
***
Enforces wildfire best practices to upload files to the maximum size, forwards all file types, and updates the schedule.
#### Base Command
`pan-os-enforce-wildfire-best-practice`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| template | The template name. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-enforce-wildfire-best-practice template=WildFire```
#### Human Readable Output
>The schedule was updated according to the best practice. Recurring every minute with the action of "download and install" The file upload for all file types is set to the maximum size.
### pan-os-create-antivirus-best-practice-profile
***
Creates an antivirus best practice profile.
#### Base Command
`pan-os-create-antivirus-best-practice-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The name of the profile to create. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-create-antivirus-best-practice-profile profile_name=test```
#### Human Readable Output
>The profile test was created successfully.
### pan-os-create-anti-spyware-best-practice-profile
***
Creates an Anti-Spyware best practice profile.
#### Base Command
`pan-os-create-anti-spyware-best-practice-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The profile name to create. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-create-anti-spyware-best-practice-profile profile_name=test```
#### Human Readable Output
>The profile test was created successfully.
### pan-os-create-vulnerability-best-practice-profile
***
Creates a vulnerability protection best practice profile.
#### Base Command
`pan-os-create-vulnerability-best-practice-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The profile name. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-create-vulnerability-best-practice-profile profile_name=test```
#### Human Readable Output
>The profile test was created successfully.
### pan-os-create-url-filtering-best-practice-profile
***
Creates a URL filtering best practice profile.
#### Base Command
`pan-os-create-url-filtering-best-practice-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The profile name. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-create-url-filtering-best-practice-profile profile_name=test```
#### Human Readable Output
>The profile test was created successfully.
### pan-os-create-file-blocking-best-practice-profile
***
Creates a file blocking best practice profile.
#### Base Command
`pan-os-create-file-blocking-best-practice-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The name of the profile. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-create-file-blocking-best-practice-profile profile_name=test```
#### Human Readable Output
>The profile test was created successfully.
### pan-os-create-wildfire-best-practice-profile
***
Creates a WildFire analysis best practice profile.
#### Base Command
`pan-os-create-wildfire-best-practice-profile`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| profile_name | The name of the profile. | Required |
#### Context Output
There is no context output for this command.
#### Command Example
```!pan-os-create-wildfire-best-practice-profile profile_name=test```
#### Human Readable Output
>The profile test was created successfully.
### pan-os-show-user-id-interfaces-config
***
Shows the user ID interface configuration.
#### Base Command
`pan-os-show-user-id-interfaces-config`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| template | The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. | Optional |
| template_stack | The template stack to use when running the command. | Optional |
| vsys | The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. . | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.UserInterfaces.Name | String | The name of the user interface. |
| Panorama.UserInterfaces.Zone | String | The zone to which the interface is connected |
| Panorama.UserInterfaces.EnableUserIdentification | String | Whether user identification is enabled. |
#### Command Example
```!pan-os-show-user-id-interfaces-config```
#### Context Example
```json
{
"Panorama": {
"UserInterfaces": {
"EnableUserIdentification": "no",
"Name": "ethernet1/1",
"Zone": "test_zone"
}
}
}
Human Readable Output
User Interface Configuration
Name Zone EnableUserIdentification ethernet1/1 test_zone no
pan-os-show-zones-config
Shows the zones configuration.
Base Command
pan-os-show-zones-config
Input
| Argument Name | Description | Required |
|---|---|---|
| template | The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. | Optional |
| template_stack | The template stack to use when running the command. | Optional |
| vsys | The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to ‘vsys1’. . | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Zone.Name | String | The name of the zone. |
| Panorama.Zone.Network | String | The network to which the zone connected |
| Panorama.Zone.EnableUserIdentification | String | Whether user identification is enabled. |
| Panorama.Zone.ZoneProtectionProfile | String | The zone protection profile. |
| Panorama.Zone.LogSetting | String | The log setting for the zone |
Command Example
#### Context Example
```json
{
"Panorama": {
"Zone": {
"EnableUserIdentification": "no",
"LogSetting": null,
"Name": "test_zone",
"Network": {
"tap": {
"member": "ethernet1/1"
}
},
"ZoneProtectionProfile": null
}
}
}
Human Readable Output
Zone Configuration
Name Network EnableUserIdentification test_zone tap: {“member”: “ethernet1/1”} no
pan-os-list-configured-user-id-agents
Retrieves list of user-ID agents configured in the system.
Base Command
pan-os-list-configured-user-id-agents
Input
| Argument Name | Description | Required |
|---|---|---|
| template | The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. | Optional |
| template_stack | The template stack to use when running the command. | Optional |
| vsys | The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to ‘vsys1’. . | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.UserIDAgents.Name | String | The user-ID Agent name. |
| Panorama.UserIDAgents.Host | String | The user-ID Agent host. |
| Panorama.UserIDAgents.Port | Number | The user-ID Agent port. |
| Panorama.UserIDAgents.LdapProxy | String | Whether LDAP proxy is used in the user-ID agent. |
| Panorama.UserIDAgents.NtlmAuth | String | Whether NLTM authentication is used in the user-ID agent. |
| Panorama.UserIDAgents.EnableHipCollection | String | Whether HIP collection is enabled in the user-ID agent. |
| Panorama.UserIDAgents.IpUserMapping | String | Whether IP user mapping is enabled in the user-ID agent. |
| Panorama.UserIDAgents.SerialNumber | Unknown | The serial number associated with the user-ID agent. |
| Panorama.UserIDAgents.CollectorName | String | The user-ID agent collector name. |
| Panorama.UserIDAgents.Secret | String | The user-ID agent secret. |
| Panorama.UserIDAgents.Disabled | String | Whether the user-ID agent is disbaled. |
Command Example
#### Context Example
```json
{
"Panorama": {
"UserIDAgents": [
{
"CollectorName": "demisto",
"Disabled": "yes",
"EnableHipCollection": null,
"Host": "mine",
"IpUserMapping": null,
"LdapProxy": "yes",
"Name": "testing",
"NtlmAuth": "yes",
"Port": "12",
"Secret": "secret",
"SerialNumber": null
},
{
"CollectorName": null,
"Disabled": null,
"EnableHipCollection": null,
"Host": null,
"IpUserMapping": null,
"LdapProxy": null,
"Name": "withSerial",
"NtlmAuth": null,
"Port": null,
"Secret": null,
"SerialNumber": "panorama"
}
]
}
}
Human Readable Output
User ID Agents
Name SerialNumber Host Port CollectorName LdapProxy NtlmAuth testing mine 12 demisto yes yes withSerial panorama
pan-os-upload-content-update-file
Uploads a content file to Panorama.
Base Command
pan-os-upload-content-update-file
Input
| Argument Name | Description | Required |
|---|---|---|
| entryID | Entry ID of the file to upload. | Required |
| category | The category of the content. Possible values are: wildfire, anti-virus, content. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Content.Upload.Status | string | Content upload status. |
| Panorama.Content.Upload.Message | string | Content upload message. |
Command Example
pan-os-upload-content-update-file entryID="32@14183" category="content"
Human Readable Output
Results
Status Message Success line: saved
pan-os-install-file-content-update
Installs specific content update file.
Base Command
pan-os-install-file-content-update
Input
| Argument Name | Description | Required |
|---|---|---|
| version_name | Update file name to be installed on PAN-OS. | Required |
| category | The category of the content. Possible values are: wildfire, anti-virus, content. | Required |
| skip_validity_check | Skips file validity check with PAN-OS update server. Use this option for air-gapped networks and only if you trust the content file. Possible values are: yes, no. Default is no. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Content.Install.JobID | string | JobID of the installation. |
| Panorama.Content.Install.Status | string | Installation status. |
Command Example
pan-os-install-file-content-update version_name="panupv2-all-contents-8322-6317" category="content" skip_validity_check="yes"
Human Readable Output
Results
JobID Status 30 Pending
pan-os-platform-get-arp-tables
Gets all ARP tables from all firewalls in the topology.
Base Command
pan-os-platform-get-arp-tables
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ShowArp.Summary.hostid | String | ID of the PAN-OS host |
| PANOS.ShowArp.Summary.max | String | Maximum number of supported ARP entries. |
| PANOS.ShowArp.Summary.total | String | Total number of current ARP entries. |
| PANOS.ShowArp.Summary.timeout | String | ARP entry timeout. |
| PANOS.ShowArp.Summary.dp | String | Firewall dataplane associated with the entry. |
| PANOS.ShowArp.Result.hostid | String | ID of the PAN-OS host. |
| PANOS.ShowArp.Result.interface | String | Network interface learned ARP entry. |
| PANOS.ShowArp.Result.ip | String | Layer 3 address. |
| PANOS.ShowArp.Result.mac | String | Layer 2 address. |
| PANOS.ShowArp.Result.port | String | Network interface matching entry. |
| PANOS.ShowArp.Result.status | String | ARP entry status. |
| PANOS.ShowArp.Result.ttl | String | Time to live. |
Command example
#### Context Example
```json
{
"PANOS": {
"ShowArp": {
"Result": [
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.1",
"mac": "00:66:4b:da:ce:61",
"port": "ethernet1/1",
"status": " c ",
"ttl": "1799"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "1.1.1.1",
"mac": "00:0c:29:31:bf:8b",
"port": "ethernet1/1",
"status": " c ",
"ttl": "991"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.11",
"mac": "4c:32:75:c2:b2:49",
"port": "ethernet1/1",
"status": " c ",
"ttl": "533"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.12",
"mac": "28:f0:76:79:63:b0",
"port": "ethernet1/1",
"status": " c ",
"ttl": "1721"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.13",
"mac": "a8:60:b6:20:ba:5c",
"port": "ethernet1/1",
"status": " c ",
"ttl": "1723"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.14",
"mac": "20:79:18:93:5a:94",
"port": "ethernet1/1",
"status": " c ",
"ttl": "19"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.15",
"mac": "68:ff:7b:2e:ef:f2",
"port": "ethernet1/1",
"status": " c ",
"ttl": "1396"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"ip": "192.168.1.16",
"mac": "00:d8:61:52:b2:ee",
"port": "ethernet1/1",
"status": " c ",
"ttl": "794"
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/2",
"ip": "10.10.0.12",
"mac": "00:0c:29:ba:d7:d2",
"port": "ethernet1/2",
"status": " c ",
"ttl": "1558"
}
],
"Summary": [
{
"dp": "dp0",
"hostid": "0111112222333444",
"max": "1500",
"timeout": "1800",
"total": "9"
}
]
}
}
}
Human Readable Output
PAN-OS ARP Table
dp hostid max timeout total dp0 0111112222333444 1500 1800 9
pan-os-platform-get-route-summary
Pulls all route summary information from the topology.
Base Command
pan-os-platform-get-route-summary
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ShowRouteSummary.Summary.hostid | Number | ID of the PAN-OS host. |
| PANOS.ShowRouteSummary.Summary.total | Number | Total number of routes. |
| PANOS.ShowRouteSummary.Summary.limit | Number | Maximum number of routes for the platform. |
| PANOS.ShowRouteSummary.Summary.active | Number | Active routes in the routing table . |
Command example
#### Context Example
```json
{
"PANOS": {
"ShowRouteSummary": {
"Summary": [
{
"active": 5,
"hostid": "0111112222333444",
"limit": 2500,
"total": 5
}
]
}
}
}
Human Readable Output
PAN-OS Route Summary
active hostid limit total 5 0111112222333444 2500 5
pan-os-platform-get-routes
Pulls all route information from the topology.
Base Command
pan-os-platform-get-routes
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ShowRoute.Summary.hostid | String | ID of the PAN-OS host. |
| PANOS.ShowRoute.Summary.interface | String | Next hop interface. |
| PANOS.ShowRoute.Summary.route_count | Number | Total number of routes seen on the virtual router interface. |
| PANOS.ShowRoute.Result.hostid | String | ID of the PAN-OS host. |
| PANOS.ShowRoute.Result.virtual_router | String | Virtual router this route belongs to. |
| PANOS.ShowRoute.Result.destination | String | Network destination of the route. |
| PANOS.ShowRoute.Result.nexthop | String | Next hop to destination. |
| PANOS.ShowRoute.Result.metric | String | Route metric. |
| PANOS.ShowRoute.Result.flags | String | Route flags. |
| PANOS.ShowRoute.Result.age | Number | Age of the route. |
| PANOS.ShowRoute.Result.interface | String | Next hop interface. |
| PANOS.ShowRoute.Result.route_table | String | The route table this route belongs to. |
Command example
#### Context Example
```json
{
"PANOS": {
"ShowRoute": {
"Result": [
{
"age": null,
"destination": "0.0.0.0/0",
"flags": "A S ",
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"metric": "10",
"nexthop": "192.168.1.1",
"route_table": "unicast",
"virtual_router": "default"
},
{
"age": null,
"destination": "10.10.0.0/24",
"flags": "A C ",
"hostid": "0111112222333444",
"interface": "ethernet1/2",
"metric": "0",
"nexthop": "10.10.0.1",
"route_table": "unicast",
"virtual_router": "default"
},
{
"age": null,
"destination": "10.10.0.1/32",
"flags": "A H ",
"hostid": "0111112222333444",
"interface": null,
"metric": "0",
"nexthop": "0.0.0.0",
"route_table": "unicast",
"virtual_router": "default"
},
{
"age": null,
"destination": "192.168.1.0/24",
"flags": "A C ",
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"metric": "0",
"nexthop": "192.168.1.139",
"route_table": "unicast",
"virtual_router": "default"
},
{
"age": null,
"destination": "192.168.1.139/32",
"flags": "A H ",
"hostid": "0111112222333444",
"interface": null,
"metric": "0",
"nexthop": "0.0.0.0",
"route_table": "unicast",
"virtual_router": "default"
}
],
"Summary": [
{
"hostid": "0111112222333444",
"interface": "ethernet1/1",
"route_count": 2
},
{
"hostid": "0111112222333444",
"interface": "ethernet1/2",
"route_count": 1
},
{
"hostid": "0111112222333444",
"interface": null,
"route_count": 2
}
]
}
}
}
Human Readable Output
PAN-OS Routes
hostid interface route_count 0111112222333444 ethernet1/1 2 0111112222333444 ethernet1/2 1 0111112222333444 2
pan-os-platform-get-system-info
Gets information from all PAN-OS systems in the topology.
Base Command
pan-os-platform-get-system-info
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ShowSystemInfo.Summary.hostid | String | ID of the PAN-OS host. |
| PANOS.ShowSystemInfo.Summary.ip_address | String | Management IP address. |
| PANOS.ShowSystemInfo.Summary.sw_version | String | System software version. |
| PANOS.ShowSystemInfo.Summary.family | String | Platform family. |
| PANOS.ShowSystemInfo.Summary.model | String | Platform model. |
| PANOS.ShowSystemInfo.Summary.uptime | String | Total system uptime. |
| PANOS.ShowSystemInfo.Summary.hostname | String | System hostname. |
| PANOS.ShowSystemInfo.Result.hostid | String | ID of the PAN-OS host. |
| PANOS.ShowSystemInfo.Result.ip_address | String | Management IP address. |
| PANOS.ShowSystemInfo.Result.netmask | String | Management netmask. |
| PANOS.ShowSystemInfo.Result.mac_address | String | Management MAC address. |
| PANOS.ShowSystemInfo.Result.uptime | String | Total system uptime. |
| PANOS.ShowSystemInfo.Result.family | String | Platform family. |
| PANOS.ShowSystemInfo.Result.model | String | Platform model. |
| PANOS.ShowSystemInfo.Result.sw_version | String | System software version. |
| PANOS.ShowSystemInfo.Result.operational_mode | String | Current operational mode. |
| PANOS.ShowSystemInfo.Result.ipv6_address | String | Management IPv6 address. |
| PANOS.ShowSystemInfo.Result.default_gateway | String | Management default gateway. |
| PANOS.ShowSystemInfo.Result.public_ip_address | String | Firewall public IP address. |
| PANOS.ShowSystemInfo.Result.hostname | String | Device hostname. |
| PANOS.ShowSystemInfo.Result.av_version | String | System anti-virus version. |
| PANOS.ShowSystemInfo.Result.av_release_date | String | Release date of the antivirus content, |
| PANOS.ShowSystemInfo.Result.app_version | String | App content version, |
| PANOS.ShowSystemInfo.Result.app_release_date | String | Release date of the application content. |
| PANOS.ShowSystemInfo.Result.threat_version | String | Threat content version. |
| PANOS.ShowSystemInfo.Result.threat_release_date | String | Release date of the threat content. |
| PANOS.ShowSystemInfo.Result.wildfire_version | String | Wildfire content version. |
| PANOS.ShowSystemInfo.Result.wildfire_release_date | String | Wildfire release date. |
| PANOS.ShowSystemInfo.Result.url_filtering_version | String | URL filtering content version. |
| PANOS.ShowSystemInfo.Result.global_protect_client_package_version | String | The GlobalProtect client package version. |
| PANOS.ShowSystemInfo.Result.advanced_routing | string | Advanced routing engine feature. |
| PANOS.ShowSystemInfo.Result.multi_vsys | string | Virtual system feature. |
Command example
#### Context Example
```json
{
"PANOS": {
"ShowSystemInfo": {
"Result": [
{
"app_release_date": "",
"app_version": "8475-7000",
"av_release_date": "",
"av_version": "0",
"default_gateway": "192.168.1.1",
"family": "vm",
"hostid": "0111112222333444",
"hostname": "vm-lab-fw1",
"ip_address": "2.2.2.2",
"ipv6_address": "unknown",
"mac_address": "00:0c:29:eb:35:ad",
"model": "PA-VM",
"netmask": "255.255.255.0",
"operational_mode": "normal",
"public_ip_address": "unknown",
"sw_version": "10.0.5",
"threat_release_date": "",
"threat_version": "8475-7000",
"uptime": "22 days, 0:20:49",
"url_filtering_version": "20220218.20012",
"wildfire_release_date": "",
"wildfire_version": "0",
"global_protect_client_package_version": "0.0.0",
"advanced_routing": "on",
"multi_vsys": "on"
},
{
"app_release_date": "2021/12/06 18:49:44 PST",
"app_version": "8496-7089",
"av_release_date": "",
"av_version": "0",
"default_gateway": "192.168.1.1",
"family": "pc",
"hostid": "1.1.1.1",
"hostname": "Panorama",
"ip_address": "1.1.1.1",
"ipv6_address": "unknown",
"mac_address": "00:0c:29:31:bf:8b",
"model": "Panorama",
"netmask": "255.255.255.0",
"operational_mode": "normal",
"public_ip_address": "unknown",
"sw_version": "10.0.7",
"threat_release_date": "",
"threat_version": "",
"uptime": "3 days, 13:56:06",
"url_filtering_version": "",
"wildfire_release_date": "",
"wildfire_version": "0",
"advanced_routing": "off",
"multi_vsys": "on"
}
],
"Summary": [
{
"family": "vm",
"hostid": "0111112222333444",
"hostname": "vm-lab-fw1",
"ip_address": "2.2.2.2",
"model": "PA-VM",
"sw_version": "10.0.5",
"uptime": "22 days, 0:20:49"
},
{
"family": "pc",
"hostid": "1.1.1.1",
"hostname": "Panorama",
"ip_address": "1.1.1.1",
"model": "Panorama",
"sw_version": "10.0.7",
"uptime": "3 days, 13:56:06"
}
]
}
}
}
Human Readable Output
PAN-OS System Info
family hostid hostname ip_address model sw_version uptime vm 0111112222333444 vm-lab-fw1 2.2.2.2 PA-VM 10.0.5 22 days, 0:20:49 pc 1.1.1.1 Panorama 1.1.1.1 Panorama 10.0.7 3 days, 13:56:06
pan-os-platform-get-device-groups
Gets operational information for all device groups in the Panorama topology, including group names, hierarchy, and associated firewalls. If no filter is provided, the command returns all device groups within the Panorama instance.
Base Command
pan-os-platform-get-device-groups
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | The Panorama hostname or serial number used to filter device groups. This command is specifically for Panorama and requires an exact match (substrings are not supported). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.DeviceGroupOp.hostid | String | ID of the PAN-OS host. |
| PANOS.DeviceGroupOp.serial | String | Serial number of the firewall. |
| PANOS.DeviceGroupOp.connected | String | Whether the firewall is currently connected. |
| PANOS.DeviceGroupOp.hostname | String | Firewall hostname. |
| PANOS.DeviceGroupOp.last_commit_all_state_sp | String | State of the last commit. |
| PANOS.DeviceGroupOp.name | String | Device group name. |
pan-os-platform-get-template-stacks
Gets the operational information of the template stacks in the topology.
Base Command
pan-os-platform-get-template-stacks
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.TemplateStackOp.hostid | String | ID of the PAN-OS host. |
| PANOS.TemplateStackOp.serial | String | Serial number of the firewall. |
| PANOS.TemplateStackOp.connected | String | Whether the firewall is currently connected. |
| PANOS.TemplateStackOp.hostname | String | Firewall hostname. |
| PANOS.TemplateStackOp.last_commit_all_state_tpl | String | State of last commit. |
| PANOS.TemplateStackOp.name | String | Template stack name. |
Command example
#### Context Example
```json
{
"PANOS": {
"TemplateStackOp": [
{
"connected": "yes",
"hostid": "1.1.1.1",
"hostname": "vm-lab-fw1",
"last_commit_all_state_tpl": "commit succeeded with warnings",
"name": "LAB-STACK",
"serial": "0111112222333444"
},
{
"connected": "no",
"hostid": "1.1.1.1",
"hostname": "vm-lab-fw02",
"last_commit_all_state_tpl": "commit succeeded with warnings",
"name": "LAB-STACK",
"serial": "0111112222333455"
}
]
}
}
Human Readable Output
PAN-OS Operational Template Stack status
connected hostid hostname last_commit_all_state_tpl name serial yes 1.1.1.1 vm-lab-fw1 commit succeeded with warnings LAB-STACK 0111112222333444 no 1.1.1.1 vm-lab-fw02 commit succeeded with warnings LAB-STACK 0111112222333455
pan-os-platform-get-global-counters
Gets global counter information from all the PAN-OS firewalls in the topology.
Base Command
pan-os-platform-get-global-counters
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ShowCounters.Summary.hostid | String | Host ID. |
| PANOS.ShowCounters.Summary.name | String | Human readable counter name. |
| PANOS.ShowCounters.Summary.value | Number | Current counter value. |
| PANOS.ShowCounters.Summary.rate | Number | Packets per second rate. |
| PANOS.ShowCounters.Summary.desc | String | Human readable counter description. |
| PANOS.ShowCounters.Result.hostid | String | Host ID. |
| PANOS.ShowCounters.Result.category | String | The counter category. |
| PANOS.ShowCounters.Result.name | String | Human readable counter name. |
| PANOS.ShowCounters.Result.value | Number | Current counter value. |
| PANOS.ShowCounters.Result.rate | Number | Packets per second rate. |
| PANOS.ShowCounters.Result.aspect | String | PAN-OS aspect. |
| PANOS.ShowCounters.Result.desc | String | Human readable counter description. |
| PANOS.ShowCounters.Result.id | String | Counter ID. |
| PANOS.ShowCounters.Result.severity | String | Counter severity. |
Command example
#### Context Example
```json
{
"PANOS": {
"ShowCounters": {
"Result": [
{
"aspect": "pktproc",
"category": "packet",
"desc": "Packets received",
"hostid": "11111111111111",
"id": "17",
"name": "pkt_recv",
"rate": 15,
"severity": "info",
"value": 17981379
"severity": "info",
"value": 2
},
{
"aspect": "pktproc",
"category": "ssl",
"desc": "Number of failures when receiving SSL session cache msg from MP",
"hostid": "11111111111111",
"id": "3185",
"name": "ssl_sess_cache_msg_from_mp_failure",
"rate": 0,
"severity": "info",
"value": 1834071
}
],
"Summary": [
{
"desc": "Packets received",
"hostid": "11111111111111",
"name": "pkt_recv",
"rate": 15,
"value": 17981379
},
]
}
}
}
Human Readable Output
PAN-OS Global Counters
desc hostid name rate value Packets received 11111111111111 pkt_recv 15 17981379 Full Burst Packets received on retry 11111111111111 pkt_recv_retry 0 422240 Packet receive error 11111111111111 pkt_recv_err 0 225 Packets drop due to passive VM in dpdk mode 11111111111111 pkt_recv_flush_passive 0 2351 Packets transmitted 11111111111111 pkt_sent 3 5334628 Packets successfully transmitted to host interface 11111111111111 pkt_sent_host 0 685046 STP BPDU packets received 11111111111111 pkt_stp_rcv 1 1271742 Sessions allocated 11111111111111 session_allocated 0 537466 Sessions freed 11111111111111 session_freed 0 537440 Sessions installed 11111111111111 session_installed 0 449506 Session aging timer modified by unverified RST 11111111111111 session_unverified_rst 0 15579 Session is closing or closed and still receive TCP pkt 11111111111111 session_pkt_in_closed_state 0 3 Session notifications retransmitted to offload processor 11111111111111 session_renotify 0 3 Packets dropped: 802.1q tag not configured 11111111111111 flow_rcv_dot1q_tag_err 0 24 Packets dropped: invalid interface 11111111111111 flow_no_interface 0 24 Packets dropped: IPv6 disabled on interface 11111111111111 flow_ipv6_disabled 1 1505760 Non-SYN TCP packets without session match 11111111111111 flow_tcp_non_syn 0 83 Packets dropped: non-SYN TCP without session match 11111111111111 flow_tcp_non_syn_drop 0 83 Packets dropped: unhandled IP broadcast 11111111111111 flow_fwd_l3_bcast_drop 0 254789 Packets dropped: no route for IP multicast 11111111111111 flow_fwd_l3_mcast_drop 2 2450999 Packets dropped: no ARP 11111111111111 flow_fwd_l3_noarp 0 204 Packet dropped at forwarding: noxmit 11111111111111 flow_fwd_drop_noxmit 0 294 Packets dropped: Packet too short to cover IP header 11111111111111 flow_parse_ip_hdr 0 4 Packets dropped: IPv6 packet truncated 11111111111111 flow_parse_ip6_truncated 0 4 Packets received: IPv6 multicast pkts with flow off 11111111111111 flow_ip6_mcast_off 1 1505760 IP broadcast pkt received 11111111111111 flow_bcast_pkt_rcv 0 255147 DHCP broadcast pkt received 11111111111111 flow_dhcp_bcast_pkt_rcv 0 4 ARP packets received 11111111111111 flow_arp_pkt_rcv 3 4069186 ARP packets transmitted 11111111111111 flow_arp_pkt_xmt 0 87285 ARP requests replied 11111111111111 flow_arp_pkt_replied 0 82094 ARP entry learned 11111111111111 flow_arp_pkt_learned 0 68 Gratuitous ARP packets received 11111111111111 flow_arp_rcv_gratuitous 0 21524 ARP receive error 11111111111111 flow_arp_rcv_err 0 21202 ARP resolution packets transmitted 11111111111111 flow_arp_resolve_xmt 0 2477 ND entry GC 11111111111111 flow_nd_neigh_gc 0 1060 Packets received from control plane 11111111111111 flow_host_pkt_rcv 0 137018 Packets transmitted to control plane 11111111111111 flow_host_pkt_xmt 0 685046 Packets dropped: receive error from control plane 11111111111111 flow_host_rcv_err 0 11 Packets dropped: decapsulation error from control plane 11111111111111 flow_host_decap_err 0 26 Device management session allowed 11111111111111 flow_host_service_allow 0 136965 Device management session denied 11111111111111 flow_host_service_deny 0 38658 Host vardata not sent: rate limit ok 11111111111111 flow_host_vardata_rate_limit_ok 0 3 Packet on VxLAN port without I bit 11111111111111 flow_tci_vxlan_without_vni 0 2 netconfig temporarily unavailable 11111111111111 device_invalid_netconf 0 404 netconfig switched 11111111111111 device_netconf_switch 0 4 tundconfig switched 11111111111111 device_tundconf_switch 0 1 Packets for which IP checksum validation was done in software 11111111111111 flow_ip_cksm_sw_validation 6 8478257 Packets not allowed to egress for pre-negotiation 11111111111111 flow_drop_preneg_egress 0 2 Application identified by simple signature 11111111111111 appid_ident_by_simple_sig 0 92740 Application identified by L4 dport first 11111111111111 appid_ident_by_dport_first 0 174358 The number of packets processed by Application identification 11111111111111 appid_proc 0 177586 The number of unknown applications caused by max. packets reached 11111111111111 appid_unknown_max_pkts 0 9 The number of unknown UDP applications after app engine 11111111111111 appid_unknown_udp 0 271 The number of unknown applications because of no data 11111111111111 appid_unknown_fini_empty 0 97562 The total number of dynamic_ip_port NAT translate called 11111111111111 nat_dynamic_port_xlat 0 242839 The total number of dynamic_ip_port NAT release called 11111111111111 nat_dynamic_port_release 0 242825 The total number of dfa match using software 11111111111111 dfa_sw 1 1096816 tcp reassembly case 1 11111111111111 tcp_case_1 0 1 tcp reassembly case 2 11111111111111 tcp_case_2 0 346 out-of-window packets dropped 11111111111111 tcp_drop_out_of_wnd 0 116 The number of sessions with sml exit in detector i 11111111111111 ctd_sml_exit_detector_i 0 200010 The number of decoder resume requests 11111111111111 ctd_sml_unset_suspend 0 30 Handle reset and url exit 11111111111111 ctd_handle_reset_and_url_exit 0 30 ctd switch decoder 11111111111111 ctd_switch_decoder 0 10 ctd stops to process packet 11111111111111 ctd_stop_proc 0 10 run detector_i 11111111111111 ctd_run_detector_i 0 200020 SML VM opcode exit 11111111111111 ctd_sml_vm_run_impl_opcodeexit 0 199980 Forward to varrcvr error: TCP in establishment when session went away 11111111111111 ctd_fwd_err_tcp_state 0 94652 The total usage of software for pscan 11111111111111 ctd_pscan_sw 1 1170516 appid was changed 11111111111111 ctd_appid_reassign 0 60011 decoder was changed 11111111111111 ctd_decoder_reassign 0 10 session processed by ctd 11111111111111 ctd_process 0 351954 Packets processed by slowpath 11111111111111 ctd_pkt_slowpath 1 1186304 Number of Policy Hit Count periodical update 11111111111111 ctd_hitcount_period_update 0 4237 Number of url logs 11111111111111 log_url_cnt 0 6060 Number of uid request logs 11111111111111 log_uid_req_cnt 0 241849 Number of traffic logs 11111111111111 log_traffic_cnt 0 449480 Time (us) spent on writing packet-diag logs 11111111111111 log_pkt_diag_us 0 16 Number of URL database request 11111111111111 url_db_request 0 1965 Number of URL reply 11111111111111 url_db_reply 9 4419218 The number of packets get dropped because of waiting for url category request 11111111111111 url_request_pkt_drop 0 1771 The session is not waiting for url 11111111111111 url_session_not_in_wait 0 10 The number of HSM up/down events received 11111111111111 ssl_hsm_up_down_event_rcv 0 2 Number of failures when receiving SSL session cache msg from MP 11111111111111 ssl_sess_cache_msg_from_mp_failure 0 1834071
pan-os-platform-get-bgp-peers
Retrieves all BGP peer information from the PAN-OS firewalls in the topology.
Base Command
pan-os-platform-get-bgp-peers
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ShowBGPPeers.Summary.hostid | String | Host ID. |
| PANOS.ShowBGPPeers.Summary.peer | String | Name of the BGP peer. |
| PANOS.ShowBGPPeers.Summary.status | String | Peer connection status. |
| PANOS.ShowBGPPeers.Summary.incoming_accepted | String | Total accepted routes from the peer. |
| PANOS.ShowBGPPeers.Result.hostid | String | Host ID. |
| PANOS.ShowBGPPeers.Result.peer | String | Name of the BGP peer. |
| PANOS.ShowBGPPeers.Result.vr | String | Virtual router in which the peer resides. |
| PANOS.ShowBGPPeers.Result.remote_as | String | Remote AS (Autonomous System) of the peers |
| PANOS.ShowBGPPeers.Result.status | String | Peer connection statuss |
| PANOS.ShowBGPPeers.Result.peer_address | String | IP address and port of the peers |
| PANOS.ShowBGPPeers.Result.local_address | String | Local router address and port of the peer. |
| PANOS.ShowBGPPeers.Result.incoming_total | String | Total incoming routes from the peer. |
| PANOS.ShowBGPPeers.Result.incoming_accepted | String | Total accepted routes from the peer. |
| PANOS.ShowBGPPeers.Result.incoming_rejected | String | Total rejected routes from the peer. |
| PANOS.ShowBGPPeers.Result.policy_rejected | String | Total routes rejected by the peer by policy. |
| PANOS.ShowBGPPeers.Result.outgoing_total | String | Total routes advertised to the peer. |
| PANOS.ShowBGPPeers.Result.outgoing_advertised | String | Number of advertised routes to the peer. |
Command example
#### Context Example
```json
{
"PANOS": {
"ShowBGPPeers": {
"Result": [
{
"hostid": "11111111111111",
"incoming_accepted": 0,
"incoming_rejected": 0,
"incoming_total": 0,
"local_address": "10.10.0.1",
"outgoing_advertised": 0,
"outgoing_total": 0,
"peer": "testlab-server",
"peer_address": "10.10.0.12",
"policy_rejected": 0,
"remote_as": "64511",
"status": "Active",
"vr": "default"
}
],
"Summary": [
{
"hostid": "11111111111111",
"incoming_accepted": 0,
"peer": "testlab-server",
"status": "Active"
}
]
}
}
}
Human Readable Output
PAN-OS BGP Peers
hostid incoming_accepted peer status 11111111111111 0 testlab-server Active
pan-os-platform-get-available-software
Check the devices for software that is available to be installed.
Base Command
pan-os-platform-get-available-software
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.SoftwareVersions.Summary.hostid | String | Host ID. |
| PANOS.SoftwareVersions.Summary.version | String | The software version in Major.Minor.Maint format. |
| PANOS.SoftwareVersions.Summary.filename | String | Software version filename. |
| PANOS.SoftwareVersions.Summary.size | String | Size of the software in MB. |
| PANOS.SoftwareVersions.Summary.size_kb | String | Size of the software in KB. |
| PANOS.SoftwareVersions.Summary.release_notes | String | Link to version release notes on PAN knowledge base. |
| PANOS.SoftwareVersions.Summary.downloaded | Boolean | True if the software version is present on the system. |
| PANOS.SoftwareVersions.Summary.current | Boolean | True if this is the currently installed software on the system. |
| PANOS.SoftwareVersions.Summary.latest | Boolean | True if this is the most recently released software for this platform. |
| PANOS.SoftwareVersions.Summary.uploaded | Boolean | True if the software version has been uploaded to the system. |
Command example
#### Context Example
```json
{
"PANOS": {
"SoftwareVersions": {
"Summary": [
{
"current": false,
"downloaded": false,
"filename": "PanOS_vm-10.2.0",
"hostid": "11111111111111",
"latest": true,
"release_notes": "https://www.paloaltonetworks.com/documentation/10-2/pan-os/pan-os-release-notes",
"size": "1010",
"size_kb": "1034657",
"uploaded": false,
"version": "10.2.0"
}
]
}
}
}
Human Readable Output
PAN-OS Available Software Versions
current downloaded filename hostid latest release_notes size size_kb uploaded version false false PanOS_vm-10.2.0 11111111111111 true https://www.paloaltonetworks.com/documentation/10-2/pan-os/pan-os-release-notes 1010 1034657 false 10.2.0 false false PanOS_vm-10.1.5 11111111111111 false https://www.paloaltonetworks.com/documentation/10-1/pan-os/pan-os-release-notes 457 468174 false 10.1.5 false false PanOS_vm-10.1.4-h4 11111111111111 false https://www.paloaltonetworks.com/documentation/10-1/pan-os/pan-os-release-notes 407 416843 false 10.1.4-h4
pan-os-platform-get-ha-state
Get the HA state and associated details from the given device and any other details.
Base Command
pan-os-platform-get-ha-state
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.HAState.hostid | String | Host ID. |
| PANOS.HAState.active | Boolean | Whether this is the active firewall in a pair. True if standalone as well. |
| PANOS.HAState.status | String | String HA status. |
| PANOS.HAState.peer | String | HA peer. |
Command example
#### Context Example
```json
{
"PANOS": {
"HAState": [
{
"active": true,
"hostid": "11111111111111",
"peer": "",
"status": "HA Not enabled."
},
{
"active": true,
"hostid": "192.168.1.145",
"peer": "",
"status": "HA Not enabled."
}
]
}
}
Human Readable Output
PAN-OS HA State
active hostid status true 11111111111111 HA Not enabled. true 192.168.1.145 HA Not enabled.
pan-os-platform-get-jobs
Get all the jobs from the devices in the environment, or a single job when ID is specified.
Base Command
pan-os-platform-get-jobs
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
| status | Filter to return jobs by status. | Optional |
| job_type | Filter to return jobs by type. | Optional |
| id | Filter by ID. | Optional |
| polling | Whether to poll the job status until it reaches a terminal state (FIN). Only takes effect when a single job “id” is provided. Possible values are: true, false. Default is false. | Optional |
| interval_in_seconds | The interval between poll attempts, in seconds. Default is 30. | Optional |
| timeout_in_seconds | The maximum time to wait for the job to reach a terminal state, in seconds. If the timeout is reached before the job finishes, the command returns the last known result. Default is 3600. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.JobStatus.hostid | String | Host ID. |
| PANOS.JobStatus.id | Number | ID of job. |
| PANOS.JobStatus.type | String | Job type. |
| PANOS.JobStatus.tfin | String | Time finished. |
| PANOS.JobStatus.status | String | Status of the job. |
| PANOS.JobStatus.result | String | The result of the job. |
| PANOS.JobStatus.user | String | The user who initiated the job. |
| PANOS.JobStatus.tenq | String | The time the job was enqueued into the system. |
| PANOS.JobStatus.stoppable | String | Whether the job can be stopped after it started. |
| PANOS.JobStatus.description | String | The job description. |
| PANOS.JobStatus.positionInQ | String | The position of the job in the current job queue. |
| PANOS.JobStatus.progress | String | The numerical progress of the job. |
| PANOS.JobStatus.warnings | String | The warnings of the job. |
Command example
#### Context Example
```json
{
"PANOS": {
"JobStatus": [
{
"description": null,
"hostid": "11111111111111",
"id": 1,
"positionInQ": "0",
"progress": "01:02:18",
"result": "OK",
"status": "FIN",
"stoppable": "no",
"tenq": "2022/03/30 01:02:04",
"tfin": "01:02:18",
"type": "Downld",
"user": null,
"warnings": null
},
{
"description": null,
"hostid": "22222222222222",
"id": 2,
"positionInQ": "0",
"progress": "100",
"result": "OK",
"status": "FIN",
"stoppable": "no",
"tenq": "2022/03/15 14:16:32",
"tfin": "14:16:33",
"type": "BuildXMLCache",
"user": null,
"warnings": null
}
]
}
}
Human Readable Output
PAN-OS Job Status
hostid id positionInQ progress result status stoppable tenq tfin type user warnings 11111111111111 1 0 100 OK FIN no 2022/03/15 14:17:16 14:18:17 Downld 22222222222222 2 0 01:02:15 OK FIN no 2022/03/16 01:02:04 01:02:15 BuildXMLCache
pan-os-platform-download-software
Download the provided software version onto the device.
Base Command
pan-os-platform-download-software
Input
| Argument Name | Description | Required |
|---|---|---|
| version | The software version to upgrade to, for example, 9.1.2. | Required |
| device_filter_string | String by which to filter the results to only install to sepecific devices or serial numbers. | Optional |
| target | Single serial number to target with this command | Optional |
| sync | If provided, runs the download synchronously. Make sure ‘execution-timeout’ is increased. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.DownloadStatus.Summary.hostid | String | Host ID. |
| PANOS.DownloadStatus.Summary.started | String | Whether the download process started. |
Command example
!pan-os-platform-download-software version=9.1.0
Context Example
{
"PANOS": {
"DownloadStatus": {
"Summary": [
{
"hostid": "11111111111111",
"started": true
},
{
"hostid": "192.168.1.145",
"started": true
}
]
}
}
}
Human Readable Output
PAN-OS Software Download request Status
hostid started 11111111111111 true 192.168.1.145 true
pan-os-apply-dns-signature-policy
Allows assigning of EDL to the Anti-Spyware profile under “DNS Signature Policies”.
Base Command
pan-os-apply-dns-signature-policy
Input
| Argument Name | Description | Required |
|---|---|---|
| anti_spyware_profile_name | The name of the anti spyware profile. If the profile exists, the command will operate on it, otherwise, if a new name is given, a new Anti-Spyware profile will be created. | Required |
| dns_signature_source | The EDL name to link to the profile. | Required |
| action | Action on the DNS queries. Possible values are: alert, allow, block, sinkhole. | Required |
| packet_capture | Allows capturing packets on match. Select “single-packet” to capture the first packet of the session or “extended-capture” to set between 1-50 packets. Packet capture can be very CPU intensive and can degrade firewall performance. Only use this feature when necessary and make sure you turn it off after you have collected the required packets. Possible values are: disable, single-packet, extended-capture. Default is disable. | Optional |
Context Output
There is no context output for this command.
Human Readable Output
success
pan-os-platform-reboot
Reboot the given device by hostid. Warning: This command has no confirmation and the device
will immediately reboot.
Base Command
pan-os-platform-reboot
Input
| Argument Name | Description | Required |
|---|---|---|
| target | ID of host (serial or hostname) to reboot. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.RestartStatus.Summary.hostid | String | Host ID. |
| PANOS.RestartStatus.Summary.started | String | Whether the system reboot has started. |
Command example
!pan-os-platform-reboot target=11111111111111
Context Example
{
"PANOS": {
"RestartStatus": {
"Summary": [
{
"hostid": "11111111111111",
"started": true
}
]
}
}
}
pan-os-platform-get-system-status
Checks the status of the given device, checking whether it’s up or down and if the operational mode is normal. Supports polling to wait until the device becomes available.
Base Command
pan-os-platform-get-system-status
Input
| Argument Name | Description | Required |
|---|---|---|
| target | ID of host (serial or hostname) to check. | Required |
| polling | Whether to use polling. When set to “true”, the command polls the target device until it becomes available (operational mode “normal”) or the timeout is reached. Possible values are: true, false. Default is false. | Optional |
| interval_in_seconds | The interval (in seconds) between polling attempts. Default is 30. | Optional |
| timeout | The timeout (in seconds) when polling. Default is 1200. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.SystemStatus.hostid | String | Host ID. |
| PANOS.SystemStatus.up | String | Whether the host device is up or still unavailable. |
Command example
!pan-os-platform-get-system-status target=11111111111111
Context Example
{
"PANOS": {
"SystemStatus": {
"hostid": "11111111111111",
"up": true
}
}
}
pan-os-platform-update-ha-state
Checks the status of the given device, checking whether it’s up or down and the operational mode normal.
Base Command
pan-os-platform-update-ha-state
Input
| Argument Name | Description | Required |
|---|---|---|
| hostid | ID of host (serial or hostname) to update the state. | Required |
| state | New state. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.HAStateUpdate.hostid | String | Host ID. |
| PANOS.HAStateUpdate.state | String | New HA state. |
Command example
!pan-os-platform-update-ha-state hostid=11111111111111 state=functional
Context Example
{
"PANOS": {
"HAStateUpdate": {
"hostid": "11111111111111",
"state": "functional"
}
}
}
pan-os-hygiene-check-log-forwarding
Checks that at least one log forwarding profile is configured according to best practices.
Base Command
pan-os-hygiene-check-log-forwarding
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter so that only the given device is checked. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the hygiene check. |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check. |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed. |
| PANOS.ConfigurationHygiene.Summary.issue_count | String | Total number of matching issues. |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | The parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue. |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of the issue. |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name. |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Result": [
{
"container_name": "LAB",
"description": "Log forwarding profile missing log type 'threat'.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile-1"
},
{
"container_name": "LAB",
"description": "Log forwarding profile missing log type 'threat'.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile-1-1"
},
{
"container_name": "shared",
"description": "Log forwarding profile missing log type 'threat'.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile"
}
],
"Summary": [
{
"description": "Fails if there are no valid log forwarding profiles configured.",
"issue_code": "BP-V-1",
"issue_count": 0,
"result": "\u2714\ufe0f"
},
{
"description": "Fails if the configured log forwarding profile has no match list.",
"issue_code": "BP-V-2",
"issue_count": 3,
"result": "\u274c"
},
{
"description": "Fails if enhanced application logging is not configured.",
"issue_code": "BP-V-3",
"issue_count": 0,
"result": "\u2714\ufe0f"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails if there are no valid log forwarding profiles configured. BP-V-1 0 ✔️ Fails if the configured log forwarding profile has no match list. BP-V-2 3 ❌ Fails if enhanced application logging is not configured. BP-V-3 0 ✔️
pan-os-hygiene-check-vulnerability-profiles
Checks the configured vulnerability profiles to ensure at least one meets best practices.
Base Command
pan-os-hygiene-check-vulnerability-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter so that only the given device is checked. | Optional |
| minimum_block_severities | Comma-separated list of severities that must be in drop/reset/block-ip mode. Default is critical,high. | Optional |
| minimum_alert_severities | Comma-separated list of severities that must be in alert/default or higher mode. Default is medium,low. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the hygiene check. |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check. |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed. |
| PANOS.ConfigurationHygiene.Summary.issue_count | Nunber | Total number of matching issues. |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | The parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue. |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of the issue. |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Summary": [
{
"description": "Fails if no vulnerability profile is configured for visibility.",
"issue_code": "BP-V-4",
"issue_count": 0,
"result": "\u2714\ufe0f"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails if no vulnerability profile is configured for visibility. BP-V-4 0 ✔️
pan-os-platform-install-software
Install the given software version onto the device. Download the software first with panorama-download-panos-version.
Base Command
pan-os-platform-install-software
Input
| Argument Name | Description | Required |
|---|---|---|
| version | Software version to upgrade to, for example: 9.1.2. | Required |
| device_filter_string | SString by which to filter to only install to specific devices or serial numbers. | Optional |
| sync | If provided, runs the download synchronously. Make sure ‘execution-timeout’ is increased. | Optional |
| target | Single serial number to target with this command | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.InstallStatus.Summary.hostid | String | Host ID, |
| PANOS.InstallStatus.Summary.started | String | Whether the download process has started. |
Command example
!pan-os-platform-install-software version=9.1.0
Context Example
{
"PANOS": {
"InstallStatus": {
"Summary": [
{
"hostid": "1111111111111",
"started": true
},
{
"hostid": "192.168.1.145",
"started": true
}
]
}
}
}
Human Readable Output
PAN-OS Software Install request Status
hostid started 1111111111111 true 192.168.1.145 true
pan-os-hygiene-check-log-forwarding
Checks that at least one log forwarding profile is configured according to best practices.
Base Command
pan-os-hygiene-check-log-forwarding
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter so that only the given device is checked. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the hygiene check. |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check. |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed. |
| PANOS.ConfigurationHygiene.Summary.issue_count | Number | Total number of matching issues. |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | The parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue. |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of the issue. |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name. |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Result": [
{
"container_name": "LAB",
"description": "Log forwarding profile missing log type 'threat'.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile-1"
},
{
"container_name": "LAB",
"description": "Log forwarding profile missing log type 'threat'.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile-1-1"
},
{
"container_name": "shared",
"description": "Log forwarding profile missing log type 'threat'.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile"
}
],
"Summary": [
{
"description": "Fails if there are no valid log forwarding profiles configured.",
"issue_code": "BP-V-1",
"issue_count": 0,
"result": "\u2714\ufe0f"
},
{
"description": "Fails if the configured log forwarding profile has no match list.",
"issue_code": "BP-V-2",
"issue_count": 3,
"result": "\u274c"
},
{
"description": "Fails if enhanced application logging is not configured.",
"issue_code": "BP-V-3",
"issue_count": 0,
"result": "\u2714\ufe0f"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails if there are no valid log forwarding profiles configured. BP-V-1 0 ✔️ Fails if the configured log forwarding profile has no match list. BP-V-2 3 ❌ Fails if enhanced application logging is not configured. BP-V-3 0 ✔️
pan-os-hygiene-check-vulnerability-profiles
Checks the configured vulnerability profiles to ensure at least one meets best practices.
Base Command
pan-os-hygiene-check-vulnerability-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String by which to filter so that only the given device is checked. | Optional |
| minimum_block_severities | Comma-separated list of severities that must be in drop/reset/block-ip mode. Default is critical,high. | Optional |
| minimum_alert_severities | Comma-separated list of severities that must be in alert/default or higher mode. Default is medium,low. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the hygiene check. |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check. |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed. |
| PANOS.ConfigurationHygiene.Summary.issue_count | Number | Total number of matching issues. |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | The parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue. |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of the issue. |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name. |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Summary": [
{
"description": "Fails if no vulnerability profile is configured for visibility.",
"issue_code": "BP-V-4",
"issue_count": 0,
"result": "\u2714\ufe0f"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails if no vulnerability profile is configured for visibility. BP-V-4 0 ✔️
pan-os-hygiene-check-spyware-profiles
Checks the configured Anti-spyware profiles to ensure at least one meets best practices.
Base Command
pan-os-hygiene-check-spyware-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given devices. | Optional |
| minimum_block_severities | csv list of severities that must be in drop/reset/block-ip mode. Default is critical,high. | Optional |
| minimum_alert_severities | csv list of severities that must be in alert/default or higher mode. Default is medium,low. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the check |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed |
| PANOS.ConfigurationHygiene.Summary.issue_count | String | Total number of matching issues |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of issue |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Summary": [
{
"description": "Fails if no spyware profile is configured for visibility.",
"issue_code": "BP-V-5",
"issue_count": 0,
"result": "\u2714\ufe0f"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails if no spyware profile is configured for visibility. BP-V-5 0 ✔️
pan-os-hygiene-check-url-filtering-profiles
Checks the configured URL Filtering profiles to ensure at least one meets best practices.
Base Command
pan-os-hygiene-check-url-filtering-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given device. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the check |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed |
| PANOS.ConfigurationHygiene.Summary.issue_count | String | Total number of matching issues |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of issue |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Summary": [
{
"description": "Fails if no spyware profile is configured for url-filtering",
"issue_code": "BP-V-6",
"issue_count": 0,
"result": "\u2714\ufe0f"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails if no spyware profile is configured for url-filtering BP-V-6 0 ✔️
pan-os-hygiene-conforming-url-filtering-profiles
Returns a list of existing PANOS URL filtering objects that conform to best practices.
Base Command
pan-os-hygiene-conforming-url-filtering-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given device. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.PanosObject.hostid | String | Host ID. |
| PANOS.PanosObject.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.PanosObject.name | String | The PAN-OS object name |
| PANOS.PanosObject.object_type | String | The PAN-OS-Python object type |
Command example
#### Context Example
```json
{
"PANOS": {
"PanosObject": [
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Outbound-URL",
"object_type": "URLFilteringProfile"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Exception-URL",
"object_type": "URLFilteringProfile"
}
]
}
}
Human Readable Output
PAN-OS Objects
container_name hostid name object_type shared 192.168.1.145 Outbound-URL URLFilteringProfile shared 192.168.1.145 Exception-URL URLFilteringProfile
pan-os-hygiene-conforming-spyware-profiles
Returns all Anti-spyware profiles that conform to best practices.
Base Command
pan-os-hygiene-conforming-spyware-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given device. | Optional |
| minimum_block_severities | csv list of severities that must be in drop/reset/block-ip mode. Default is critical,high. | Optional |
| minimum_alert_severities | csv list of severities that must be in alert/default or higher mode. Default is medium,low. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.PanosObject.hostid | String | Host ID. |
| PANOS.PanosObject.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.PanosObject.name | String | The PAN-OS object name |
| PANOS.PanosObject.object_type | String | The PAN-OS-Python object type |
Command example
#### Context Example
```json
{
"PANOS": {
"PanosObject": [
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Outbound-AS",
"object_type": "AntiSpywareProfile"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Inbound-AS",
"object_type": "AntiSpywareProfile"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Internal-AS",
"object_type": "AntiSpywareProfile"
}
]
}
}
Human Readable Output
PAN-OS Objects
container_name hostid name object_type shared 192.168.1.145 Outbound-AS AntiSpywareProfile shared 192.168.1.145 Inbound-AS AntiSpywareProfile shared 192.168.1.145 Internal-AS AntiSpywareProfile
pan-os-hygiene-conforming-vulnerability-profiles
Returns all Vulnerability profiles that conform to best practices.
Base Command
pan-os-hygiene-conforming-vulnerability-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given device. | Optional |
| minimum_block_severities | csv list of severities that must be in drop/reset/block-ip mode. Default is critical,high. | Optional |
| minimum_alert_severities | csv list of severities that must be in alert/default or higher mode. Default is medium,low. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.PanosObject.hostid | String | Host ID. |
| PANOS.PanosObject.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.PanosObject.name | String | The PAN-OS object name |
| PANOS.PanosObject.object_type | String | The PAN-OS-Python object type |
Command example
#### Context Example
```json
{
"PANOS": {
"PanosObject": [
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Outbound-VP",
"object_type": "VulnerabilityProfile"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Inbound-VP",
"object_type": "VulnerabilityProfile"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Internal-VP",
"object_type": "VulnerabilityProfile"
}
]
}
}
Human Readable Output
PAN-OS Objects
container_name hostid name object_type shared 192.168.1.145 Outbound-VP VulnerabilityProfile shared 192.168.1.145 Inbound-VP VulnerabilityProfile shared 192.168.1.145 Internal-VP VulnerabilityProfile
pan-os-hygiene-check-security-zones
Check configured security zones have correct settings.
Base Command
pan-os-hygiene-check-security-zones
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given device. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the check |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed |
| PANOS.ConfigurationHygiene.Summary.issue_count | String | Total number of matching issues |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of issue |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Result": [
{
"container_name": "LAB",
"description": "Security zone has no log forwarding setting.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-7",
"name": "TEST_ZONE"
}
],
"Summary": [
{
"description": "Fails when a security zone has no log forwarding setting.",
"issue_code": "BP-V-7",
"issue_count": 1,
"result": "\u274c"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails when a security zone has no log forwarding setting. BP-V-7 1 ❌
pan-os-hygiene-check-security-rules
Check security rules are configured correctly.
Base Command
pan-os-hygiene-check-security-rules
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | String to filter to only check given device. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygiene.Summary.description | String | The description of the check |
| PANOS.ConfigurationHygiene.Summary.issue_code | String | The shorthand code for this hygiene check |
| PANOS.ConfigurationHygiene.Summary.result | String | Whether the check passed or failed |
| PANOS.ConfigurationHygiene.Summary.issue_count | String | Total number of matching issues |
| PANOS.ConfigurationHygiene.Result.hostid | String | Host ID. |
| PANOS.ConfigurationHygiene.Result.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygiene.Result.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygiene.Result.description | String | Human readable description of issue |
| PANOS.ConfigurationHygiene.Result.name | String | The affected object name |
Command example
#### Context Example
```json
{
"PANOS": {
"ConfigurationHygiene": {
"Result": [
{
"container_name": "shared",
"description": "Security rule is not configured to log at session end.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-8",
"name": "Test-webapp-rule"
},
{
"container_name": "shared",
"description": "Security rule has no log forwarding profile.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-9",
"name": "Test-webapp-rule"
},
{
"container_name": "shared",
"description": "Security rule has no profile group or configured threat profiles.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-10",
"name": "Test-webapp-rule"
}
],
"Summary": [
{
"description": "Fails when a security rule is not configured to log at session end.",
"issue_code": "BP-V-8",
"issue_count": 1,
"result": "\u274c"
},
{
"description": "Fails when a security rule has no log forwarding profile configured.",
"issue_code": "BP-V-9",
"issue_count": 1,
"result": "\u274c"
},
{
"description": "Fails when a security rule has no configured profiles or profile groups.",
"issue_code": "BP-V-10",
"issue_count": 1,
"result": "\u274c"
}
]
}
}
}
Human Readable Output
PAN-OS Configuration Hygiene Check
description issue_code issue_count result Fails when a security rule is not configured to log at session end. BP-V-8 1 ❌ Fails when a security rule has no log forwarding profile configured. BP-V-9 1 ❌ Fails when a security rule has no configured profiles or profile groups. BP-V-10 1 ❌
pan-os-hygiene-fix-log-forwarding
Fix log forwarding issues identified by pan-os-hygiene-check-log-forwarding.
Base Command
pan-os-hygiene-fix-log-forwarding
Input
| Argument Name | Description | Required |
|---|---|---|
| issue | Dictionary of Hygiene issue, from a hygiene check command. Can be a list. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygieneFix.hostid | String | Host ID |
| PANOS.ConfigurationHygieneFix.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygieneFix.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygieneFix.description | String | Human readable description of issue |
| PANOS.ConfigurationHygieneFix.name | String | The affected object name |
Command example
!pan-os-hygiene-fix-log-forwarding issue=${PANOS.ConfigurationHygiene.Result}
Context Example
{
"PANOS": {
"ConfigurationHygieneFix": [
{
"container_name": "LAB",
"description": "Enabled Enhanced Application Logging.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-2",
"name": "test_fwd_profile-1"
}
]
}
}
pan-os-hygiene-fix-security-zone-log-settings
Fixes security zones that are configured without a valid log forwarding profile.
Base Command
pan-os-hygiene-fix-security-zone-log-settings
Input
| Argument Name | Description | Required |
|---|---|---|
| issue | Dictionary of Hygiene issue, from a hygiene check command. Can be a list. | Required |
| log_forwarding_profile_name | Name of log forwarding profile to set. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygieneFix.hostid | String | Host ID |
| PANOS.ConfigurationHygieneFix.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygieneFix.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygieneFix.description | String | Human readable description of issue |
| PANOS.ConfigurationHygieneFix.name | String | The affected object name |
Command example
!pan-os-hygiene-fix-security-zone-log-settings issue=${PANOS.ConfigurationHygiene.Result} log_forwarding_profile_name="test-fwd-profile"
Context Example
{
"PANOS": {
"ConfigurationHygieneFix": [
{
"container_name": "LAB",
"description": "Set log forwarding profile test-fwd-profile",
"hostid": "192.168.1.145",
"issue_code": "BP-V-7",
"name": "TEST_ZONE"
}
]
}
}
pan-os-hygiene-fix-security-rule-log-settings
Fixed security rules that have incorrect log settings by adding a log forwarding profile and setting
Base Command
pan-os-hygiene-fix-security-rule-log-settings
Input
| Argument Name | Description | Required |
|---|---|---|
| issue | Dictionary of Hygiene issue, from a hygiene check command. Can be list. | Required |
| log_forwarding_profile_name | Name of log forwarding profile to use as log setting. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygieneFix.hostid | String | Host ID |
| PANOS.ConfigurationHygieneFix.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygieneFix.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygieneFix.description | String | Human readable description of issue |
| PANOS.ConfigurationHygieneFix.name | String | The affected object name |
Command example
!pan-os-hygiene-fix-security-rule-log-settings issue=${PANOS.ConfigurationHygiene.Result.[0]} log_forwarding_profile_name="test-fwd-profile""
Context Example
{
"PANOS": {
"ConfigurationHygieneFix": [
{
"container_name": "shared",
"description": "Set log forwarding profile to test-fwd-profile-3 andenabled log at session end.",
"hostid": "192.168.1.145",
"issue_code": "BP-V-8",
"name": "Test-webapp-rule"
}
]
}
}
pan-os-hygiene-fix-security-rule-profile-settings
Fixed security rules that have incorrect log settings by adding a log forwarding profile and setting
Base Command
pan-os-hygiene-fix-security-rule-profile-settings
Input
| Argument Name | Description | Required |
|---|---|---|
| issue | Dictionary of Hygiene issue, from a hygiene check command. | Required |
| security_profile_group_name | Name of Security profile group to use as log setting. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.ConfigurationHygieneFix.hostid | String | Host ID |
| PANOS.ConfigurationHygieneFix.container_name | String | What parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.ConfigurationHygieneFix.issue_code | String | The shorthand code for the issue |
| PANOS.ConfigurationHygieneFix.description | String | Human readable description of issue |
| PANOS.ConfigurationHygieneFix.name | String | The affected object name |
Command example
!pan-os-hygiene-fix-security-rule-log-settings issue=${PANOS.ConfigurationHygiene.Result.[0]} log_forwarding_profile_name="test-fwd-profile""
Context Example
{
"PANOS": {
"ConfigurationHygieneFix": [
{
"container_name": "shared",
"description": "Set security profile group Alert-Only",
"hostid": "192.168.1.145",
"issue_code": "BP-V-10",
"name": "Test-webapp-rule"
}
]
}
}
pan-os-config-get-object
Searches and returns a reference for the given object type and name. If no name is provided, all objects of the given type will be returned.
Base Command
pan-os-config-get-object
Input
| Argument Name | Description | Required |
|---|---|---|
| object_type | The type of object to search; see https://pandevice.readthedocs.io/en/latest/module-objects.html. Possible values are: AddressObject, AddressGroup, ServiceGroup, ServiceObject, ApplicationObject, ApplicationGroup, LogForwardingProfile, SecurityProfileGroup. | Required |
| device_filter_string | If provided, only objects from the given device are returned. | Optional |
| object_name | The name of the object reference to return if looking for a specific object. Supports regex if “use_regex” is set. | Optional |
| parent | The parent vsys or device group to search. If not provided, all will be returned. | Optional |
| use_regex | Enables regex matching on object name. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.PanosObject.hostid | String | Host ID. |
| PANOS.PanosObject.container_name | String | The parent container (DG, Template, VSYS) this object belongs to. |
| PANOS.PanosObject.name | String | The PAN-OS object name. |
| PANOS.PanosObject.object_type | String | The PAN-OS python object type. |
Command example
!pan-os-config-get-object object_type="AddressObject"
Context Example
{
"PANOS": {
"PanosObject": [
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Sinkhole-IPv4",
"object_type": "AddressObject"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "Sinkhole-IPv6",
"object_type": "AddressObject"
},
{
"container_name": "shared",
"hostid": "192.168.1.145",
"name": "test-shared",
"object_type": "AddressObject"
}
]
}
}
Human Readable Output
PAN-OS Objects
container_name hostid name object_type shared 192.168.1.145 Sinkhole-IPv4 AddressObject shared 192.168.1.145 Sinkhole-IPv6 AddressObject shared 192.168.1.145 test-shared AddressObject
pan-os-platform-get-device-state
Get the device state from the provided device. Note; This will attempt to connect directly to the provided target to get the device state. If the IP address as reported in “show system info” is unreachable, this command will fail.
Base Command
pan-os-platform-get-device-state
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the device from which to fetch the device state. | Required |
| filename | Name of the file for the state file to be saved. Default will use the hostname as the filename. | Optional |
| ip_address | The IP Address of a Panorama managed firewall. Default will use Panorama-supplied IP Address. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| InfoFile.Name | String | Filename. |
| InfoFile.EntryID | String | Entry ID. |
| InfoFile.Size | String | Size of the file. |
| InfoFile.Type | String | Type of the file. |
| InfoFile.Info | String | Basic information of the file. |
pan-os-push-to-template
Pushes the given PAN-OS template to the given devices or all devices that belong to the template.
Base Command
pan-os-push-to-template
Input
| Argument Name | Description | Required |
|---|---|---|
| template | The template to push. | Optional |
| validate-only | Whether to validate the policy. Possible values are: true, false. Default is false. | Optional |
| description | The push description. | Optional |
| serial_number | The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Push.Template | String | The device group in which the policies were pushed. |
| Panorama.Push.JobID | Number | The job ID of the policies that were pushed. |
| Panorama.Push.Status | String | The push status. |
| Panorama.Push.Warnings | String | The push warnings. |
| Panorama.Push.Errors | String | The push errors. |
Command example
!pan-os-push-to-template template=LAB
Context Example
{
"Panorama": {
"Push": {
"JobID": "564",
"Status": "Pending",
"Template": "LAB"
}
}
}
Human Readable Output
Push to Template
JobID Status 564 Pending
pan-os-push-to-template-stack
Pushes the given PAN-OS template-stack to the given devices or all devices that belong to the template stack.
Base Command
pan-os-push-to-template-stack
Input
| Argument Name | Description | Required |
|---|---|---|
| template-stack | The template-stack to push. | Required |
| validate-only | Whether to validate the policy. Possible values are: true, false. Default is false. | Optional |
| description | The push description. | Optional |
| serial_number | The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Push.TemplateStack | String | The device group in which the policies were pushed. |
| Panorama.Push.JobID | Number | The job ID of the policies that were pushed. |
| Panorama.Push.Status | String | The push status. |
| Panorama.Push.Warnings | String | The push warnings. |
| Panorama.Push.Errors | String | The push errors. |
Command example
!pan-os-push-to-template-stack template-stack=LAB-STACK
Context Example
{
"Panorama": {
"Push": {
"JobID": "565",
"Status": "Pending",
"TemplateStack": "LAB-STACK"
}
}
}
Human Readable Output
Push to Template
JobID Status 565 Pending
pan-os-get-running-config
Pull the running config file
Base Command
pan-os-get-running-config
Input
| Argument Name | Description | Required |
|---|---|---|
| target | The target device. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-get-running-config target=00000000000
Context Example
{
"File": {
"EntryID": "3678@268ee30b-69fa-4496-8ab8-51cdeb19c452",
"Info": "text/plain",
"MD5": "da7faf4c6440d87a3e50ef93536ed81a",
"Name": "running_config",
"SHA1": "7910271adc8b3e9de28b804442a11a5160d4adda",
"SHA256": "a4da4cbee7f3e411fbf76f2595d7dfcffce85bd6b3c000dac7a17e58747d1a2b",
"SHA512": "e90d995061b5771f068c07e727ece3b57eeabdac424dabe8f420848e482e2ad18411c030bd4b455f589d8cdae9a1dae942bfef1ebd038104dd975e168cfb7d19",
"SSDeep": "3072:KGH5vDQ4MEa4fM0EYRCmgQKQZyVlxgW0ITUj4MO2jCKH2:ZLMGyQKQZaw2",
"Size": 1284823,
"Type": "ASCII text, with very long lines"
}
}
pan-os-get-merged-config
Pull the merged config file
Base Command
pan-os-get-merged-config
Input
| Argument Name | Description | Required |
|---|---|---|
| target | The serial number of the device. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-get-merged-config target=0000000000
Context Example
{
"File": {
"EntryID": "3682@268ee30b-69fa-4496-8ab8-51cdeb19c452",
"Info": "text/plain",
"MD5": "3204cc188e4b4a6616b449441d4d1ad4",
"Name": "merged_config",
"SHA1": "0b058a2ae4b595f80599ef0aeffda640ff386e95",
"SHA256": "7178b16cb30880c93345ff80810af4e1428573a28d1ee354d5c79b03372cc027",
"SHA512": "edf5b851eab40588e4e338071de3c18cc8d198d811ea0759670c0aa4c8028fa3b7870b9554c4b7d85f8429641d7cd6f6217a6b37500e24ad9c60b6cf39b39f3b",
"SSDeep": "3072:OGH5vDQ4MEa4fM0EYRCmgQKQZyVlxDW0ITUj4MO2jCKH2:tLMGyQKQZtw2",
"Size": 1322335,
"Type": "ASCII text, with very long lines"
}
}
pan-os-list-templates
Returns a list of available templates. (Used only in Panorama instances).
Base Command
pan-os-list-templates
Input
| Argument Name | Description | Required |
|---|---|---|
| template_name | The name of the template to retrieve. If not provided then all available templates will be brought. | Optional |
| limit | The maximum number of templates to retrieve. This value will be used by default if page argument was not provided. Default is 50. | Optional |
| page_size | The page size of the templates to return. Default is 50. | Optional |
| page | The page at which to start listing templates. This must be a positive number. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Template.Name | String | The name of the template. |
| Panorama.Template.Description | String | The description of the template. |
| Panorama.Template.Variable.Name | String | The variable name of the template. |
| Panorama.Template.Variable.Type | String | The type of the template. |
| Panorama.Template.Variable.Value | String | The value of the variable of the template. |
| Panorama.Template.Variable.Description | String | The description of the variable of the template. |
Command example
!pan-os-list-templates limit=20
Context Example
{
"Panorama": {
"Template": [
{
"Description": null,
"Name": "test-1",
"Variable": []
},
{
"Description": "test description",
"Name": "test-2",
"Variable": [
{
"Description": "variable-1-test",
"Name": "$variable-1",
"Type": "ip-netmask",
"Value": "1.1.1.1"
},
{
"Description": null,
"Name": "$variable-2",
"Type": "fqdn",
"Value": "google.com"
}
]
}
]
}
}
Human Readable Output
Templates
Description Name Variable test-1 test description test-2 $variable-1,
$variable-2
pan-os-list-nat-rules
Returns a list of NAT rules of either a Panorama/firewall instance.
Base Command
pan-os-list-nat-rules
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the NAT rule to retrieve. If not mentioned, will bring all the NAT rules. | Optional |
| device-group | The device group in which the NAT rules are part of. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
| show_uncommitted | Whether to show the un-committed rules or not. Possible values are: true, false. Default is false. | Optional |
| disabled | Whether to retrieve the disabled rules. If not mentioned, will retrieve all the NAT rules. Possible values are: yes, no. | Optional |
| nat_type | The type of the NAT rules to retrieve. If not mentioned, will retrieve all the NAT rules. Possible values are: ipv4, nat64, nptv6. | Optional |
| tags | A comma-separated list of tags of the NAT rules to retrieve. If not mentioned, will retrieve all the NAT rules. | Optional |
| query | Free query to retrieve NAT rule. If not mentioned, will retrieve all the NAT rules. | Optional |
| limit | The maximum number of rules to retrieve. Will be used by default if page argument was not provided. Default is 50. | Optional |
| page_size | The page size of the NAT rules to return. Default is 50. | Optional |
| page | The page at which to start listing NAT rules. Must be a positive number. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.NAT.Name | String | The name of the rule. |
| Panorama.NAT.Location | String | The device group that the rule is part of. |
| Panorama.NAT.Tags | String | The tags in which the rule is part of. |
| Panorama.NAT.SourceZone | String | The source zone of the rule. |
| Panorama.NAT.DestinationZone | String | The destination zone of the rule. |
| Panorama.NAT.SourceAddress | String | The source address of the rule. |
| Panorama.NAT.DestinationAddress | String | The destination address of the rule. |
| Panorama.NAT.DestinationInterface | String | The destination interface of the rule. |
| Panorama.NAT.Service | String | The service in which the rule has. |
| Panorama.NAT.Description | String | The description of the rule. |
| Panorama.NAT.SourceTranslation | Unknown | The source translation of the rule. |
| Panorama.NAT.DestinationTranslation | Unknown | The destination translation of the rule. |
| Panorama.NAT.DynamicDestinationTranslation | Unknown | The dynamic destination translation of the rule. |
| Panorama.NAT.Disabled | String | Whether the rule is disabled. |
Command example
!pan-os-list-nat-rules pre_post=pre-rulebase show_uncommitted=true
Context Example
{
"Panorama": {
"NAT": [
{
"Description": "Test",
"DestinationAddress": "Test_Bla_Bla",
"DestinationInterface": "any",
"DestinationTranslation": {
"TranslatedAddress": "1.1.1.1/24",
"TranslatedPort": "1234"
},
"DestinationZone": "Admin",
"Disabled": "yes",
"DynamicDestinationTranslation": null,
"Name": "Test",
"Service": "Test_group",
"SourceAddress": "bad-url.com",
"SourceTranslation": {
"StaticIp": {
"TranslatedAddress": "1.2.3.4"
}
},
"SourceZone": "any",
"Tags": null
},
{
"Description": "Desc",
"DestinationAddress": "Test_Bla_Bla",
"DestinationInterface": "any",
"DestinationTranslation": null,
"DestinationZone": "Admin",
"Disabled": "yes",
"DynamicDestinationTranslation": {
"DistributionMethod": "ip-hash",
"TranslatedAddress": "bad-url.com"
},
"Name": "Test",
"Service": "XSOAR_Test",
"SourceAddress": "bad-url.com",
"SourceTranslation": null,
"SourceZone": [
"Admin",
"Bla"
],
"Tags": [
"test",
"tag"
]
}
]
}
}
Human Readable Output
Nat Policy Rules
Name Tags Source Zone Destination Zone Source Address Disabled Destination Address Destination Interface Service Description Test any Admin bad-url.com yes Test_Bla_Bla any Test_group Test Test test,
tagAdmin,
multicastAdmin bad-url.com yes Test_Bla_Bla any XSOAR_Test Desc
pan-os-create-nat-rule
Creates a new NAT rule in a Panorama/firewall instance.
Base Command
pan-os-create-nat-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the NAT rule to create. | Required |
| description | The description that the new NAT rule should have. | Optional |
| device-group | The device-group in which the new rule should be created (Panorama instances only). | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
| nat_type | The NAT type in which the rule will be created. Possible values are: ipv4, nat64, nptv6. Default is ipv4. | Optional |
| source_zone | A comma-separated list of source zones. Default is any. | Optional |
| destination_zone | A comma-separated list of destination zones. | Optional |
| destination_interface | The page at which to start listing nat-rules, must be a positive number. Default is any. | Optional |
| service | The service in which the rule will be created with. Default is any. | Optional |
| source_address | A comma-separated list of address object names, address group object names, or EDL object names. Default is any. | Optional |
| destination_address | A comma-separated list of address object names, address group object names, or EDL object names. Default is any. | Optional |
| source_translation_type | The source translation type in which the rule will be created. Possible values are: static-ip, dynamic-ip, dynamic-ip-and-port, none. Default is none. | Optional |
| source_translated_address_type | The source translation address type in which the rule will be created. Possible values are: translated-address, interface-address. Default is translated-address. | Optional |
| source_translated_address | A comma-separated list of source translation addresses. If source_translation_type == static_ip, must be a single value. | Optional |
| source_translated_interface | The source translation interface. | Optional |
| destination_translation_type | The destination translation type. Possible values are: static_ip, dynamic_ip, none. Default is none. | Optional |
| destination_translated_address | A comma-separated list of destination translated addresses. | Optional |
| destination_translated_port | The destination translated port. | Optional |
| destination_translation_distribution_method | The destination translation distribution method. Possible values are: round-robin, source-ip-hash, ip-modulo, ip-hash, least-sessions. | Optional |
| negate_destination | Whether to use negate destination. Possible values are: yes, no. | Optional |
| destination_dns_rewrite_direction | The DNS rewrite direction. Possible values are: forward, reverse. | Optional |
| audit_comment | An audit comment for the rule. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-create-nat-rule rulename=test pre_post="pre-rulebase" source_translated_address_type="interface-address" source_translated_interface=a2 source_translation_type="dynamic-ip-and-port" destination_translation_type=dynamic_ip destination_translated_address=1.1.1.1
Human Readable Output
Nat rule test was created successfully.
pan-os-delete-nat-rule
Deletes a NAT rule.
Base Command
pan-os-delete-nat-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the NAT rule to delete. Can be retrieved from the pan-os-list-nat-rules command. | Optional |
| device-group | The device-group from which the NAT rule should be deleted. Only for a Panorama instance. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-delete-nat-rule rulename=test pre_post="pre-rulebase"
Human Readable Output
Nat rule test was deleted successfully.
pan-os-edit-nat-rule
Edits a NAT rule.
Base Command
pan-os-edit-nat-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the NAT rule to edit. Can be retrieved from the pan-os-list-nat-rules command. | Required |
| device-group | The device-group that the NAT rule is part of. (Panorama instances only). | Optional |
| pre_post | The pre rule or post rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
| behavior | The operation to perform on the rule. Possible values are: replace, add, remove. Default is replace. | Optional |
| element_to_change | The element to change. Possible values are: tags, service, nat_type, description, source_zone, destination_zone, source_address, destination_address, destination_interface, negate_destination, source_translation_dynamic_ip_and_port, source_translation_interface, source_translation_dynamic_ip, source_translation_static_ip, destination_translation_port, destination_translation_ip, destination_translation_dynamic_port, destination_translation_dynamic_ip, destination_translation_dynamic_distribution_method, disabled, audit-comment. | Required |
| element_value | The value of the element to change. Can be a list for certain elements. | Required |
Context Output
There is no context output for this command.
Command example
!pan-os-edit-nat-rule rulename=test element_to_change=source_translation_static_ip behavior=replace pre_post="pre-rulebase" element_value=3.3.3.3
Human Readable Output
Nat rule test was edited successfully.
pan-os-list-virtual-routers
Returns a list of virtual routers of either a Panorama/firewall instance.
Base Command
pan-os-list-virtual-routers
Input
| Argument Name | Description | Required |
|---|---|---|
| virtual_router | The name of the virtual router to retrieve. If not mentioned, will bring all the virtual routers. | Optional |
| template | The template that the virtual router is part of. Use only for Panorama instances. | Optional |
| show_uncommitted | Whether to show the un-committed virtual routers or not. Possible values are: true, false. Default is false. | Optional |
| limit | The maximum number of virtual routers to retrieve. Will be used by default if the page argument was not provided. Default is 50. | Optional |
| page_size | The size of virtual-routers to return. Default is 50. | Optional |
| page | The page at which to start listing virtual-routers. Must be a positive number. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.VirtualRouter.Name | String | The name of the virtual router. |
| Panorama.VirtualRouter.Interface | Unknown | The interface(s) that the virtual router uses. |
| Panorama.VirtualRouter.RIP | Unknown | Information about the RIP of the virtual router. |
| Panorama.VirtualRouter.OSPF | Unknown | Information about the OSPF of the virtual router. |
| Panorama.VirtualRouter.OSPFv3 | Unknown | Information about the OSPFv3 of the virtual router. |
| Panorama.VirtualRouter.BGP | Unknown | Information about the BGP of the virtual router. |
| Panorama.VirtualRouter.RedistributionProfile | Unknown | The redistribution profile(s) that the virtual router uses. |
| Panorama.VirtualRouter.Multicast | Unknown | Information about the multicast of the virtual router. |
| Panorama.VirtualRouter.StaticRoute | Unknown | The static routes(s) that the virtual router uses. |
| Panorama.VirtualRouter.ECMP | Unknown | The ECMP defined for the virtual router. |
Command example
!pan-os-list-virtual-routers show_uncommitted=true
Context Example
{
"Panorama": {
"VirtualRouter": [
{
"BGP": {
"enable": "no",
"routing-options": {
"graceful-restart": {
"enable": "yes"
}
}
},
"Interface": null,
"Multicast": {},
"Name": "virtual-router-1",
"OSPF": {
"enable": "no"
},
"OSPFv3": {
"enable": "no"
},
"RIP": {
"enable": "no"
},
"RedistributionProfile": {},
"StaticRoute": {
"ip": {
"static-route": {
"entry": [
{
"@name": "static_route_ip",
"bfd": {
"profile": "None"
},
"destination": "1.1.1.1",
"metric": "14",
"nexthop": {
"ip-address": "1.1.1.1"
},
"path-monitor": {
"enable": "no",
"failure-condition": "any",
"hold-time": "2"
},
"route-table": {
"unicast": null
}
},
{
"@name": "static_route_ip2",
"bfd": {
"profile": "None"
},
"destination": "1.1.1.1",
"metric": "188",
"nexthop": {
"ip-address": "1.1.1.1"
},
"path-monitor": {
"enable": "no",
"failure-condition": "any",
"hold-time": "2"
},
"route-table": {
"unicast": null
}
},
{
"@name": "static_route_ip3",
"destination": "1.1.1.1/32",
"nexthop": {
"ip-address": "1.1.1.1"
}
}
]
}
}
}
},
{
"BGP": {
"enable": "no",
"routing-options": {
"graceful-restart": {
"enable": "yes"
}
}
},
"Interface": "loopback",
"Multicast": {
"enable": "no",
"rp": {
"local-rp": {
"candidate-rp": {
"interface": "loopback"
}
}
}
},
"Name": "virtual-router-2",
"OSPF": {
"enable": "no"
},
"OSPFv3": {
"enable": "no"
},
"RIP": {
"auth-profile": {
"entry": {
"@name": "213"
}
},
"enable": "no",
"export-rules": {
"entry": {
"@name": "test1"
}
},
"interface": {
"entry": {
"@name": "loopback",
"bfd": {
"profile": "Inherit-vr-global-setting"
},
"default-route": {
"disable": {}
},
"enable": "yes",
"mode": "normal"
}
}
},
"RedistributionProfile": {
"entry": [
{
"@name": "test1",
"action": {
"no-redist": {}
},
"priority": "1"
},
{
"@name": "test-2",
"action": {
"no-redist": {}
},
"priority": "123"
}
]
},
"StaticRoute": {
"ip": {
"static-route": {
"entry": {
"@name": "test",
"bfd": {
"profile": "None"
},
"destination": "1.1.1.1",
"metric": "10",
"nexthop": {
"ip-address": "2.2.2.2"
},
"path-monitor": {
"enable": "no",
"failure-condition": "any",
"hold-time": "2"
},
"route-table": {
"unicast": {}
}
}
}
}
}
}
]
}
}
Human Readable Output
Virtual Routers
BGP Interface Multicast Name OSPF OSPFv3 RIP RedistributionProfile StaticRoute no virtual-router-1 no no no static_route_ip,
static_route_ip2,
static_route_ip3no loopback no virtual-router-2 no no no test1,
test-2test
pan-os-list-redistribution-profiles
Returns a list of redistribution-profiles of a specific virtual-router of either a Panorama/firewall instance.
Base Command
pan-os-list-redistribution-profiles
Input
| Argument Name | Description | Required |
|---|---|---|
| name | Redistribution profile name. | Optional |
| virtual_router | The name of the virtual router that has the redistribution profiles retrieve. Can be retrieved from pan-os-list-virtual-routers. | Required |
| template | The template that the redistribution profiles and virtual-router are part of. Use only for Panorama instances. | Optional |
| limit | The maximum number of redistribution-profiles to retrieve. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.RedistributionProfile.Name | String | The name of the profile. |
| Panorama.RedistributionProfile.Priority | String | The priority of the profile. |
| Panorama.RedistributionProfile.Action | String | The action of the profile. |
| Panorama.RedistributionProfile.FilterInterface | Unknown | The filter interface(s). |
| Panorama.RedistributionProfile.FilterType | Unknown | The filter type(s). |
| Panorama.RedistributionProfile.FilterDestination | Unknown | The filter destination(s). |
| Panorama.RedistributionProfile.FilterNextHop | Unknown | The filter next hop. |
| Panorama.RedistributionProfile.BGP | Unknown | The BGP of the profile. |
| Panorama.RedistributionProfile.OSPF | Unknown | The OSPF of the profile. |
Command example
!pan-os-list-redistribution-profiles virtual_router=test
Context Example
{
"Panorama": {
"RedistributionProfile": [
{
"Action": "redist",
"BGP": {
"Community": [
"local-as",
"no-export"
],
"ExtendedCommunity": "0x4164ACFCE33404EA"
},
"FilterDestination": "1.1.1.1",
"FilterInterface": "loopback",
"FilterNextHop": "2.2.2.2",
"FilterType": [
"bgp",
"connect",
"ospf",
"rip",
"static"
],
"Name": "test1",
"OSPF": {
"Area": [
"1.1.1.1",
"2.2.2.2"
],
"PathType": [
"ext-1",
"ext-2",
"inter-area",
"intra-area"
],
"Tag": "1"
},
"Priority": "1"
},
{
"Action": "no-redist",
"BGP": null,
"FilterDestination": null,
"FilterInterface": null,
"FilterNextHop": null,
"FilterType": null,
"Name": "test-2",
"OSPF": null,
"Priority": "123"
}
]
}
}
Human Readable Output
Redistribution profiles for virtual router test-guy
Name Priority Action Filter Type Filter Destination Filter Next Hop BGP OSPF test1 1 redist bgp,
connect,
ospf,
rip,
static1.1.1.1 2.2.2.2 Community: local-as,
no-export
ExtendedCommunity: 0x4164ACFCE33404EAPathType: ext-1,
ext-2,
inter-area,
intra-area
Area: 1.1.1.1,
2.2.2.2
Tag: 1test-2 123 no-redist
pan-os-create-redistribution-profile
Creates a new redistribution-profile under a virtual-router for a Panorama/firewall instance.
Base Command
pan-os-create-redistribution-profile
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the of the redistribution profile to create. | Required |
| virtual_router | The virtual router that the redistribution profile will be created on. | Required |
| template | The template that the virtual-router is in. Use only for Panorama instances. | Optional |
| filter_source_type | Comma-separated list of the filter source types. Possible values are: bgp, ospf, rip, static. | Optional |
| destination | A comma-separated list of destination to filter by. | Optional |
| nexthop | A comma-separated list of next-hops to filter by. | Optional |
| interface | A comma-separated list of interfaces to filter by. | Optional |
| priority | The priority of the profile. (1-255). | Required |
| action | The action of the profile. Possible values are: redist, no-redist. | Optional |
| filter_ospf_area | A comma-separated list of areas for the OSPF. | Optional |
| filter_ospf_tag | A comma-separated list of tags for the OSPF. | Optional |
| filter_ospf_path_type | A comma-separated list of path types for the OSPF. Possible values are: ext-1, ext-2, inter-area, intra-area. | Optional |
| filter_bgp_community | A comma-separated list of community filters for the BGP. 32-bit value in decimal or hex or in AS:VAL format where AS and VAL are each in 0 - 65535 range. (Max 10 values). | Optional |
| filter_bgp_extended_community | A comma-separated list of community filters for the BGP. 64-bit value in hex, or in TYPE:AS:VAL, TYPE:IP:VAL format. TYPE is 16-bit, the other two are 16-bit and 32-bit each. (Max 5 values). | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-create-redistribution-profile name=test virtual_router=virtual-router-1 priority=12 action=redist filter_bgp_extended_community=0x4164ACFCE33404EA filter_source_type=bgp,ospf filter_bgp_community=13,89 filter_ospf_path_type="ext-1" interface=loopback filter_ospf_tag=1.1.1.1,2.2.2.2 filter_ospf_area=1.1.1.1,2.2.2.2 nexthop=1.1.1.1
Human Readable Output
Redistribution profile test was created successfully.
pan-os-edit-redistribution-profile
Edits a redistribution-profile in a virtual-router.
Base Command
pan-os-edit-redistribution-profile
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the redistribution-profile to edit. | Required |
| virtual_router | The name of the virtual-router that the redistribution-profile is part of. | Required |
| template | The template that the virtual-router is in. Only for Panorama instances. | Optional |
| element_to_change | The element to change. Possible values are: filter_type, filter_destination, filter_nexthop, filter_interface, priority, action, filter_ospf_area, filter_ospf_tag, filter_ospf_path_type, filter_bgp_community, filter_bgp_extended_community. | Required |
| element_value | The value of the element to change. Can be a list for all the elements except priority and action. | Required |
| behavior | The operation to perform on the profile. Possible values are: replace, add, remove. Default is replace. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-edit-redistribution-profile virtual_router=virtual-router-name name=test element_to_change=filter_type element_value=bgp,ospf
Human Readable Output
Redistribution profile test was edited successfully.
pan-os-delete-redistribution-profile
Deletes a redistribution-profile from a virtual-router.
Base Command
pan-os-delete-redistribution-profile
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the redistribution-profile to delete. | Required |
| virtual_router | The name of the virtual-router that the redistribution-profile is part of. | Required |
| template | The template that the virtual-router is in. Only for panorama instances. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-delete-redistribution-profile virtual_router=test1 name=test
Human Readable Output
Redistribution profile test was deleted successfully.
pan-os-list-pbf-rules
Returns a list of pbf-rules of either a Panorama/firewall instance.
Base Command
pan-os-list-pbf-rules
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the pbf-rule to retrieve. If not mentioned, will bring all the pbf rules. | Optional |
| device-group | The device-group that the pbf-rules are part of. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
| show_uncommitted | Whether to show the un-committed rules or not. Possible values are: true, false. Default is false. | Optional |
| disabled | Whether to retrieve the disabled rules. If not mentioned, will retrieve all the PBF rules. Possible values are: yes, no. | Optional |
| action | The action of the PBF rules to retrieve. If not mentioned, will retrieve all the PBF rules. Possible values are: discard, forward, no-pbf. | Optional |
| tags | A comma-separated list of tags of the PBF rules to retrieve. If not mentioned, will retrieve all the PBF rules. | Optional |
| query | Free query to retrieve PBF rule. If not mentioned, will retrieve all the PBF rules. | Optional |
| limit | The maximum number of rules to retrieve. Will be used by default if page argument was not provided. Default is 50. | Optional |
| page_size | The size of pbf-rules to return. Default is 50. | Optional |
| page | The page at which to start listing pbf-rules. Must be a positive number. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.PBF.Name | String | The name of the PBF rule. |
| Panorama.PBF.Description | String | The description of the PBF rule. |
| Panorama.PBF.Tags | Unknown | The tags of the PBF rule. |
| Panorama.PBF.SourceZone | Unknown | The source-zones of the PBF rule. |
| Panorama.PBF.SourceInterface | Unknown | The source-interfaces of the PBF rule. |
| Panorama.PBF.SourceAddress | Unknown | The source-addresses of the PBF rule. |
| Panorama.PBF.SourceUser | Unknown | The source-users of the PBF rule. |
| Panorama.PBF.DestinationAddress | Unknown | The destination-addresses of the PBF rule. |
| Panorama.PBF.EnforceSymmetricReturn | Unknown | The enforce-symmetric-return of the PBF rule. |
| Panorama.PBF.Target | Unknown | The target of the PBF rule. |
| Panorama.PBF.Application | Unknown | The applications of the PBF rule. |
| Panorama.PBF.Service | Unknown | The services of the PBF rule. |
| Panorama.PBF.Disabled | String | Whether the rule is disabled. |
Command example
!pan-os-list-pbf-rules pre_post="pre-rulebase" show_uncommitted=true debug-mode=true
Context Example
{
"Panorama": {
"PBF": [
{
"Action": {
"forward": {
"egress-interface": "Test"
}
},
"Application": "acronis-snapdeploy",
"Description": "Test policy based forwarding rule with a twist",
"DestinationAddress": "bad-url.com",
"Disabled": "no",
"EnforceSymmetricReturn": {
"enabled": "no"
},
"Name": "Test_PBF",
"Service": "service-https",
"SourceAddress": "any",
"SourceInterface": null,
"SourceUser": "any",
"SourceZone": "Test_Zone",
"Tags": "test",
"Target": {
"negate": "no"
}
},
{
"Action": {
"forward": {
"egress-interface": "ethernet1/1"
}
},
"Application": "any",
"Description": "TEst2",
"DestinationAddress": "any",
"Disabled": "no",
"EnforceSymmetricReturn": {
"enabled": "yes",
"nexthop-address-list": {
"entry": [
{
"@name": "1.1.1.1"
},
{
"@name": "2.2.2.2"
}
]
}
},
"Name": "Test_PBF4",
"Service": "any",
"SourceAddress": "any",
"SourceInterface": null,
"SourceUser": "any",
"SourceZone": "internal",
"Tags": null,
"Target": null
}
]
}
}
Human Readable Output
Policy Based Forwarding Rules
Action Description Destination Address Disabled Name Source Address Source User Source Zone Tags forward Test policy based forwarding rule with a twist bad-url.com no Test_PBF any any Test_Zone test forward TEst2 any no Test_PBF4 any any internal
pan-os-create-pbf-rule
Creates a new policy-based-forwarding (PBF) rule in a Panorama/firewall instance.
Base Command
pan-os-create-pbf-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the PBF-rule to create. | Required |
| description | The description that the new PBF-rule should have. | Optional |
| device-group | The device-group in which the new rule should be created. Only for Panorama instance. | Optional |
| pre_post | The pre rule or post rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
| tags | The tags that the rule will be created with. | Optional |
| source_zone | A comma-separated list of source zones. Default is any. | Optional |
| source_address | A comma-separated list of source addresses. Default is any. | Optional |
| source_user | A comma-separated list of source users. Default is any. | Optional |
| service | The service in which the rule will be created with. Default is any. | Optional |
| destination_address | A comma-separated list of destination addresses. Default is any. | Optional |
| application | A comma-separated list of applications. Default is any. | Optional |
| action | The action that the rule will be created with. Possible values are: forward, discard, no-pbf. | Required |
| egress_interface | The egress interface the rule will be created with. Must be provided if action == forward. | Optional |
| nexthop | The next-hop. Relevant only when action = forward. Possible values are: ip-address, fqdn, none. Default is none. | Optional |
| nexthop_value | The next-hop value when action = forward. Could be an IP address or FQDN. Required when nexthop is not none. | Optional |
| enforce_symmetric_return | Whether to enforce symmetric return. Possible values are: yes, no. Default is no. | Optional |
| negate_source | Whether to negate the source. Possible values are: yes, no. Default is no. | Optional |
| negate_destination | Whether to negate the destination. Possible values are: yes, no. Default is no. | Optional |
| nexthop_address_list | The nexthop addresses list for the symmetric return. | Optional |
| audit_comment | An audit comment for the rule. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-create-pbf-rule rulename=test4 pre_post="pre-rulebase" enforce_symmetric_return=yes nexthop_address_list=1.1.1.1,2.2.2.2 action=forward description="this is just a description" egress_interface=a2 nexthop="ip-address" nexthop_value=1.1.1.1 negate_source=yes source_zone=1.1.1.1,2.2.2.2 destination_address=1.1.1.1,2.2.2.2 service=dns,service-https
Human Readable Output
PBF rule test4 was created successfully.
pan-os-edit-pbf-rule
Edits a redistribution-profile in a virtual-router.
Base Command
pan-os-edit-pbf-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the PBF rule to edit. Can be retrieved from the pan-os-list-pbf-rules command. | Required |
| device-group | The device-group that the PBF rule is in. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
| element_to_change | The element to change. Possible values are: source_zone, source_address, source_user, service, destination_address, application, negate_source, negate_destination, nexthop_address_list, enforce_symmetric_return, action_forward_egress_interface, action_forward_nexthop_ip, action_forward_nexthop_fqdn, action_forward_discard, action_forward_no_pbf, disabled, audit-comment. | Required |
| element_value | The value of the element to change. Can be a list for some of the elements. When element_to_change == ‘action_forward_egress_interface’, the action of the rule will be changed to ‘forward’ automatically. | Required |
Context Output
There is no context output for this command.
Command example
!pan-os-edit-pbf-rule rulename=test4 element_to_change=nexthop_address_list element_value="1.1.1.1,2.2.2.2" pre_post="pre-rulebase"
Human Readable Output
PBF test4 was edited successfully.
pan-os-delete-pbf-rule
Deletes a PBF rule.
Base Command
pan-os-delete-pbf-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the pbf-rule to delete. Can be retrieved from the pan-os-list-pbf-rules command. | Required |
| device-group | The device-group from which the pbf-rule should be deleted. Only for a Panorama instance. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: pre-rulebase, post-rulebase. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-delete-pbf-rule rulename=test4 pre_post="pre-rulebase"
Human Readable Output
PBF rule test4 was deleted successfully.
pan-os-list-application-groups
Returns a list of application-groups of either a Panorama/firewall instance.
Base Command
pan-os-list-application-groups
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the application-group to retrieve. If not mentioned, will bring all the application-groups. | Optional |
| device-group | The device-group that the nat-rules are part of. | Optional |
| show_uncommitted | Whether to show the un-committed application-groups or not. Possible values are: true, false. Default is false. | Optional |
| limit | The maximum number of application-groups to retrieve. Will be used by default if page argument was not provided. Default is 50. | Optional |
| page_size | The page size of the application-groups to return. Default is 50. | Optional |
| page | The page at which to start listing application-groups. Must be a positive number. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ApplicationGroup.Name | String | The name of the application-group object. |
| Panorama.ApplicationGroup.Applications | Unknown | The list of the applications that the application-group has. |
| Panorama.ApplicationGroup.Members | Number | The number of the application that are part of the application-group |
Command example
!pan-os-list-application-groups show_uncommitted=true
Context Example
{
"Panorama": {
"ApplicationGroup": [
{
"Applications": [
"1c-enterprise"
],
"Members": 1,
"Name": "test"
},
{
"Applications": [
"2ch-base",
"4shared"
],
"Members": 2,
"Name": "test-2"
},
{
"Applications": [
"1c-enterprise",
"4shared"
],
"Members": 2,
"Name": "test-3"
}
]
}
}
Human Readable Output
Application groups
Applications Members Name 1c-enterprise 1 test 2ch-base,
4shared2 test-2 1c-enterprise,
4shared2 test-3
pan-os-create-application-group
Creates a new application group rule in a Panorama/firewall instance.
Base Command
pan-os-create-application-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name for the application-group to be created with. | Required |
| applications | Comma-separated list of applications. Can be retrieved using the command pan-os-list-applications. | Required |
| device-group | The device-group in which the application-group should be created. Only for Panorama instance. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ApplicationGroup.Name | String | The name of the application-group object. |
| Panorama.ApplicationGroup.Applications | Unknown | The list of the applications that the application-group has. |
| Panorama.ApplicationGroup.Members | Number | The number of the applications that are part of the application-group. |
Command example
!pan-os-create-application-group name=test-3 applications=1c-enterprise,4shared
Context Example
{
"Panorama": {
"ApplicationGroup": {
"Applications": [
"1c-enterprise",
"4shared"
],
"Members": 2,
"Name": "test-3"
}
}
}
Human Readable Output
application-group test-3 was created successfully.
pan-os-edit-application-group
Edits an application-group.
Base Command
pan-os-edit-application-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name for the application-group to be edit. Can be retrieved from the pan-os-list-application-groups command. | Required |
| applications | Comma-separated list of applications. Can be retrieved using the command pan-os-list-applications. | Required |
| device-group | The device-group in which the application-group should be created. Only for a Panorama instance. | Optional |
| action | The action to perform on the application-group. Possible values are: add, remove. Default is add. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.ApplicationGroup.Name | String | The name of the application-group object. |
| Panorama.ApplicationGroup.Applications | Unknown | The list of the applications that the application-group has. |
| Panorama.ApplicationGroup.Members | Number | The number of the applications that are part of the application-group |
Command example
!pan-os-edit-application-group name=test-3 action=remove applications=4shared
Context Example
{
"Panorama": {
"ApplicationGroup": {
"Applications": [
"1c-enterprise"
],
"Members": 1,
"Name": "test-3"
}
}
}
Human Readable Output
application-group test-3 was edited successfully.
pan-os-delete-application-group
Deletes an application-group
Base Command
pan-os-delete-application-group
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the application-group to delete. Can be retrieved from the pan-os-list-application-groups command. | Required |
| device-group | The device-group in which the application-group is part of. Only for a Panorama instance. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-delete-application-group name=test-3
Human Readable Output
application-group test-3 was deleted successfully.
pan-os-list-tag
Returns a list of tags from Panorama.
Base Command
pan-os-list-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| include_shared_tags | Whether to include shared tags in the list. Possible values are: Yes, No. Default is No. | Optional |
| device-group | The device group that the tags are part of. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Tag.name | String | The name of the tag. |
| Panorama.Tag.color | String | The color of the tag. |
| Panorama.Tag.comment | String | The comment in the tag. |
| Panorama.Tag.disable-override | String | Whether overriding the tag is disabled. |
| Panorama.Tag.location | String | The tag’s device group location. |
Command example
!pan-os-list-tag include_shared_tags=No
Context Example
{
"Panorama": {
"Tag": [
{
"name": "tag1",
"color": "color13"
},
{
"name": "tag2",
"color": "color39"
},
{
"name": "tag3",
"color": "color39",
"disable-override": "no",
"comments": "text text text"
}
]
}
}
Human Readable Output
Tags
Name Color Comment tag1 color13 tag2 color39 tag3 color39 text text text
pan-os-create-tag
Creates a new tag in Panorama.
Base Command
pan-os-create-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name for the new tag to be created. | Required |
| device_group | The device group that the tag will be part of. | Optional |
| disable_override | Whether to disable overriding the tag. Possible values are: true, false. Default is false. | Optional |
| is_shared | Whether the tag should be generated in a shared location. Possible values are: true, false. Default is false. | Optional |
| comment | The comment for the tag. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-create-tag name="testtag" comment="some comment" is_shared=false
Human Readable Output
The tag with name “testtag” was created successfully.
pan-os-edit-tag
Edits a tag in Panorama.
Base Command
pan-os-edit-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The existing name for the tag to be edited. | Required |
| new_name | The new name for the tag to be replaced with. | Optional |
| device_group | The device group of the tag. | Optional |
| disable_override | Whether to disable overriding the tag. Possible values are: true, false. Default is false. | Optional |
| comment | The comment for the tag. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-edit-tag name="testtag" new_name="newtesttag" comment="some comment"
Human Readable Output
The tag with name “testtag” was edited successfully.
pan-os-delete-tag
Deletes a tag from Panorama.
Base Command
pan-os-delete-tag
Input
| Argument Name | Description | Required |
|---|---|---|
| name | The name of the tag to delete. | Required |
Context Output
There is no context output for this command.
Command example
!pan-os-delete-tag name="testtag"
Human Readable Output
The tag with name “testtag” was deleted successfully.
pan-os-list-device-groups
Returns a list of all device groups from Panorama.
Base Command
pan-os-list-device-groups
Input
| Argument Name | Description | Required |
| — | — | — |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.DeviceGroupNames | string | The list of device groups. |
pan-os-export-tech-support-file
Exports a tech support file (TSF).
Base Command
pan-os-export-tech-support-file
Input
| Argument Name | Description | Required |
|---|---|---|
| interval_in_seconds | The polling interval (in seconds). Default is 30. | Optional |
| timeout | The polling timeout (in seconds). Default is 1200. | Optional |
Context Output
There is no context output for this command.
Command example
#### Human Readable Output
>Waiting for tech support file export with job ID 101 to finish...
### pan-os-list-security-profile-group
***
Returns a list of security profile groups from Panorama.
#### Base Command
`pan-os-list-security-profile-group`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| group_name | A given group name to return the data for. | Optional |
| device-group | The device group that the security profile groups are part of. | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.ProfileGroup.name | String | The name of the group. |
| Panorama.ProfileGroup.location | String | The security profile group's device group location. |
| Panorama.ProfileGroup.virus | String | The antivirus profile. |
| Panorama.ProfileGroup.spyware | String | The anti-spyware profile. |
| Panorama.ProfileGroup.vulnerability | String | The vulnerability protection profile. |
| Panorama.ProfileGroup.url-filtering | String | The URL filtering profile. |
| Panorama.ProfileGroup.file-blocking | String | The file blocking profile. |
| Panorama.ProfileGroup.data-filtering | String | The data filtering profile. |
| Panorama.ProfileGroup.wildfire-analysis | String | The WildFire analysis profile. |
| Panorama.ProfileGroup.disable-override | String | Whether overriding the security profile group is disabled. |
#### Command example
```!pan-os-list-security-profile-group```
#### Context Example
```json
{
"Panorama": {
"ProfileGroups": [
{
"name": "test_security_pg",
"location": "TestDevice",
"virus": "default",
"spyware": "default",
},
{
"name": "test_security_pg_v2",
"file-blocking": "basic file blocking",
"data-filtering": "test data filtering",
"wildfire-analysis": "test wildfire analysis",
"url-filtering": "default",
"location": "TestDevice",
"spyware": "default",
"vulnerability": "vulnerability",
"virus": "default",
}
]
}
}
Human Readable Output
Security Profile Groups
Name Location Antivirus Profile Anti-Spyware Profile Vulnerability Protection Profile URL Filtering Profile File Blocking Profile Data Filtering Profile WildFire Analysis Profile test_security_pg TestDevice default default test_security_pg_v2 TestDevice default default vulnerability default basic file blocking test data filtering test wildfire analysis
pan-os-create-security-profile-group
Creates a new security profile group in Panorama.
Base Command
pan-os-create-security-profile-group
Input
| Argument Name | Description | Required |
|---|---|---|
| group_name | The name of the security profile group. | Required |
| device-group | The device group that the security profile group will be part of. | Optional |
| antivirus_profile | The antivirus profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
| anti_spyware_profile | The anti-spyware profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
| vulnerability_protection_profile | The vulnerability protection profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
| URL_filtering_profile | The URL filtering profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
| file_blocking_profile | The file blocking profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
| data_filtering_profile | The data filtering profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
| wildfire_analysis_profile | The WildFire analysis profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-create-security-profile-group group_name="test_security_pg" antivirus_profile="default" anti_spyware_profile="default"
Human Readable Output
Successfull created Security Profile Group: “test-spg”
pan-os-edit-security-profile-group
Edits the security profile group in Panorama.
Base Command
pan-os-edit-security-profile-group
Input
| Argument Name | Description | Required |
|---|---|---|
| group_name | The name of the security profile group to edit. | Required |
| profile_to_change | The profile to edit in the group. Possible values are: Antivirus Profile, Anti-Spyware Profile, Vulnerability Protection Profile, URL Filtering Profile, File Blocking Profile, Data Filtering Profile, WildFire Analysis Profile. | Required |
| profile_value | The value to set in the profile. You can get the possible values for this argument by running the pan-os-get-security-profile command. | Required |
| device-group | The device group that the security profile group is part of. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-edit-security-profile-group group_name="test-spg" profile_to_change="Antivirus Profile" profile_value="default"
Human Readable Output
Successfull edited Security Profile Group: “test-spg”
pan-os-delete-security-profile-group
Deletes a security profile group from Panorama.
Base Command
pan-os-delete-security-profile-group
Input
| Argument Name | Description | Required |
|---|---|---|
| group_name | The name of the security profile group to delete. | Required |
| device-group | The device group that the security profile group is part of. | Optional |
Context Output
There is no context output for this command.
Command example
!pan-os-delete-security-profile-group group_name="test-spg"
Human Readable Output
Successfull deleted Security Profile Group: “test-spg”
pan-os-get-audit-comment
Gets the audit comment of a rule.
Base Command
pan-os-get-audit-comment
Input
| Argument Name | Description | Required |
|---|---|---|
| rule_name | The rule name to apply. | Required |
| rule_type | The rule type. Possible values are: Security Rule, NAT Rule, PBF Rule. | Required |
| pre_post | The pre-rule or post-rule (Panorama instances only). Possible values are: Pre, Post. | Optional |
| device-group | The device group that the rule is part of. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AuditComment.comment | String | The audit comment of the rule. |
| Panorama.AuditComment.rule_name | String | The rule name. |
| Panorama.AuditComment.rule_type | String | The rule type. |
Command example
!pan-os-get-audit-comment rule_name="test" rule_type="Security Rule" pre_post=Post
Context Example
{
"Panorama": {
"AuditComment": [
{
"comment": "some comment",
"rule_name": "test",
"rule_type": "Security Rule"
}
]
}
}
Human Readable Output
Audit Comment for Rule: test
Comment Rule Name Rule Type some comment test Security Rule pan-os-add-profile-exception
Add an exception to a Vulnerability Protection profile or Anti Spyware profile.
Base Command
pan-os-add-profile-exception
Input
| Argument Name | Description | Required |
|---|---|---|
| profile_name | The profile name. | Required |
| threat | The requested threat name/CVE/ID to add. | Required |
| profile_type | The profile type. Possible values are: Vulnerability Protection Profile, Anti Spyware Profile. | Optional |
| action | The action type of the exception. Default value is ‘default’. Possible values are: Alert, Allow, Block IP, Drop, Reset Both, Reset Client, Reset Server. | Optional |
| packet_capture | To configure the firewall to take a packet capture when it detects a threat. Possible values are: Disable, Single Packet, Extended Capture. | Optional |
| exempt_ip | An IP address. Configure an exempt IP address to enforce a threat exception only when the associated session has either a matching source or destination IP address; for all other sessions, the threat is enforced based on the default signature action. | Optional |
| device_group | Device group. This will override any configured device group or vsys. | Optional |
| ip_track_by | Specify whether to Track By and block the IP address using the IP source or the IP source and destination. If action = Block IP , this argument is mandatory. Possible values are: Source, Source And Destination. | Optional |
| ip_duration_sec | Specify the time period (in seconds) after which to trigger the action. If action = Block IP , this argument is mandatory. | Optional |
Command example
!pan-os-add-profile-exception profile_name="test1" threat="10002" action="Drop"
Context Output
There is no context output for this command.
pan-os-list-profile-exception
List the exceptions in a Vulnerability Protection profile or Anti Spyware profile.
Base Command
pan-os-list-profile-exception
Input
| Argument Name | Description | Required |
|---|---|---|
| profile_name | The profile name. | Required |
| profile_type | The profile type. Possible values are: Vulnerability Protection Profile, Anti Spyware Profile. | Optional |
Command example
!pan-os-list-profile-exception profile_name="test1" profile_type="Vulnerability Protection Profile"
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Vulnerability.Name | String | The profile name. |
| Panorama.Vulnerability.Exception.name | String | The exception name. |
| Panorama.Vulnerability.Exception.id | String | The exception ID. |
| Panorama.Vulnerability.Exception.CVE | String | The exception CVE if exist. |
| Panorama.Vulnerability.Exception.action | String | The exception action. |
| Panorama.Vulnerability.Exception.exempt-id | String | The exception exempt ID. |
| Panorama.Vulnerability.Exception.packet-capture | String | The exception packet capture. |
| Panorama.Spyware.Name | String | The profile name. |
| Panorama.Spyware.Exception.name | String | The exception name. |
| Panorama.Spyware.Exception.id | String | The exception ID. |
| Panorama.Spyware.Exception.CVE | String | The exception CVE if exist. |
| Panorama.Spyware.Exception.action | String | The exception action. |
| Panorama.Spyware.Exception.exempt-id | String | The exception exempt ID. |
| Panorama.Spyware.Exception.packet-capture | String | The exception packet capture. |
pan-os-delete-profile-exception
Delete an exception to a Vulnerability Protection profile or Anti Spyware profile.
Base Command
pan-os-delete-profile-exception
Input
| Argument Name | Description | Required |
|---|---|---|
| profile_name | The profile name. | Required |
| threat | The requested threat name/CVE/ID to delete. | Required |
| profile_type | The profile type. Possible values are: Vulnerability Protection Profile, Anti Spyware Profile. | Optional |
Command example
!pan-os-delete-profile-exception profile_name="test2" threat="10005" profile_type="Vulnerability Protection Profile"
Context Output
There is no context output for this command.
pan-os-edit-profile-exception
Edit an exception to a Vulnerability Protection profile or Anti Spyware profile.
Base Command
pan-os-edit-profile-exception
Input
| Argument Name | Description | Required |
|---|---|---|
| profile_name | The profile name. | Required |
| threat | The requested threat name/CVE/ID to edit. | Required |
| profile_type | The profile type. Possible values are: Vulnerability Protection Profile, Anti Spyware Profile. | Optional |
| action | The action type of the exception. Default value is ‘default’. Possible values are: Alert, Allow, Block IP, Drop, Reset Both, Reset Client, Reset Server. | Optional |
| packet_capture | To configure the firewall to take a packet capture when it detects a threat. Possible values are: Disable, Single Packet, Extended Capture. | Optional |
| exempt_ip | An IP address. Configure an exempt IP address to enforce a threat exception only when the associated session has either a matching source or destination IP address; for all other sessions, the threat is enforced based on the default signature action. | Optional |
| device_group | Device group. This will override any configured device group or vsys. | Optional |
| ip_track_by | Specify whether to Track By and block the IP address using the IP source or the IP source and destination. If action = Block IP , this argument is mandatory. Possible values are: Source, Source And Destination. | Optional |
| ip_duration_sec | Specify the time period (in seconds) after which to trigger the action. If action = Block IP , this argument is mandatory. | Optional |
Command example
!pan-os-edit-profile-exception profile_name="test1" threat="10002" action="Drop"
Context Output
There is no context output for this command.
pan-os-create-master-key
Create a default master key that encrypts all the private keys and passwords in the configuration.
This command is harmful because it invalidates the current API key and requires re-configuration of the integration instance.
Base Command
pan-os-create-master-key
Input
| Argument Name | Description | Required |
|---|---|---|
| master_key | The encryption master key. Must be exactly 16 characters. | Required |
| lifetime_in_hours | The lifetime of the key in hours. | Required |
| reminder_in_hours | The time to be notified of the key’s expiration in hours. | Required |
Limitations
-
All changes to the configuration of the Palo Alto firewall or Panorama need to be committed before running this command. This can be done using using the pan-os-commit and pan-os-push-status commands.
-
The command invalidates the current API key and requires obtaining a new one using the instructions in the PAN-OS and Panorama API usage guide. All subsequent commands will raise an “Invalid Credential” error until a new API key is obtained and the integration instance is updated accordingly.
Command example
!pan-os-create-master-key master_key="MyFakeMasterKey1" lifetime_in_hours=2160 reminder_in_hours=1992
Context Output
There is no context output for this command.
Human Readable Output
Master key changed successfully. All key material has been re-encrypted with new master key and committed via jobid 1234.
⚠️ The current API key is no longer valid! (by design). Generate a new API key and update it in the integration instance configuration to keep using the integration.
pan-os-update-master-key
Update the default master key that encrypts all the private keys and passwords in the configuration.
This command is harmful because it invalidates the current API key and requires re-configuration of the integration instance.
Base Command
pan-os-update-master-key
Input
| Argument Name | Description | Required |
|---|---|---|
| current_master_key | The current encryption master key. | Required |
| new_master_key | The new encryption master key. Must be exactly 16 characters. | Required |
| lifetime_in_hours | The lifetime of the key in hours. | Required |
| reminder_in_hours | The time to be notified of the key’s expiration in hours. | Required |
Limitations
-
All changes to the configuration of the Palo Alto firewall or Panorama need to be committed before running this command. This can be done using using the pan-os-commit and pan-os-push-status commands.
-
The command invalidates the current API key and requires obtaining a new one using the instructions in the PAN-OS and Panorama API usage guide. All subsequent commands will raise an “Invalid Credential” error until a new API key is obtained and the integration instance is updated accordingly.
Command example
!pan-os-update-master-key current_master_key="MyFakeMasterKey1" new_master_key="MyFakeMasterKey2" lifetime_in_hours=2160 reminder_in_hours=1992
Context Output
There is no context output for this command.
Human Readable Output
Master key changed successfully. All key material has been re-encrypted with new master key and committed via jobid 2468.
⚠️ The current API key is no longer valid! (by design). Generate a new API key and update it in the integration instance configuration to keep using the integration.
pan-os-get-master-key-details
Show the details of the default master key that encrypts all the private keys and passwords in the configuration.
Base Command
pan-os-get-master-key-details
Input
There are no input arguments for this command.
Command example
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.MasterKey.auto-renew-mkey | String | Whether the master key will be automatically renewed on expiry. |
| Panorama.MasterKey.expire-at | String | The date and time when the key is set to expire. |
| Panorama.MasterKey.hours-to-expiry | String | The number of hours remaining before the key expires. |
| Panorama.MasterKey.hours-to-reminder | String | The number of hours remaining before being notified that the key is set to expire. |
| Panorama.MasterKey.minutes-to-expiry | String | The number of minutes remaining before the key expires. |
| Panorama.MasterKey.minutes-to-reminder | String | The number of minutes remaining before being notified that the key is set to expire. |
| Panorama.MasterKey.on-hsm | String | Whether the master key is encrypted using a key stored on a Hardware Security Module (HSM). |
| Panorama.MasterKey.remind-at | String | The date and time when to be notified that the key is set to expire. |
| Panorama.MasterKey.seconds-to-expiry | String | The number of seconds remaining before the key expires. |
| Panorama.MasterKey.seconds-to-reminder | String | The number of seconds remaining before being notified that the key is set to expire. |
#### Context Example
```json
{
"Panorama": {
"MasterKey": {
"auto-renew-mkey": "0",
"expire-at": "2025/02/18 04:26:05",
"hours-to-expiry": "2138",
"hours-to-reminder": "1992",
"minutes-to-expiry": "128288",
"minutes-to-reminder": "119520",
"on-hsm": "no",
"remind-at": "2024/11/27 04:26:05",
"seconds-to-expiry": "7697336",
"seconds-to-reminder": "7171200"
}
}
}
Human Readable Output
Master Key Details
Auto-renew master key Encrypted on HSM Remind at Expire at 0 no 2024/11/27 04:26:05 2025/02/18 04:26:05
pan-os-get-certificate-info
Gathers the name, expiration date, and expiration status of certificates configured locally on a Firewall or pushed from Panorama, as seen under Certificate Management.
Base Command
pan-os-get-certificate-info
Input
| Argument Name | Description | Required |
|---|---|---|
| show_expired_only | Show only expired certificates. | Optional |
Command example
!pan-os-get-certificate-info show_expired_only=true
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.Certificate.name | String | Name of the certificate. |
| Panorama.Certificate.device | String | Device where this certificate was found. |
| Panorama.Certificate.subject | String | Subject of the certificate. |
| Panorama.Certificate.expiration_date | String | Expiration date of the certificate. |
| Panorama.Certificate.expiration_status | String | Status of certificate - Expired, Expiring in 30 days, Expiring in 60 days, Expiring in 90 days or Valid. |
| Panorama.Certificate.location | String | Where this certificate was configured - Firewall or Panorama. |
| Panorama.Certificate.cert_type | String | Whether this certificate was pushed from Panorama, Local to Firewall, or Predefined on Panorama or a Firewall. |
| Panorama.Certificate.devices_using_certificate | Unknown | List of devices using this certificate if it was pushed from Panorama. |
Context Example
{
"Panorama": {
"Certificate": [
{
"name": "ACME Root CA",
"device": "panorama.test",
"subject": "/CN=acme-root-ca.acme.com",
"expiration_date": "May 9 16:35:16 2026 GMT",
"expiration_status": "Valid",
"location": "Panorama",
"cert_type": "Pushed",
"devices_using_certificate": [
"111111111111111"
]
}
]
}
}
Human Readable Output
Certificates Information
name device subject expiration_date expiration_status location cert_type devices_using_certificate ACME Root CA panorama.test /CN=acme-root-ca.acme.com May 9 16:35:16 2026 GMT Valid Panorama Pushed 111111111111111
pan-os-check-dynamic-updates-status
Checks for the latest available dynamic update versions and returns a list of latest available / currently installed content.
When running from a Panorama instance, the target argument must be specified.
Base Command
pan-os-check-dynamic-updates-status
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Mandatory for Panorama instances. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.AntiVirus.IsUpToDate | Boolean | Whether the latest available AntiVirus package is active on the device. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.AntiVirus.LatestAvailable.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.Content.CurrentlyInstalled.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.Content.IsUpToDate | Boolean | Whether the latest available App/Threat package is active on the device. |
| Panorama.DynamicUpdates.Content.LatestAvailable.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.Content.LatestAvailable.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.Content.LatestAvailable.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.Content.LatestAvailable.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.Content.LatestAvailable.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.Content.LatestAvailable.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.Content.LatestAvailable.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.Content.LatestAvailable.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.Content.LatestAvailable.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.Content.LatestAvailable.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.Content.LatestAvailable.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.Content.LatestAvailable.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.Content.LatestAvailable.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.Content.LatestAvailable.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.Content.LatestAvailable.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.ContentTypesOutOfDate.Count | Number | The total number of active Dynamic Updates that have updates available. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.GP.CurrentlyInstalled.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.GP.IsUpToDate | Boolean | Whether the latest available GP Clientless VPN package is active on the device. |
| Panorama.DynamicUpdates.GP.LatestAvailable.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.GP.LatestAvailable.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.GP.LatestAvailable.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.GP.LatestAvailable.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.GP.LatestAvailable.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.GP.LatestAvailable.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.GP.LatestAvailable.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.GP.LatestAvailable.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.GP.LatestAvailable.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.GP.LatestAvailable.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.GP.LatestAvailable.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.GP.LatestAvailable.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.GP.LatestAvailable.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.GP.LatestAvailable.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.GP.LatestAvailable.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.WildFire.IsUpToDate | Boolean | Whether the latest available WildFire package is active on the device. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.app-version | String | Version of the dynamic update package. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.current | String | Whether this version is currently active on the device. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.downloaded | String | Whether this version has been downloaded to the device. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.feature-desc | String | Detailed description of features provided. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.features | String | Features provided by this version. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.filename | String | Filename of the dynamic update. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.installing | String | Whether this version is being installed by a running job on the device. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.previous | String | Whether this version was previously active on the system and can be reverted to. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.release-notes | String | Link to release notes about the dynamic update package. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.released-on | Date | Date this version was released. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.sha256 | String | SHA256 hash of the dynamic update package file. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.size | String | Size of the dynamic update package file. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.size-kb | String | Size (in KB) of the dynamic update file. |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.update-type | String | Type of update package (Full, Incremental, etc) |
| Panorama.DynamicUpdates.WildFire.LatestAvailable.version | String | Version of the dynamic update package. |
pan-os-download-latest-antivirus-update
Downloads the latest antivirus dynamic update.
Base Command
pan-os-download-latest-antivirus-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the download job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the download status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AntiVirus.Download.JobID | String | The job ID of the antivirus download. |
| Panorama.AntiVirus.Download.Status | String | The antivirus download status. |
| Panorama.AntiVirus.Download.Details | String | The download job details. |
pan-os-download-latest-wildfire-update
Downloads the latest WildFire dynamic update.
Base Command
pan-os-download-latest-wildfire-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the download job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the download status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.WildFire.Download.JobID | String | The job ID of the WildFire download. |
| Panorama.WildFire.Download.Status | String | The WildFire download status. |
| Panorama.WildFire.Download.Details | String | The download job details. |
pan-os-download-latest-gp-update
Downloads the latest GlobalProtect Clientless VPN dynamic update.
Base Command
pan-os-download-latest-gp-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the download job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the download status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.GP.Download.JobID | String | The job ID of the GlobalProtect Clientless VPN download. |
| Panorama.GP.Download.Status | String | The GlobalProtect Clientless VPN download status. |
| Panorama.GP.Download.Details | String | The download job details. |
pan-os-install-latest-antivirus-update
Installs the latest Antivirus update.
Base Command
pan-os-install-latest-antivirus-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the install job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the install status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.AntiVirus.Install.JobID | String | The job ID of the installation. |
| Panorama.AntiVirus.Install.Status | String | The installation status. |
| Panorama.AntiVirus.Install.Details | String | The install job details. |
pan-os-install-latest-wildfire-update
Installs the latest WildFire dynamic update.
Base Command
pan-os-install-latest-wildfire-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the install job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the install status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.WildFire.Install.JobID | String | The job ID of the installation. |
| Panorama.WildFire.Install.Status | String | The installation status. |
| Panorama.WildFire.Install.Details | String | The install job details. |
pan-os-install-latest-gp-update
Installs the latest GlobalProtect Clientless VPN dynamic update.
Base Command
pan-os-install-latest-gp-update
Input
| Argument Name | Description | Required |
|---|---|---|
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| polling | When set to false, the function will not use polling and will immediately return the ID of the install job. Possible values are: true, false. | Optional |
| timeout_in_seconds | The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. Default is 3600. | Optional |
| interval_in_seconds | The polling interval in seconds. Controls how often the install status is checked. Default is 30. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.GP.Install.JobID | String | The job ID of the installation. |
| Panorama.GP.Install.Status | String | The installation status. |
| Panorama.GP.Install.Details | String | The install job details. |
pan-os-disable-rule
Disables a policy rule.
Base Command
pan-os-disable-rule
Input
| Argument Name | Description | Required |
|---|---|---|
| rulename | The name of the rule to disable. | Required |
| pre_post | The pre-rule or post-rule (Panorama instances). Possible values are: pre-rulebase, post-rulebase. | Optional |
| device-group | The device group where the rule is configured (Panorama instances). | Optional |
| target | Serial number of the firewall on which to run the command. Use only for a Panorama instance. | Optional |
| rulebase | The rulebase from which to disable the rule. Possible values are: security, application-override, authentication, decryption, nat, pbf. Default is security. | Required |
| vsys | The Firewall VSYS to disable the rule on. Use for disabling local rules on a firewall via Panorama or to specify a different VSYS than set in Integration parameters. Default is vsys1. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Panorama.SecurityRule.Name | string | The rule name. |
| Panorama.SecurityRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.NAT.Name | string | The rule name. |
| Panorama.NAT.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.SSLRule.Name | string | The rule name. |
| Panorama.SSLRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.PBF.Name | string | The rule name. |
| Panorama.PBF.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.AuthRule.Name | string | The rule name. |
| Panorama.AuthRule.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.AppOverride.Name | string | The rule name. |
| Panorama.AppOverride.DeviceGroup | string | The device group for the rule (Panorama instances). |
| Panorama.CleanedUpRules.Category | string | The category of rule that was cleaned up (Local or Panorama). |
| Panorama.CleanedUpRules.AppliedAction | string | The applied cleanup action (Disabled or Deleted). |
| Panorama.CleanedUpRules.DeviceGroup | string | The device group where the rule was cleaned up from (Panorama instances). |
| Panorama.CleanedUpRules.PrePost | string | The location where the rule was cleaned up from (Panorama instances). |
| Panorama.CleanedUpRules.RuleName | string | The name of the rule. |
| Panorama.CleanedUpRules.Rulebase | string | The rulebase where the rule was cleaned up from (e.g. ‘security’, ‘nat’). |
| Panorama.CleanedUpRules.Target | string | The target firewall serial number, if provided. |
| Panorama.CleanedUpRules.Vsys | string | The VSYS where the rule was cleaned up from. |
pan-os-get-rule-hitcounts
Gets rule hit counts from the firewall. When connected to Panorama this command can be run on any firewall managed by it.
Base Command
pan-os-get-rule-hitcounts
Input
| Argument Name | Description | Required |
|---|---|---|
| device_filter_string | The string by which to filter the results to only show specific hostnames or serial numbers. | Optional |
| target | The target number of the firewall. Used only on a Panorama instance. | Optional |
| rulebase | The firewall rulebase to check. Possible values are: application-override, authentication, decryption, dos, nat, network-packet-broker, pbf, qos, sdwan, security, tunnel-inspect. Default is security. | Optional |
| vsys | The firewall VSYS name to check. Returns results for all VSYS if left blank. Default is all. | Optional |
| rules | Comma-separated list of rule names to check. Returns results for all rules if left blank. Default is all. | Optional |
| unused_only | If set to true, only returns rules with a hit count of 0. Possible values are: true, false. Default is false. | Optional |
| no_new_hits_since | Shows rules that have had hits, but not after the date provided (in the format YYYY/MM/DD HH:MM:SS). | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances only). When set, only rules pushed from Panorama at the specified position are returned. Possible values are: pre-rulebase, post-rulebase. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| PANOS.RuleHitCount.first_hit_timestamp | Date | Timestamp when the rule was first hit. |
| PANOS.RuleHitCount.from_dg_name | String | Name of the device group the rule is inherited from. |
| PANOS.RuleHitCount.hit_count | Number | Number of hits for the rule. |
| PANOS.RuleHitCount.hostid | String | Serial number of the firewall the entry was fetched from. |
| PANOS.RuleHitCount.instanceName | String | Name of the PAN-OS Integration Instance used to fetch the entry. |
| PANOS.RuleHitCount.instanceType | String | The type of the PAN-OS Integration Instance running the command (panorama or firewall). |
| PANOS.RuleHitCount.is_from_panorama | Boolean | Indicates if the rule was pushed from Panorama (true) or is local to the firewall (false). |
| PANOS.RuleHitCount.last_hit_timestamp | Date | Timestamp when the rule was most recently hit. |
| PANOS.RuleHitCount.last_reset_timestamp | Date | Timestamp when hit count data was last reset. |
| PANOS.RuleHitCount.latest | String | Value of the “latest” property returned by the API. |
| PANOS.RuleHitCount.name | String | Name of the rule. |
| PANOS.RuleHitCount.position | String | Indicates the position of the rule pushed from Panorama (pre_rulebase or post_rulebase). |
| PANOS.RuleHitCount.rule_creation_timestamp | Date | Timestamp when the rule was created. |
| PANOS.RuleHitCount.rule_modification_timestamp | Date | Timestamp when the rule was most recently modified. |
| PANOS.RuleHitCount.rulebase | String | The rulebase of the rule (such as security, nat, and so on). |
| PANOS.RuleHitCount.vsys | String | The name of the firewall VSYS. |
<~PLATFORM>
License Requirements
The following configuration parameters require one of these licenses: Cortex XSIAM or Agentix:
- Fetch incidents
</~PLATFORM>
Configuration parameters
server— Server URL (e.g., https://192.168.0.1) (required)credentials—port— Port (e.g 443)device_group— Device group - Panorama instances only (write shared for Shared location)vsys— Vsys - Firewall instances onlytemplate— Template - Panorama instances onlyuse_url_filtering— Use URL Filtering for auto enrichmentadditional_suspicious— URL Filtering Additional suspicious categories. CSV list of categories that will be considered suspicious.additional_malicious— URL Filtering Additional malicious categories. CSV list of categories that will be considered malicious.insecure— Trust any certificate (not secure)proxy— Use system proxy settingskey— API Key (Deprecated)integrationReliability— Source ReliabilityfeedExpirationPolicy—feedExpirationInterval—isFetch— Fetch incidentsfirst_fetch— First fetch timestamp (<number> <time unit>, e.g., 12 hours, 7 days)max_fetch— Max incidents per fetch (for each selected Log Type Query)log_types— Log Typefetch_job_polling_max_num_attempts— Log type max number of job pulling attemptstraffic_query— Traffic Log Type Querythreat_query— Threat Log Type Queryurl_query— URL Log Type Querydata_query— Data Log Type Querycorrelation_query— Correlation Log Type Querysystem_query— System Log Type Querywildfire_query— Wildfire Submission Log Type Querydecryption_query— Decryption Log Type QueryincidentType— Incident typeincidentFetchInterval— Incidents Fetch Interval
Commands (289)
-
pan-osRuns any command supported in the API.
-
pan-os-add-profile-exceptionAdd an exception to a Vulnerability Protection profile or Anti Spyware profile.
-
pan-os-add-static-routeAdds a static route.
-
pan-os-apply-dns-signature-policyEnables assigning EDL to the anti-spyware profile under "DNS Signature Policies".
-
pan-os-apply-security-profileApplies a security profile to specific rules or rules with a specific tag.
-
pan-os-block-vulnerabilitySets a vulnerability signature to block mode.
-
pan-os-check-dynamic-updates-statusChecks for the latest available dynamic update versions and returns a list of latest available / currently installed content. When running from a Panorama instance, the 'target' argument must be specified.
-
pan-os-check-latest-panos-softwareChecks the PAN-OS software version from the repository.
-
pan-os-check-logs-statusChecks the status of a logs query.
-
pan-os-check-traffic-logs-statusDeprecatedDeprecated. Use the pan-os-check-logs-status command instead.
-
pan-os-commitCommits a configuration to the Palo Alto firewall or Panorama, validates if a commit was successful if using polling="true" otherwise does not validate if the commit was successful. Committing to Panorama does not push the configuration to the firewalls. To push the configuration, run the panorama-push-to-device-group command.
-
pan-os-commit-statusReturns commit status for a configuration.
-
pan-os-config-get-objectSearches and returns a reference for the given object type and name. If no name is provided, all objects of the given type will be returned. Note this ONLY returns the object name and its location in the configuration hierachy, not the entire object.
-
pan-os-content-update-download-statusChecks the download status of an app/threat dynamic update.
-
pan-os-content-update-install-statusGets the installation status of the app/threat dynamic update.
-
pan-os-create-addressCreates an address object.
-
pan-os-create-address-groupCreates a static or dynamic address group.
-
pan-os-create-anti-spyware-best-practice-profileCreates an Anti-Spyware best practice profile.
-
pan-os-create-antivirus-best-practice-profileCreates an antivirus best practice profile.
-
pan-os-create-application-groupCreates a new application group rule in a Panorama/firewall instance.
-
pan-os-create-custom-url-categoryCreates a custom URL category.
-
pan-os-create-edlCreates an external dynamic list.
-
pan-os-create-file-blocking-best-practice-profileCreates a file blocking best practice profile.
-
pan-os-create-master-keyCreate a default master key that encrypts all the private keys and passwords in the configuration. This command is harmful because it invalidates the current API key and requires re-configuration of the integration instance.
-
pan-os-create-nat-ruleCreates a new NAT rule in a Panorama/firewall instance.
-
pan-os-create-pbf-ruleCreates a new policy-based-forwarding (PBF) rule in a Panorama/firewall instance.
-
pan-os-create-redistribution-profileCreates a new redistribution-profile under a virtual-router for a Panorama/firewall instance.
-
pan-os-create-ruleCreates a policy rule.
-
pan-os-create-security-profile-groupCreates a new security profile group in Panorama.
-
pan-os-create-serviceCreates a service.
-
pan-os-create-service-groupCreates a service group.
-
pan-os-create-tagCreates a new tag in Panorama.
-
pan-os-create-url-filterCreates a URL filtering rule.
-
pan-os-create-url-filtering-best-practice-profileCreates a URL filtering best practice profile.
-
pan-os-create-vulnerability-best-practice-profileCreates a vulnerability protection best practice profile.
-
pan-os-create-wildfire-best-practice-profileCreates a WildFire analysis best practice profile.
-
pan-os-custom-block-ruleCreates a custom block policy rule.
-
pan-os-delete-addressDeletes an address object.
-
pan-os-delete-address-groupDeletes an address group.
-
pan-os-delete-application-groupDeletes an application-group.
-
pan-os-delete-custom-url-categoryDeletes a custom URL category.
-
pan-os-delete-edlDeletes an external dynamic list.
-
pan-os-delete-nat-ruleDeletes a NAT rule.
-
pan-os-delete-pbf-ruleDeletes a PBF rule.
-
pan-os-delete-profile-exceptionDelete an exception to a Vulnerability Protection profile or Anti Spyware profile.
-
pan-os-delete-redistribution-profileDeletes a redistribution-profile from a virtual-router.
-
pan-os-delete-ruleDeletes a policy rule.
-
pan-os-delete-security-profile-groupDeletes a security profile group from Panorama.
-
pan-os-delete-serviceDeletes a service.
-
pan-os-delete-service-groupDeletes a service group.
-
pan-os-delete-static-routeDeletes a static route.
-
pan-os-delete-tagDeletes a tag from Panorama.
-
pan-os-delete-url-filterDeletes a URL filtering rule.
-
pan-os-device-rebootReboots the firewall device.
-
pan-os-disable-ruleDisables a policy rule.
-
pan-os-download-latest-antivirus-updateDownloads the latest antivirus dynamic update.
-
pan-os-download-latest-content-updateDownloads the latest app/threat dynamic update.
-
pan-os-download-latest-gp-updateDownloads the latest GlobalProtect Clientless VPN dynamic update.
-
pan-os-download-latest-wildfire-updateDownloads the latest WildFire dynamic update.
-
pan-os-download-panos-statusGets the download status of the target PAN-OS software.
-
pan-os-download-panos-versionDownloads the target PAN-OS software version to install on the target device.
-
pan-os-edit-addressEdits an address object.
-
pan-os-edit-address-groupEdits a static or dynamic address group.
-
pan-os-edit-application-groupEdits an application-group.
-
pan-os-edit-custom-url-categoryAdds or removes sites to and from a custom URL category.
-
pan-os-edit-edlModifies an element of an external dynamic list.
-
pan-os-edit-nat-ruleEdits a NAT rule.
-
pan-os-edit-pbf-ruleEdits a PBF rule.
-
pan-os-edit-profile-exceptionEdit an exception to a Vulnerability Protection profile or Anti Spyware profile.
-
pan-os-edit-redistribution-profileEdits a redistribution-profile in a virtual-router.
-
pan-os-edit-ruleEdits a policy rule.
-
pan-os-edit-security-profile-groupEdits the security profile group in Panorama.
-
pan-os-edit-service-groupEdits a service group.
-
pan-os-edit-tagEdits a tag in Panorama.
-
pan-os-edit-url-filterEdits a URL filtering rule.
-
pan-os-enforce-wildfire-best-practiceEnforces Wildfire best practices to upload files to the maximum size, forwards all file types, and updates the schedule.
-
pan-os-export-tech-support-fileExports a tech support file (TSF).
-
pan-os-get-addressReturns address details for the supplied address name.
-
pan-os-get-address-groupGets details for the specified address group.
-
pan-os-get-anti-spyware-best-practiceGet anti-spyware best practices.
-
pan-os-get-antivirus-best-practiceGets anti-virus best practices.
-
pan-os-get-audit-commentGets the audit comment of a rule.
-
pan-os-get-certificate-infoGathers the name, expiration date, and expiration status of certificates configured locally on a Firewall or pushed from Panorama, as seen under Certificate Management.
-
pan-os-get-custom-url-categoryReturns information for a custom URL category.
-
pan-os-get-edlReturns information for an external dynamic list.
-
pan-os-get-file-blocking-best-practiceGets file-blocking best practices.
-
pan-os-get-licensesGets information about available PAN-OS licenses and their statuses.
-
pan-os-get-logsRetrieves the data of a logs query.
-
pan-os-get-master-key-detailsShow the details of the default master key that encrypts all the private keys and passwords in the configuration.
-
pan-os-get-merged-configPull the merged config file.
-
pan-os-get-pcapReturns a PCAP file. The recommended maximum file size is 5 MB. If the limit is exceeded, you may need to connect to the firewall and run the scp export command in order to export the PCAP file. See the Palo Alto Networks documentation.
-
pan-os-get-predefined-threats-listGets the predefined threats list from a Firewall or Panorama and stores it as a JSON file in the context.
-
pan-os-get-rule-hitcountsGets rule hit counts from the firewall. When connected to Panorama this command can be run on any firewall managed by it.
-
pan-os-get-running-configPull the running config file.
-
pan-os-get-security-profilesGets information for the specified security profile.
-
pan-os-get-serviceReturns service details for the supplied service name.
-
pan-os-get-service-groupReturns details for the specified service group.
-
pan-os-get-ssl-decryption-rulesGets SSL decryption rules.
-
pan-os-get-static-routeReturns the specified static route of a virtual router.
-
pan-os-get-traffic-logsDeprecatedDeprecated. Use the pan-os-get-logs command instead.
-
pan-os-get-url-categoryGets a URL category from URL filtering. This command is only available on firewall devices.
-
pan-os-get-url-category-from-cloudReturns a URL category from URL filtering. This command is only available on firewall devices.
-
pan-os-get-url-category-from-hostReturns a URL category from URL filtering. This command is only available on firewall devices.
-
pan-os-get-url-filterReturns information for a URL filtering rule.
-
pan-os-get-url-filtering-best-practiceViews URL filtering best practices.
-
pan-os-get-vulnerability-protection-best-practiceGets vulnerability-protection best practices.
-
pan-os-get-wildfire-best-practiceViews WildFire best practices.
-
pan-os-get-wildfire-configurationRetrieves the Wildfire configuration.
-
pan-os-hygiene-check-log-forwardingChecks that at least one log forwarding profile is configured according to best practices.
-
pan-os-hygiene-check-security-rulesChecks that security rules are configured correctly.
-
pan-os-hygiene-check-security-zonesChecks that configured security zones have correct settings.
-
pan-os-hygiene-check-spyware-profilesChecks the configured anti-spyware profiles to ensure at least one meets best practices.
-
pan-os-hygiene-check-url-filtering-profilesChecks the configured URL filtering profiles to ensure at least one meets best practices of blocking the following URL categories - abused-drugs, adult, command-and-control, compromised-websites, gambling, grayware, hacking, malware, phishing, questionable, ransomware, scanning-activity, weapons.
-
pan-os-hygiene-check-vulnerability-profilesChecks the configured vulnerability profiles to ensure at least one meets best practices.
-
pan-os-hygiene-conforming-spyware-profilesReturns all anti-spyware profiles that conform to best practices.
-
pan-os-hygiene-conforming-url-filtering-profilesReturns a list of existing PANOS URL filtering objects that conform to best practices.
-
pan-os-hygiene-conforming-vulnerability-profilesReturns all vulnerability profiles that conform to best practices.
-
pan-os-hygiene-fix-log-forwardingFixes log forwarding issues identified by pan-os-hygiene-check-log-forwarding.
-
pan-os-hygiene-fix-security-rule-log-settingsFixes security rules that have incorrect log settings by adding a log forwarding profile and setting.
-
pan-os-hygiene-fix-security-rule-profile-settingsFixes security rules that have incorrect log settings by adding a log forwarding profile and setting.
-
pan-os-hygiene-fix-security-zone-log-settingsFixes security zones that are configured without a valid log forwarding profile.
-
pan-os-install-file-content-updateInstalls a specific content update file.
-
pan-os-install-latest-antivirus-updateInstalls the latest Antivirus update.
-
pan-os-install-latest-content-updateInstalls the latest app/threat dynamic update.
-
pan-os-install-latest-gp-updateInstalls the latest GlobalProtect Clientless VPN dynamic update.
-
pan-os-install-latest-wildfire-updateInstalls the latest WildFire dynamic update.
-
pan-os-install-panos-statusGets the installation status of the PAN-OS software.
-
pan-os-install-panos-versionInstalls the target PAN-OS version on the specified target device.
-
pan-os-list-address-groupsReturns a list of address groups.
-
pan-os-list-addressesReturns a list of addresses.
-
pan-os-list-application-groupsReturns a list of application-groups of either a Panorama/firewall instance.
-
pan-os-list-applicationsReturns a list of applications.
-
pan-os-list-configured-user-id-agentsRetrieves a list of user-ID agents configured in the system.
-
pan-os-list-device-groupsReturns all device groups from Panorama (use only in Panorama instances).
-
pan-os-list-edlsReturns a list of external dynamic lists.
-
pan-os-list-nat-rulesReturns a list of NAT rules of either a Panorama/firewall instance.
-
pan-os-list-pbf-rulesReturns a list of pbf-rules of either a Panorama/firewall instance.
-
pan-os-list-pcapsReturns a list of all PCAP files by PCAP type. Not available for threat PCAPs.
-
pan-os-list-profile-exceptionList the exceptions in a Vulnerability Protection profile or Anti Spyware profile.
-
pan-os-list-redistribution-profilesReturns a list of redistribution-profiles of a specific virtual-router of either a Panorama/firewall instance.
-
pan-os-list-rulesReturns a list of predefined Security Rules. (When passing a query, all other arguments are overridden. Make sure the query includes all the filters you want).
-
pan-os-list-security-profile-groupReturns a list of security profile groups from Panorama.
-
pan-os-list-service-groupsReturns a list of service groups.
-
pan-os-list-servicesReturns a list of addresses.
-
pan-os-list-static-routesLists the static routes of a virtual router.
-
pan-os-list-tagReturns a list of tags from Panorama.
-
pan-os-list-templatesReturns a list of available templates. (To be used only in Panorama instances).
-
pan-os-list-virtual-routersReturns a list of virtual routers of either a Panorama/firewall instance.
-
pan-os-move-ruleChanges the location of a policy rule.
-
pan-os-platform-download-softwareDownloads the provided software version onto the device.
-
pan-os-platform-get-arp-tablesGets all ARP tables from all firewalls in the topology.
-
pan-os-platform-get-available-softwareChecks the devices for software that is available to be installed.
-
pan-os-platform-get-bgp-peersRetrieves all BGP peer information from the PAN-OS firewalls in the topology.
-
pan-os-platform-get-device-groupsGets operational information for all device groups in the Panorama topology, including group names, hierarchy, and associated firewalls. If no filter is provided, the command returns all device groups within the Panorama instance.
-
pan-os-platform-get-device-stateGet the device state from the provided device. Note; This will attempt to connect directly to the provided target to get the device state. If the IP address as reported in "show system info" is unreachable, this command will fail.
-
pan-os-platform-get-global-countersGets global counter information from all the PAN-OS firewalls in the topology.
-
pan-os-platform-get-ha-stateGets the HA state and associated details from the given device and any other details.
-
pan-os-platform-get-jobsGets all the jobs from the devices in the environment, or a single job when the ID is specified. Supports polling when a single job ID is provided.
-
pan-os-platform-get-route-summaryPulls all route summary information from the topology.
-
pan-os-platform-get-routesPulls all route summary information from the topology.
-
pan-os-platform-get-system-infoGets information from all PAN-OS systems in the topology.
-
pan-os-platform-get-system-statusChecks the status of the given device, checking whether it's up or down and if the operational mode is normal. Supports polling to wait until the device becomes available.
-
pan-os-platform-get-template-stacksGets the operational information of the template stacks in the topology.
-
pan-os-platform-install-softwareInstalls the given software version onto the device. Downloads the software first with panorama-download-panos-version.
-
pan-os-platform-rebootReboots the given device by host ID. Warning: This command has no confirmation and the device will immediately reboot. This command can be disruptive.
-
pan-os-platform-update-ha-stateChecks the status of the given device, checking whether it's up or down and if the operational mode is normal.
-
pan-os-push-statusReturns the push status for a configuration.
-
pan-os-push-to-device-groupPushes rules from PAN-OS to the configured device group. In order to push the configuration to Prisma Access managed tenants (single or multi tenancy), use the device group argument with the device group which is associated with the tenant ID. Validates if a push has been successful if polling="true".
-
pan-os-push-to-templatePushes the given PAN-OS template to the given devices or all devices that belong to the template.
-
pan-os-push-to-template-stackPushes the given PAN-OS template-stack to the given devices or all devices that belong to the template stack.
-
pan-os-query-logsThe query logs in Panorama.
-
pan-os-query-traffic-logsDeprecatedDeprecated. Use the pan-os-query-logs command instead.
-
pan-os-refresh-edlRefreshes the specified external dynamic list.
-
pan-os-register-ip-tagRegisters IP addresses to a tag.
-
pan-os-register-user-tagRegisters users to a tag. This command is only available for PAN-OS version 9.x and above.
-
pan-os-remove-security-profileRemoves a security profile to specific rules or rules with a specific tag.
-
pan-os-security-policy-matchChecks whether a session matches a specified security policy. This command is only available on firewall instances.
-
pan-os-show-device-versionShow firewall device software version.
-
pan-os-show-location-ipGets location information for an IP address.
-
pan-os-show-user-id-interfaces-configShows the user ID interface configuration.
-
pan-os-show-zones-configShows the zones configuration.
-
pan-os-unregister-ip-tagUnregisters IP addresses from a tag.
-
pan-os-unregister-user-tagUnregisters users from a tag. This command is only available for PAN-OS version 9.x and higher.
-
pan-os-update-master-keyUpdate the default master key that encrypts all the private keys and passwords in the configuration. This command is harmful because it invalidates the current API key and requires re-configuration of the integration instance.
-
pan-os-upload-content-update-fileUploads a content file to Panorama.
-
pan-os-url-filtering-block-default-categoriesSets default categories to block in the URL filtering profile.
-
panoramaDeprecatedRuns any command supported in the API.
-
panorama-add-static-routeDeprecatedAdds a static route.
-
panorama-apply-security-profileDeprecatedApplies a security profile to specific rules or rules with a specific tag.
-
panorama-block-vulnerabilityDeprecatedSets a vulnerability signature to block mode.
-
panorama-check-latest-panos-softwareDeprecatedChecks the PAN-OS software version from the repository.
-
panorama-check-logs-statusDeprecatedChecks the status of a log query.
-
panorama-check-traffic-logs-statusDeprecatedDeprecated. Use the pan-os-check-logs-status command instead.
-
panorama-commitDeprecatedCommits a configuration to the Palo Alto firewall or Panorama, but does not validate if the commit was successful. Committing to Panorama does not push the configuration to the firewalls. To push the configuration, run the panorama-push-to-device-group command.
-
panorama-commit-statusDeprecatedReturns commit status for a configuration.
-
panorama-content-update-download-statusDeprecatedChecks the download status of a content update.
-
panorama-content-update-install-statusDeprecatedGets the installation status of the content update.
-
panorama-create-addressDeprecatedCreates an address object.
-
panorama-create-address-groupDeprecatedCreates a static or dynamic address group.
-
panorama-create-anti-spyware-best-practice-profileDeprecatedCreates an anti-spyware best practice profile.
-
panorama-create-antivirus-best-practice-profileDeprecatedCreates an antivirus best practice profile.
-
panorama-create-custom-url-categoryDeprecatedCreates a custom URL category.
-
panorama-create-edlDeprecatedCreates an external dynamic list.
-
panorama-create-file-blocking-best-practice-profileDeprecatedCreates a file blocking best practice profile.
-
panorama-create-ruleDeprecatedCreates a policy rule.
-
panorama-create-serviceDeprecatedCreates a service. Note: overrides the service if it already exists.
-
panorama-create-service-groupDeprecatedCreates a service group.
-
panorama-create-url-filterDeprecatedCreates a URL filtering rule.
-
panorama-create-url-filtering-best-practice-profileDeprecatedCreates a URL filtering best practice profile.
-
panorama-create-vulnerability-best-practice-profileDeprecatedCreates a vulnerability protection best practice profile.
-
panorama-create-wildfire-best-practice-profileDeprecatedCreates a WildFire analysis best practice profile.
-
panorama-custom-block-ruleDeprecatedCreates a custom block policy rule.
-
panorama-delete-addressDeprecatedDeletes an address object.
-
panorama-delete-address-groupDeprecatedDeletes an address group.
-
panorama-delete-custom-url-categoryDeprecatedDeletes a custom URL category.
-
panorama-delete-edlDeprecatedDeletes an external dynamic list.
-
panorama-delete-ruleDeprecatedDeletes a policy rule.
-
panorama-delete-serviceDeprecatedDeletes a service.
-
panorama-delete-service-groupDeprecatedDeletes a service group.
-
panorama-delete-static-routeDeprecatedDeletes a static route.
-
panorama-delete-url-filterDeprecatedDeletes a URL filtering rule.
-
panorama-device-rebootDeprecatedReboots the firewall device.
-
panorama-download-latest-content-updateDeprecatedDownloads the latest content update.
-
panorama-download-panos-statusDeprecatedGets the download status of the target PAN-OS software.
-
panorama-download-panos-versionDeprecatedDownloads the target PAN-OS software version to install on the target device.
-
panorama-edit-address-groupDeprecatedEdits a static or dynamic address group.
-
panorama-edit-custom-url-categoryDeprecatedAdds or removes sites to and from a custom URL category.
-
panorama-edit-edlDeprecatedModifies an element of an external dynamic list.
-
panorama-edit-ruleDeprecatedEdits a policy rule.
-
panorama-edit-service-groupEdits a service group.
-
panorama-edit-url-filterDeprecatedEdits a URL filtering rule.
-
panorama-enforce-wildfire-best-practiceDeprecatedEnforces wildfire best practices to upload files to the maximum size, forwards all file types, and updates the schedule.
-
panorama-get-addressDeprecatedReturns address details for the supplied address name.
-
panorama-get-address-groupDeprecatedGets details for the specified address group.
-
panorama-get-anti-spyware-best-practiceDeprecatedGets anti-spyware best practices.
-
panorama-get-antivirus-best-practiceDeprecatedGet anti-virus best practices.
-
panorama-get-custom-url-categoryDeprecatedReturns information for a custom URL category.
-
panorama-get-edlDeprecatedReturns information for an external dynamic list.
-
panorama-get-file-blocking-best-practiceDeprecatedGets file-blocking best practices.
-
panorama-get-licensesDeprecatedGets information about available PAN-OS licenses and their statuses.
-
panorama-get-logsRetrieves the data of a logs query.
-
panorama-get-pcapDeprecatedReturns information for a Panorama PCAP file. The recommended maximum file size is 5 MB. If the limit is exceeded, you may need to SSH the firewall and run the scp export command to export the PCAP file. See the Palo Alto Networks documentation.
-
panorama-get-predefined-threats-listDeprecatedGets the predefined threats list from a firewall or Panorama and stores it as a JSON file in the context.
-
panorama-get-security-profilesDeprecatedGets information for the specified security profile.
-
panorama-get-serviceDeprecatedReturns service details for the supplied service name.
-
panorama-get-service-groupDeprecatedReturns details for the specified service group.
-
panorama-get-ssl-decryption-rulesDeprecatedGet SSL decryption rules.
-
panorama-get-static-routeDeprecatedReturns the specified static route of a virtual router.
-
panorama-get-traffic-logsDeprecatedDeprecated. Use the pan-os-get-logs command instead.
-
panorama-get-url-categoryGets a URL category from URL filtering. This command is only available on firewall devices.
-
panorama-get-url-category-from-cloudDeprecatedReturns a URL category from URL filtering. This command is only available on firewall devices.
-
panorama-get-url-category-from-hostDeprecatedReturns a URL category from URL filtering. This command is only available on firewall devices.
-
panorama-get-url-filterDeprecatedReturns information for a URL filtering rule.
-
panorama-get-url-filtering-best-practiceDeprecatedViews URL filtering best practices.
-
panorama-get-vulnerability-protection-best-practiceDeprecatedGets vulnerability-protection best practices.
-
panorama-get-wildfire-best-practiceDeprecatedViews WildFire best practices.
-
panorama-get-wildfire-configurationDeprecatedRetrieves the Wildfire configuration.
-
panorama-install-file-content-updateDeprecatedInstalls a specific content update file.
-
panorama-install-latest-content-updateDeprecatedInstalls the latest content update.
-
panorama-install-panos-statusDeprecatedGets the installation status of the PAN-OS software.
-
panorama-install-panos-versionDeprecatedInstalls the target PAN-OS version on the specified target device.
-
panorama-list-address-groupsDeprecatedReturns a list of address groups.
-
panorama-list-addressesDeprecatedReturns a list of addresses.
-
panorama-list-applicationsDeprecatedReturns a list of applications.
-
panorama-list-configured-user-id-agentsDeprecatedRetrieves list of user ID agents configured in the system.
-
panorama-list-edlsDeprecatedReturns a list of external dynamic lists.
-
panorama-list-pcapsDeprecatedReturns a list of all PCAP files by PCAP type. Not available for threat PCAPs.
-
panorama-list-rulesDeprecatedReturns a list of predefined security rules.
-
panorama-list-service-groupsDeprecatedReturns a list of service groups.
-
panorama-list-servicesDeprecatedReturns a list of addresses.
-
panorama-list-static-routesDeprecatedLists the static routes of a virtual router.
-
panorama-move-ruleDeprecatedChanges the location of a policy rule.
-
panorama-push-statusDeprecatedReturns the push status for a configuration.
-
panorama-push-to-device-groupDeprecatedPushes rules from PAN-OS to the configured device group. In order to push the configuration to Prisma Access managed tenants (single or multi- tenancy), use the device group argument with the device group associated with the tenant ID.
-
panorama-query-logsDeprecatedQueries logs in Panorama.
-
panorama-query-traffic-logsDeprecatedDeprecated. Use the pan-os-query-logs command instead.
-
panorama-refresh-edlDeprecatedRefreshes the specified external dynamic list.
-
panorama-register-ip-tagDeprecatedRegisters IP addresses to a tag.
-
panorama-register-user-tagDeprecatedRegisters users to a tag. This command is only available for PAN-OS version 9.x and higher.
-
panorama-security-policy-matchDeprecatedChecks whether a session matches a specified security policy. This command is only available on firewall instances.
-
panorama-show-device-versionDeprecatedShows the firewall device software version.
-
panorama-show-location-ipDeprecatedGets location information for an IP address.
-
panorama-show-user-id-interfaces-configDeprecatedShows the user ID interface configuration.
-
panorama-show-zones-configDeprecatedShows the zones configuration.
-
panorama-unregister-ip-tagDeprecatedUnregisters IP addresses from a tag.
-
panorama-unregister-user-tagDeprecatedUnregisters users from a tag. This command is only available for PAN-OS version 9.x and higher.
-
panorama-upload-content-update-fileDeprecatedUploads a content file to Panorama.
-
panorama-url-filtering-block-default-categoriesDeprecatedSets default categories to block in the URL filtering profile.
-
urlGets a URL category from URL filtering.
category: Network Security provider: Palo Alto Networks sectionorder: - Connect - Collect commonfields: id: Panorama version: -1 configuration: - display: Server URL (e.g., https://192.168.0.1) name: server required: true type: 0 section: Connect - displaypassword: API Key name: credentials type: 9 hiddenusername: true section: Connect required: false - defaultvalue: '443' display: Port (e.g 443) name: port type: 0 section: Connect advanced: true required: false - additionalinfo: Located in the Panorama UI. Go to Panorama, Device Groups and select the desired Device Group display: Device group - Panorama instances only (write shared for Shared location) name: device_group type: 0 section: Connect advanced: true required: false - additionalinfo: Located in the Firewall URL; by default of PAN-OS it is vsys1 display: Vsys - Firewall instances only name: vsys type: 0 section: Connect required: false - display: Template - Panorama instances only name: template type: 0 section: Connect advanced: true required: false - additionalinfo: If selected, when running the !url command, the command will execute using pan-os with PAN_DB (with applied filters). The URL filtering categories determine DBot score (malicious, suspicious, benign). display: Use URL Filtering for auto enrichment name: use_url_filtering type: 8 section: Collect advanced: true required: false - display: URL Filtering Additional suspicious categories. CSV list of categories that will be considered suspicious. name: additional_suspicious type: 12 section: Collect advanced: true required: false - display: URL Filtering Additional malicious categories. CSV list of categories that will be considered malicious. name: additional_malicious type: 12 section: Collect advanced: true required: false - display: Trust any certificate (not secure) name: insecure type: 8 section: Connect advanced: true required: false - display: Use system proxy settings name: proxy type: 8 section: Connect advanced: true required: false - display: API Key (Deprecated) name: key type: 4 hidden: true additionalinfo: Use the "API Key (Recommended)" parameter instead. section: Connect advanced: true required: false - additionalinfo: Reliability of the source providing the intelligence data. defaultvalue: B - Usually reliable display: Source Reliability name: integrationReliability options: - A+ - 3rd party enrichment - A - Completely reliable - B - Usually reliable - C - Fairly reliable - D - Not usually reliable - E - Unreliable - F - Reliability cannot be judged type: 15 section: Collect advanced: true required: false - defaultvalue: indicatorType name: feedExpirationPolicy display: '' options: - never - interval - indicatorType - suddenDeath type: 17 section: Collect advanced: true required: false - defaultvalue: '20160' name: feedExpirationInterval display: '' type: 1 section: Collect advanced: true required: false - display: Fetch incidents name: isFetch type: 8 section: Collect required: false supportedModules: - agentix - xsiam - defaultvalue: 24 hours display: First fetch timestamp (<number> <time unit>, e.g., 12 hours, 7 days) name: first_fetch type: 0 section: Collect required: false supportedModules: - agentix - xsiam - defaultvalue: "100" display: Max incidents per fetch (for each selected Log Type Query) additionalinfo: The maximum number of incidents to fetch per Log Type Query. To ensure optimal efficiency, it is strongly advised to keep the limit as low as possible. The maximum is 5,000. name: max_fetch type: 0 section: Collect required: false supportedModules: - agentix - xsiam - display: Log Type name: log_types type: 16 additionalinfo: "Select which log types to fetch.\nSelecting 'All' will use all the log type queries in the fetch.\nTo choose a specific set of queries, select their log types from the dropdown (make sure the 'All' option is unselected)." options: - Traffic - Threat - Url - Data - Correlation - System - Wildfire - Decryption - All section: Connect advanced: true required: false - display: Log type max number of job pulling attempts name: fetch_job_polling_max_num_attempts additionalinfo: "The maximum number of attempts to try and pull results for each log type from a job that was created by its query. Each attempt takes around 1 second. Increasing this value is useful in case there are many logs to pull from a given log type.\nNote: When increasing this number, in case fetching more than 4 logs types together, it is recommended to split different log types for different integration instances" type: 0 defaultvalue: '10' advanced: true section: Collect required: false - display: Traffic Log Type Query name: traffic_query additionalinfo: "Traffic Log Type query example: (addr.src in {source}) and (addr.dst in {destination}) and (action eq {action}).\nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: Threat Log Type Query name: threat_query additionalinfo: "Threat Log Type query example: (severity geq high).\nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: URL Log Type Query name: url_query additionalinfo: "URL Log Type query example: ((action eq block-override) or (action eq block-url)) and (severity geq high).\nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: Data Log Type Query name: data_query additionalinfo: "Data Log Type query example: ((action eq alert) or (action eq wildfire-upload-success) or (action eq forward)) and (severity geq high).\nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: Correlation Log Type Query name: correlation_query additionalinfo: "Correlation Log Type query example: (hostid eq {host_id}) and (match_time in {last_x_time}) and (objectname eq {object_name}) and (severity geq '{severity}'') and (src in {source_address}).\nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: System Log Type Query name: system_query additionalinfo: "System Log Type query example: (subtype eq {sub_type}) and (severity geq {severity}). \nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: Wildfire Submission Log Type Query name: wildfire_query additionalinfo: "Wildfire Submission Log Type query example: ((action eq wildfire-upload-fail) or (action eq wildfire-upload-skip) or (action eq sinkhole)). \nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: Decryption Log Type Query name: decryption_query additionalinfo: "Decryption Log Type query example: (app eq {application}) and (policy_name geq {policy_name}) and ((src in {source}) or (dst in {destination})). \nIn case of multiple devices, for the sake of speed it is recommended to narrow the query to a specific device. \nFor example:(device_name eq dummy_device)" type: 12 section: Collect advanced: true required: false - display: Incident type name: incidentType type: 13 section: Connect required: false supportedModules: - agentix - xsiam - defaultvalue: '1' display: Incidents Fetch Interval name: incidentFetchInterval required: false section: Collect type: 19 supportedModules: - agentix - xsiam description: Manage Palo Alto Networks Firewall and Panorama. Use this pack to manage Prisma Access through Panorama. For more information, see the Panorama documentation. display: Palo Alto Networks PAN-OS name: Panorama script: commands: - arguments: - auto: PREDEFINED description: Action to be taken, such as show, get, set, edit, delete, rename, clone, move, override, multi-move, multi-clone, or complete. name: action predefined: - set - edit - delete - rename - clone - move - override - muti-move - multi-clone - complete - show - get - description: The category parameter. For example, when exporting a configuration file, use "category=configuration". name: category - description: The XML structure that defines the command. Used for operation commands. name: cmd - description: The command to run. For example, command =<show><arp><entry name='all'/></arp></show>. name: command - description: The specified destination. name: dst - description: The new value defined for an object. name: element - description: The end time (used when cloning an object). name: to - description: The start time (used when cloning an object). name: from - description: The key value to set. name: key - description: The log type to retrieve. For example, log-type=threat for threat logs. name: log-type - description: The type of move operation (for example, where=after, where=before, where=top, where=bottom). name: where - description: The time period. For example, period=last-24-hrs. name: period - description: The xpath location. For example, xpath=/config/predefined/application/entry[@name='hotmail']. name: xpath - description: The PCAP ID included in the threat log. name: pcap-id - description: The device serial number. name: serialno - description: The report type, for example dynamic, predefined, or custom. name: reporttype - description: The report name. name: reportname - defaultValue: keygen,config,commit,op,report,log,import,export,user-id,version description: The request type, for example export, import, log, config. name: type - description: The time the PCAP was received on the firewall. Used for threat PCAPs. name: search-time - description: The target number of the firewall. Used only on a Panorama instance. name: target - description: The job ID. name: job-id - description: The query string. name: query - description: The name of the virtual system to be configured. If no vsys is mentioned, this command will not use the vsys parameter. name: vsys description: Runs any command supported in the API. deprecated: true name: panorama - arguments: - description: The firewall managed by Panorama from which to retrieve the predefined threats. name: target description: Gets the predefined threats list from a firewall or Panorama and stores it as a JSON file in the context. deprecated: true name: panorama-get-predefined-threats-list outputs: - contextPath: File.Size description: The file size. type: number - contextPath: File.Name description: The file name. type: string - contextPath: File.Type description: The file type. type: string - contextPath: File.Info description: The file information. type: string - contextPath: File.Extension description: The file extension. type: string - contextPath: File.EntryID description: The file entry ID. type: string - contextPath: File.MD5 description: The MD5 hash of the file. type: string - contextPath: File.SHA1 description: The SHA1 hash of the file. type: string - contextPath: File.SHA256 description: The SHA256 hash of the file. type: string - contextPath: File.SHA512 description: The SHA512 hash of the file. type: string - contextPath: File.SSDeep description: The SSDeep hash of the file. type: string - arguments: - description: The commit description. name: description - description: The administrator name. To commit admin-level changes on a firewall, include the administrator name in the request. name: admin_name - auto: PREDEFINED description: Forces a commit. name: force_commit predefined: - 'true' - 'false' - auto: PREDEFINED description: Performs a partial commit while excluding device and network configuration. name: exclude_device_network_configuration predefined: - 'true' - 'false' - auto: PREDEFINED description: Performs a partial commit while excluding shared objects. name: exclude_shared_objects predefined: - 'true' - 'false' description: Commits a configuration to the Palo Alto firewall or Panorama, but does not validate if the commit was successful. Committing to Panorama does not push the configuration to the firewalls. To push the configuration, run the panorama-push-to-device-group command. deprecated: true name: panorama-commit outputs: - contextPath: Panorama.Commit.JobID description: The job ID to commit. type: number - contextPath: Panorama.Commit.Status description: The commit status. type: string - arguments: - default: true description: The device group to which to push (Panorama instances). name: device-group - auto: PREDEFINED defaultValue: 'false' description: Pre policy validation. name: validate-only predefined: - 'true' - 'false' - auto: PREDEFINED defaultValue: 'true' description: Whether to include template changes. name: include-template predefined: - 'true' - 'false' - description: The push description. name: description - description: The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. name: serial_number description: Pushes rules from PAN-OS to the configured device group. In order to push the configuration to Prisma Access managed tenants (single or multi- tenancy), use the device group argument with the device group associated with the tenant ID. deprecated: true name: panorama-push-to-device-group outputs: - contextPath: Panorama.Push.DeviceGroup description: The device group in which the policies were pushed. type: String - contextPath: Panorama.Push.JobID description: The job ID of the policies that were pushed. type: Number - contextPath: Panorama.Push.Status description: The push status. type: String - contextPath: Panorama.Push.Warnings description: The push warnings. type: String - contextPath: Panorama.Push.Errors description: The push errors. type: String - arguments: - default: true description: The template to push. name: template - auto: PREDEFINED defaultValue: 'false' description: Whether to validate the policy. name: validate-only predefined: - 'true' - 'false' - description: The push description. name: description - description: The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. name: serial_number description: Pushes the given PAN-OS template to the given devices or all devices that belong to the template. name: pan-os-push-to-template outputs: - contextPath: Panorama.Push.Template description: The device group in which the policies were pushed. type: String - contextPath: Panorama.Push.JobID description: The job ID of the policies that were pushed. type: Number - contextPath: Panorama.Push.Status description: The push status. type: String - contextPath: Panorama.Push.Warnings description: The push warnings. type: String - contextPath: Panorama.Push.Errors description: The push errors. type: String - arguments: - description: The template-stack to push. name: template-stack required: true - auto: PREDEFINED defaultValue: 'false' description: Whether to validate the policy. name: validate-only predefined: - 'true' - 'false' - description: The push description. name: description - description: The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. name: serial_number description: Pushes the given PAN-OS template-stack to the given devices or all devices that belong to the template stack. name: pan-os-push-to-template-stack outputs: - contextPath: Panorama.Push.TemplateStack description: The device group in which the policies were pushed. type: String - contextPath: Panorama.Push.JobID description: The job ID of the policies that were pushed. type: Number - contextPath: Panorama.Push.Status description: The push status. type: String - contextPath: Panorama.Push.Warnings description: The push warnings. type: String - contextPath: Panorama.Push.Errors description: The push errors. type: String - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag for which to filter the list of addresses. name: tag description: Returns a list of addresses. deprecated: true name: panorama-list-addresses outputs: - contextPath: Panorama.Addresses.Name description: The address name. type: string - contextPath: Panorama.Addresses.Description description: The address description. type: string - contextPath: Panorama.Addresses.FQDN description: The address FQDN. type: string - contextPath: Panorama.Addresses.IP_Netmask description: The address IP Netmask. type: string - contextPath: Panorama.Addresses.IP_Range description: The address IP range. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The address device group. type: String - contextPath: Panorama.Addresses.Tags description: The address tags. type: String - arguments: - description: The address name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Returns address details for the supplied address name. deprecated: true name: panorama-get-address outputs: - contextPath: Panorama.Addresses.Name description: The address name. type: string - contextPath: Panorama.Addresses.Description description: The address description. type: string - contextPath: Panorama.Addresses.FQDN description: The address FQDN. type: string - contextPath: Panorama.Addresses.IP_Netmask description: The address IP netmask. type: string - contextPath: Panorama.Addresses.IP_Range description: The address IP range. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The device group for the address (Panorama instances). type: String - contextPath: Panorama.Addresses.Tags description: The address tags. type: String - arguments: - description: The new address name. name: name required: true - description: The new address description. name: description - description: The FQDN of the new address. name: fqdn - description: The IP Netmask of the new address. For example, 10.10.10.10/24. name: ip_netmask - description: The IP range of the new address IP. For example, 10.10.10.0-10.10.10.255. name: ip_range - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag for the new address. isArray: true name: tag - auto: PREDEFINED description: Whether to create the tag if it does not exist. defaultValue: 'false' name: create_tag predefined: - 'true' - 'false' description: Creates an address object. deprecated: true name: panorama-create-address outputs: - contextPath: Panorama.Addresses.Name description: The address name. type: string - contextPath: Panorama.Addresses.Description description: The address description. type: string - contextPath: Panorama.Addresses.FQDN description: The address FQDN. type: string - contextPath: Panorama.Addresses.IP_Netmask description: The address IP netmask. type: string - contextPath: Panorama.Addresses.IP_Range description: The address IP range. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The device group for the address (Panorama instances). type: String - contextPath: Panorama.Addresses.Tags description: The address tags. type: String - arguments: - description: The name of the address to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes an address object. deprecated: true name: panorama-delete-address outputs: - contextPath: Panorama.Addresses.Name description: The address name that was deleted. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The device group for the address (Panorama instances). type: String - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag for which to filter the address groups. name: tag description: Returns a list of address groups. deprecated: true name: panorama-list-address-groups outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Match description: The dynamic address group match. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group addresses. type: String - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - description: The address group name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Gets details for the specified address group. deprecated: true name: panorama-get-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Match description: The dynamic address group match. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group addresses. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - description: The address group name. name: name required: true - auto: PREDEFINED description: The address group type. name: type predefined: - dynamic - static required: true - description: The dynamic address group match. For example "1.1.1.1 or 2.2.2.2". name: match - description: The static address group list of addresses. isArray: true name: addresses - description: The address group description. name: description - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for the address group. isArray: true name: tags description: Creates a static or dynamic address group. deprecated: true name: panorama-create-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Match description: The dynamic address group match. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group list of addresses. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - auto: PREDEFINED description: 'The session rejection type. Possible values are: "drop", "alert", "block-ip", "reset-both", "reset-client", and "reset-server". Default is "drop".' name: drop_mode predefined: - drop - alert - block-ip - reset-both - reset-client - reset-server - description: The name of the vulnerability profile. name: vulnerability_profile required: true - description: The numerical threat ID. name: threat_id required: true description: Sets a vulnerability signature to block mode. deprecated: true name: panorama-block-vulnerability outputs: - contextPath: Panorama.Vulnerability.ID description: The ID of the vulnerability that was blocked/overridden. type: string - contextPath: Panorama.Vulnerability.NewAction description: The new action for the vulnerability. type: string - arguments: - description: The name of the address group to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes an address group. deprecated: true name: panorama-delete-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The name of the address group that was deleted. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - arguments: - description: The name of the address group to edit. name: name required: true - auto: PREDEFINED description: The address group type. name: type predefined: - static - dynamic required: true - description: The address group new match. For example, '1.1.1.1 and 2.2.2.2'. name: match - description: The element to add to the list of the static address group. Only existing address objects can be added. name: element_to_add - description: The element to remove from the list of the static address group. Only existing address objects can be removed. name: element_to_remove - description: The address group new description. name: description - description: The tag of the address group to edit. isArray: true name: tags description: Edits a static or dynamic address group. deprecated: true name: panorama-edit-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Filter description: The dynamic address group match. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group addresses. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag for which to filter the services. name: tag description: Returns a list of addresses. deprecated: true name: panorama-list-services outputs: - contextPath: Panorama.Services.Name description: The service name. type: string - contextPath: Panorama.Services.Protocol description: The service protocol. type: string - contextPath: Panorama.Services.Description description: The service description. type: string - contextPath: Panorama.Services.DestinationPort description: The service destination port. type: string - contextPath: Panorama.Services.SourcePort description: The service source port. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group in which the service was configured (Panorama instances). type: string - contextPath: Panorama.Services.Tags description: The service tags. type: String - arguments: - description: The service name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Returns service details for the supplied service name. deprecated: true name: panorama-get-service outputs: - contextPath: Panorama.Services.Name description: The service name. type: string - contextPath: Panorama.Services.Protocol description: The service protocol. type: string - contextPath: Panorama.Services.Description description: The service description. type: string - contextPath: Panorama.Services.DestinationPort description: The service destination port. type: string - contextPath: Panorama.Services.SourcePort description: The service source port. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group for the service (Panorama instances). type: string - contextPath: Panorama.Service.Tags description: The service tags. type: String - arguments: - description: The name for the new service. name: name required: true - auto: PREDEFINED description: The protocol for the new service. name: protocol predefined: - tcp - udp - sctp required: true - description: The destination port for the new service. name: destination_port required: true - description: The source port for the new service. name: source_port - description: The description for the new service. name: description - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for the new service. isArray: true name: tags description: > Creates a service. Note: overrides the service if it already exists. deprecated: true name: panorama-create-service outputs: - contextPath: Panorama.Services.Name description: The service name. type: string - contextPath: Panorama.Services.Protocol description: The service protocol. type: string - contextPath: Panorama.Services.Description description: The service description. type: string - contextPath: Panorama.Services.DestinationPort description: The service destination port. type: string - contextPath: Panorama.Services.SourcePort description: The service source port. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group for the service (Panorama instances). type: string - contextPath: Panorama.Services.Tags description: The service tags. type: String - arguments: - description: The name of the service to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes a service. deprecated: true name: panorama-delete-service outputs: - contextPath: Panorama.Services.Name description: The name of the deleted service. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group for the service (Panorama instances). type: string - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for which to filter the service groups. isArray: true name: tag description: Returns a list of service groups. deprecated: true name: panorama-list-service-groups outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The service group name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Returns details for the specified service group. deprecated: true name: panorama-get-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The service group name. name: name required: true - description: The service group related services. isArray: true name: services required: true - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for which to filter service groups. isArray: true name: tags description: Creates a service group. deprecated: true name: panorama-create-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The name of the service group to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes a service group. deprecated: true name: panorama-delete-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The name of the deleted service group. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - arguments: - description: The name of the service group to edit. name: name required: true - description: The services to add to the service group. Only existing service objects can be added. isArray: true name: services_to_add - description: The services to remove from the service group. Only existing service objects can be removed. name: services_to_remove - description: The tag of the service group to edit. isArray: true name: tags description: Edits a service group. name: panorama-edit-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: Custom URL category name. name: name required: true - description: The device group for which to return addresses for the custom URL category (Panorama instances). name: device-group description: Returns information for a custom URL category. deprecated: true name: panorama-get-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The category name of the custom URL. type: String - contextPath: Panorama.CustomURLCategory.Description description: The category description of the custom URL. type: String - contextPath: Panorama.CustomURLCategory.Sites description: The list of sites of the custom URL category. type: String - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the custom URL category (Panorama instances). type: String - contextPath: Panorama.CustomURLCategory.Categories description: The list of categories of the custom URL category. type: String - contextPath: Panorama.CustomURLCategory.Type description: The category type of the custom URL. type: String - arguments: - description: The name of the custom URL category to create. name: name required: true - description: The description of the custom URL category to create. name: description - description: The list of sites for the custom URL category. isArray: true name: sites - description: The device group for which to return addresses for the custom URL category (Panorama instances). name: device-group - auto: PREDEFINED description: The category type of the URL. Relevant from PAN-OS v9.x. name: type predefined: - URL List - Category Match - description: The list of categories. Relevant from PAN-OS v9.x. isArray: true name: categories description: Creates a custom URL category. deprecated: true name: panorama-create-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The custom URL category name. type: String - contextPath: Panorama.CustomURLCategory.Description description: The custom URL category description. type: String - contextPath: Panorama.CustomURLCategory.Sites description: The custom URL category list of sites. type: String - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the custom URL category (Panorama instances). type: String - contextPath: Panorama.CustomURLCategory.Sites description: The custom URL category list of categories. type: String - contextPath: Panorama.CustomURLCategory.Type description: The custom URL category type. type: String - arguments: - description: The name of the custom URL category to delete. name: name - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes a custom URL category. deprecated: true name: panorama-delete-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The name of the custom URL category to delete. type: string - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the custom URL category (Panorama instances). type: string - arguments: - description: The name of the custom URL category to add or remove sites. name: name required: true - description: A comma-separated list of sites to add to the custom URL category. isArray: true name: sites - auto: PREDEFINED description: Adds or removes sites or categories. isArray: true name: action predefined: - add - remove required: true - description: A comma-separated list of categories to add to the custom URL category. isArray: true name: categories description: Adds or removes sites to and from a custom URL category. deprecated: true name: panorama-edit-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The custom URL category name. type: string - contextPath: Panorama.CustomURLCategory.Description description: The custom URL category description. type: string - contextPath: Panorama.CustomURLCategory.Sites description: The custom URL category list of sites. type: string - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the custom URL category (Panorama instances). type: string - arguments: - default: true description: The URL to check. isArray: true name: url description: Gets a URL category from URL filtering. This command is only available on firewall devices. name: panorama-get-url-category outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - contextPath: DBotScore.Vendor description: The vendor used to calculate the score. type: String - contextPath: DBotScore.Score description: The actual score. type: Number - contextPath: DBotScore.Type description: The indicator type. type: String - contextPath: DBotScore.Indicator description: The indicator that was tested. type: String - contextPath: URL.Data description: The URL address. type: String - contextPath: URL.Category description: The URL category. type: String - arguments: - description: The URL to check. isArray: true name: url required: true description: Returns a URL category from URL filtering. This command is only available on firewall devices. deprecated: true name: panorama-get-url-category-from-cloud outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - arguments: - description: The URL to check. isArray: true name: url required: true description: Returns a URL category from URL filtering. This command is only available on firewall devices. deprecated: true name: panorama-get-url-category-from-host outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - arguments: - description: URL filter name. name: name required: true - description: The device group for which to return addresses for the URL filter (Panorama instances). name: device-group description: Returns information for a URL filtering rule. deprecated: true name: panorama-get-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL Filter name. type: string - contextPath: Panorama.URLFilter.Category.Name description: The URL filter category name. type: string - contextPath: Panorama.URLFilter.Category.Action description: The action for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The URL filter override block list. type: string - contextPath: Panorama.URLFilter.OverrideAllowList description: The URL filter override allow list. type: string - contextPath: Panorama.URLFilter.Description description: The URL filter description. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The name of the URL filter to create. name: name required: true - description: The URL categories. isArray: true name: url_category required: true - auto: PREDEFINED description: The action for the URL categories. name: action predefined: - allow - block - alert - continue - override required: true - description: The CSV list of URLs to exclude from the allow list. isArray: true name: override_allow_list - description: The CSV list of URLs to exclude from the blocked list. isArray: true name: override_block_list - description: The URL filter description. name: description - description: The device group for which to return addresses for the URL filter (Panorama instances). name: device-group description: Creates a URL filtering rule. deprecated: true name: panorama-create-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter name. type: string - contextPath: Panorama.URLFilter.Category.Name description: The URL filter category name. type: string - contextPath: Panorama.URLFilter.Category.Action description: The action for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The URL filter override allow list. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The URL filter override blocked list. type: string - contextPath: Panorama.URLFilter.Description description: The URL filter description. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The name of the URL filter to edit. name: name required: true - auto: PREDEFINED description: The element to change. name: element_to_change predefined: - override_allow_list - override_block_list - allow_categories - block_categories - description required: true - description: The element value. Limited to one value. name: element_value required: true - auto: PREDEFINED defaultValue: add description: Adds or removes an element from the Allow List or Block List fields. name: add_remove_element predefined: - add - remove description: Edits a URL filtering rule. deprecated: true name: panorama-edit-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter name. type: string - contextPath: Panorama.URLFilter.Description description: The URL filter description. type: string - contextPath: Panorama.URLFilter.Category.Name description: The URL filter category. type: string - contextPath: Panorama.URLFilter.Action description: The action for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideAllowList description: The list of allow overrides for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The list of block overrides for the URL category. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The name of the URL filter rule to delete. name: name required: true - description: The device group for which to return addresses for the URL filter (Panorama instances). name: device-group description: Deletes a URL filtering rule. name: panorama-delete-url-filter deprecated: true outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter rule name. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Returns a list of external dynamic lists. deprecated: true name: panorama-list-edls outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.Type description: The EDL type. type: string - contextPath: Panorama.EDL.URL description: The URL in which the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The EDL description. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL. name: name required: true - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Returns information for an external dynamic list. deprecated: true name: panorama-get-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.Type description: The EDL type. type: string - contextPath: Panorama.EDL.URL description: The URL in which the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The EDL description. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: the time interval the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL. name: name required: true - description: The URL from which to pull the EDL. name: url required: true - auto: PREDEFINED description: The EDL type. name: type predefined: - ip - url - domain required: true - auto: PREDEFINED description: The time interval for pulling and updating the EDL. name: recurring predefined: - five-minute - hourly required: true - description: The certificate profile name for the URL that was previously uploaded. to PAN OS. name: certificate_profile - description: The EDL description. name: description - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Creates an external dynamic list. deprecated: true name: panorama-create-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.Type description: The EDL type. type: string - contextPath: Panorama.EDL.URL description: The URL in which the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The EDL description. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval that the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the external dynamic list to edit. name: name required: true - auto: PREDEFINED description: The element to change (“url”, “recurring”, “certificate_profile”, “description”). name: element_to_change predefined: - url - recurring - certificate_profile - description required: true - description: The element value. name: element_value required: true description: Modifies an element of an external dynamic list. deprecated: true name: panorama-edit-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.URL description: The URL where the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The EDL description. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval that the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL to delete. name: name required: true - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Deletes an external dynamic list. deprecated: true name: panorama-delete-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL that was deleted. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL. name: name required: true - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group - auto: PREDEFINED description: The EDL type. Required when refreshing an EDL object which is configured on Panorama. name: edl_type predefined: - ip - url - domain - description: The location of the EDL. Required when refreshing an EDL object which is configured on Panorama. name: location - description: The Vsys of the EDL. Required when refreshing an EDL object which is configured on Panorama. name: vsys description: Refreshes the specified external dynamic list. deprecated: true name: panorama-refresh-edl - arguments: - description: The name of the rule to create. name: rulename - description: The description of the rule to create. name: description - auto: PREDEFINED description: The action for the rule. name: action predefined: - allow - deny - drop required: true - description: A comma-separated list of address object names, address group object names, or EDL object names. isArray: true name: source - description: A comma-separated list of address object names, address group object names, or EDL object names. isArray: true name: destination - description: A comma-separated list of source zones. isArray: true name: source_zone - description: A comma-separated list of destination zones. isArray: true name: destination_zone - auto: PREDEFINED description: Whether to negate the source (address, address group). name: negate_source predefined: - Yes - No - auto: PREDEFINED description: Whether to negate the destination (address, address group). name: negate_destination predefined: - Yes - No - description: A comma-separated list of service object names for the rule. isArray: true name: service - auto: PREDEFINED defaultValue: No description: Whether to disable the rule. name: disable predefined: - Yes - No - defaultValue: any description: A comma-separated list of application object names for the rule to create. isArray: true name: application - description: A comma-separated list of source users for the rule to create. name: source_user isArray: true - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - description: Specifies a target firewall for the rule (Panorama instances). name: target - description: The log forwarding profile. name: log_forwarding - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group - description: The rule tags to create. isArray: true name: tags - description: A comma-separated list of URL categories. name: category - description: A profile setting group. name: profile_setting - auto: PREDEFINED defaultValue: bottom description: Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. name: where predefined: - before - after - top - bottom - description: The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. name: dst description: Creates a policy rule. execution: true name: panorama-create-rule deprecated: true outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.Description description: The rule description. type: string - contextPath: Panorama.SecurityRule.Action description: The action for the rule. type: string - contextPath: Panorama.SecurityRule.Source description: The source address. type: string - contextPath: Panorama.SecurityRule.Destination description: The destination address. type: string - contextPath: Panorama.SecurityRule.NegateSource description: Whether the source is negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.NegateDestination description: Whether the destination negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.Service description: The service for the rule. type: string - contextPath: Panorama.SecurityRule.Disabled description: Whether the rule is disabled. type: string - contextPath: Panorama.SecurityRule.Application description: The application for the rule. type: string - contextPath: Panorama.SecurityRule.Target description: The target firewall (Panorama instances). type: string - contextPath: Panorama.SecurityRule.LogForwarding description: The log forwarding profile (Panorama instances). type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SecurityRules.Tags description: The rule tags. type: String - contextPath: Panorama.SecurityRules.ProfileSetting description: The profile setting group. type: String - arguments: - description: The name of the custom block policy rule to create. name: rulename - auto: PREDEFINED description: The object type to block in the policy rule. name: object_type predefined: - ip - address-group - application - url-category - edl required: true - description: A comma-separated list of object values for the object_type argument. isArray: true name: object_value required: true - auto: PREDEFINED defaultValue: both description: The direction to block. This argument is not applicable to the "custom-url-category" object_type. name: direction predefined: - to - from - both - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - description: Specifies a target firewall for the rule (Panorama instances). name: target - description: The log forwarding profile. name: log_forwarding - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group - description: Tags to use for the custom block policy rule. isArray: true name: tags - auto: PREDEFINED defaultValue: bottom description: Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. name: where predefined: - before - after - top - bottom - description: The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. name: dst description: Creates a custom block policy rule. execution: true deprecated: true name: panorama-custom-block-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.Object description: The blocked object. type: string - contextPath: Panorama.SecurityRule.Direction description: The blocked direction. type: string - contextPath: Panorama.SecurityRule.Target description: The target firewall (Panorama instances). type: string - contextPath: Panorama.SecurityRule.LogForwarding description: The log forwarding profile (Panorama instances). type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SecurityRule.Tags description: The rule tags. type: String - contextPath: Panorama.SecurityRules.ProfileSetting description: The profile setting group. type: String - arguments: - description: The name of the rule to move. name: rulename required: true - auto: PREDEFINED description: Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. name: where predefined: - before - after - top - bottom required: true - description: The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. name: dst - auto: PREDEFINED description: The rule location. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group description: Changes the location of a policy rule. execution: true deprecated: true name: panorama-move-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - arguments: - description: The name of the rule to edit. name: rulename required: true - auto: PREDEFINED description: The parameter in the security rule to change. name: element_to_change predefined: - source - destination - application - action - category - description - disabled - target - log-forwarding - tag - profile-setting - source-user - service required: true - description: The new value for the parameter. name: element_value required: true - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - auto: PREDEFINED defaultValue: replace description: Whether to replace, add, or remove the element_value from the current rule object value. name: behaviour predefined: - replace - add - remove description: Edits a policy rule. execution: true deprecated: true name: panorama-edit-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.Description description: The rule description. type: string - contextPath: Panorama.SecurityRule.Action description: The action for the rule. type: string - contextPath: Panorama.SecurityRule.Source description: The source address. type: string - contextPath: Panorama.SecurityRule.Destination description: The destination address. type: string - contextPath: Panorama.SecurityRule.NegateSource description: Whether the source is negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.NegateDestination description: Whether the destination is negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.Service description: The service for the rule. type: string - contextPath: Panorama.SecurityRule.Disabled description: Whether the rule is disabled. type: string - contextPath: Panorama.SecurityRule.Application description: The application for the rule. type: string - contextPath: Panorama.SecurityRule.Target description: The target firewall (Panorama instances). type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SecurityRule.Tags description: The tags for the rule. type: String - arguments: - description: The name of the rule to delete. name: rulename required: true - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group description: Deletes a policy rule. execution: true deprecated: true name: panorama-delete-rule outputs: - contextPath: Panorama.CleanedUpRules.Category description: The rule category. type: string - contextPath: Panorama.CleanedUpRules.RuleName description: The rule name. type: string - contextPath: Panorama.CleanedUpRules.Rulebase description: The rule rulebase. type: string - contextPath: Panorama.CleanedUpRules.PrePost description: The rule prepost. type: string - contextPath: Panorama.CleanedUpRules.DeviceGroup description: The rule device group. type: string - contextPath: Panorama.CleanedUpRules.Target description: The rule target. type: string - contextPath: Panorama.CleanedUpRules.Vsys description: The rule vsys. type: string - contextPath: Panorama.CleanedUpRules.AppliedAction description: The rule applied action. type: string - arguments: - auto: PREDEFINED defaultValue: 'false' description: Whether to list predefined applications or not. name: predefined predefined: - 'true' - 'false' description: Returns a list of applications. deprecated: true name: panorama-list-applications outputs: - contextPath: Panorama.Applications.Name description: The application name. type: string - contextPath: Panorama.Applications.Id description: The application ID. type: number - contextPath: Panorama.Applications.Category description: The application category. type: string - contextPath: Panorama.Applications.SubCategory description: The application sub-category. type: string - contextPath: Panorama.Applications.Technology description: The application technology. type: string - contextPath: Panorama.Applications.Risk description: The application risk (1 to 5). type: number - contextPath: Panorama.Applications.Description description: The application description. type: string - arguments: - description: The job ID to check. name: job_id required: true description: Returns commit status for a configuration. deprecated: true name: panorama-commit-status outputs: - contextPath: Panorama.Commit.JobID description: The job ID of the configuration to be committed. type: number - contextPath: Panorama.Commit.Status description: The commit status. type: string - contextPath: Panorama.Commit.Details description: The job ID details. type: string - contextPath: Panorama.Commit.Warnings description: The job ID warnings. type: String - arguments: - description: The job ID to check. name: job_id required: true description: Returns the push status for a configuration. deprecated: true name: panorama-push-status outputs: - contextPath: Panorama.Push.DeviceGroup description: The device group to which the policies were pushed. type: string - contextPath: Panorama.Push.JobID description: The job ID of the configuration to be pushed. type: number - contextPath: Panorama.Push.Status description: The push status. type: string - contextPath: Panorama.Push.Details description: The job ID details. type: string - contextPath: Panorama.Push.Warnings description: The job ID warnings. type: String - arguments: - auto: PREDEFINED description: The type of Packet Capture. name: pcapType predefined: - application-pcap - filter-pcap - threat-pcap - dlp-pcap required: true - description: The serial number of the firewall to download the PCAP from. name: serialNumber - description: The. name: from - description: The new name for the PCAP file after downloading. If this argument is not specified, the file name is the PCAP file name set in the firewall. name: localName - description: The serial number for the request. See the Panorama XML API documentation. name: serialNo - description: 'The search time for the request. For example: "2019/12/26 00:00:00", "2020/01/10". See the Panorama XML API documentation.' name: searchTime - description: The ID of the PCAP for the request. See the Panorama XML API documentation. name: pcapID - description: The password for Panorama, needed for the 'dlp-pcap' PCAP type only. name: password - description: The device name on which the PCAP is stored. See the Panorama XML API documentation. name: deviceName - description: The session ID of the PCAP. See the Panorama XML API documentation. name: sessionID description: Returns information for a Panorama PCAP file. The recommended maximum file size is 5 MB. If the limit is exceeded, you may need to SSH the firewall and run the scp export command to export the PCAP file. See the Palo Alto Networks documentation. deprecated: true name: panorama-get-pcap outputs: - contextPath: File.Size description: The file size. type: number - contextPath: File.Name description: The file name. type: string - contextPath: File.Type description: The file type. type: string - contextPath: File.Info description: The file info. type: string - contextPath: File.Extension description: The file extension. type: string - contextPath: File.EntryID description: The file entryID. type: string - contextPath: File.MD5 description: The MD5 hash of the file. type: string - contextPath: File.SHA1 description: The SHA1 hash of the file. type: string - contextPath: File.SHA256 description: The SHA256 hash of the file. type: string - contextPath: File.SHA512 description: The SHA512 hash of the file. type: string - contextPath: File.SSDeep description: The SSDeep hash of the file. type: string - arguments: - auto: PREDEFINED description: The type of Packet Capture. name: pcapType predefined: - application-pcap - filter-pcap - dlp-pcap required: true - description: The serial number of the firewall to download the PCAP from. name: serialNumber - description: The password for Panorama. Relevant for the 'dlp-pcap' PCAP type. name: password description: Returns a list of all PCAP files by PCAP type. Not available for threat PCAPs. deprecated: true name: panorama-list-pcaps - arguments: - description: The tag for which to register IP addresses. name: tag required: true - description: The IP addresses to register. isArray: true name: IPs required: true - auto: PREDEFINED defaultValue: 'true' description: Whether the IP addresses remain registered to the tag after the device reboots ('true':persistent, 'false':non-persistent). name: persistent predefined: - 'true' - 'false' - description: The timeout value to automatically unregister the IPs. Only applicable for PAN-OS 9.x and higher. Cannot be used with persistent set to true. name: timeout description: Registers IP addresses to a tag. deprecated: true name: panorama-register-ip-tag outputs: - contextPath: Panorama.DynamicTags.Tag description: The name of the tag. type: string - contextPath: Panorama.DynamicTags.IPs description: The registered IP addresses. type: string - arguments: - description: The tag for which to unregister IP addresses. name: tag required: true - description: The IP addresses to unregister. isArray: true name: IPs required: true description: Unregisters IP addresses from a tag. deprecated: true name: panorama-unregister-ip-tag - arguments: - description: The tag for which to register users. name: tag required: true - description: A comma-separated list of users to register. isArray: true name: Users required: true description: Registers users to a tag. This command is only available for PAN-OS version 9.x and higher. deprecated: true name: panorama-register-user-tag outputs: - contextPath: Panorama.DynamicTags.Tag description: The name of the tag. type: string - contextPath: Panorama.DynamicTags.Users description: The list of registered users. type: string - arguments: - description: The tag from which to unregister users. name: tag required: true - description: A comma-separated list of users to unregister. isArray: true name: Users required: true description: Unregisters users from a tag. This command is only available for PAN-OS version 9.x and higher. deprecated: true name: panorama-unregister-user-tag - arguments: - description: Specifies the match criteria for the logs. This is similar to the query provided in the web interface under the Monitor tab, when viewing the logs. name: query - defaultValue: '100' description: The number of logs to retrieve. The maximum is 5000. name: number_of_logs - auto: PREDEFINED defaultValue: backward description: |- Whether logs are shown oldest first (forward) or newest first (backward). name: direction predefined: - backward - forward - description: The source address for the query. name: source - description: The destination address for the query. name: destination - description: The date and time after which logs were received in the format YYYY/MM/DD HH:MM:SS. name: receive_time - description: The application for the query. name: application - description: The destination port for the query. name: to_port - description: The action for the query. name: action description: Deprecated. Use the pan-os-query-logs command instead. deprecated: true name: panorama-query-traffic-logs outputs: - contextPath: Panorama.TrafficLogs.JobID description: The job ID of the traffic logs query. type: Number - contextPath: Panorama.TrafficLogs.Status description: The status of the traffic logs query. type: String - arguments: - description: The job ID of the query. name: job_id required: true description: Deprecated. Use the pan-os-check-logs-status command instead. deprecated: true name: panorama-check-traffic-logs-status outputs: - contextPath: Panorama.TrafficLogs.JobID description: The job ID of the traffic logs query. type: Number - contextPath: Panorama.TrafficLogs.Status description: The status of the traffic logs query. type: String - arguments: - description: The job ID of the query. name: job_id required: true description: Deprecated. Use the pan-os-get-logs command instead. deprecated: true name: panorama-get-traffic-logs outputs: - contextPath: Panorama.TrafficLogs.JobID description: The job ID of the traffic logs query. type: Number - contextPath: Panorama.TrafficLogs.Status description: The status of the traffic logs query. type: String - contextPath: Panorama.TrafficLogs.Logs.Action description: The action of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.ActionSource description: The action source of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Application description: The application of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Category description: The category of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.DeviceName description: The device name of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Destination description: The destination of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.DestinationPort description: The destination port of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.FromZone description: The from zone of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Protocol description: The protocol of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.ReceiveTime description: The receive time of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Rule description: The rule of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.SessionEndReason description: The session end reason of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Source description: The source of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.SourcePort description: The source port of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.StartTime description: The start time of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.ToZone description: The to zone of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Bytes description: The total log bytes. type: String - contextPath: Panorama.TrafficLogs.Logs.BytesReceived description: The log bytes received. type: String - contextPath: Panorama.TrafficLogs.Logs.BytesSent description: The log bytes sent. type: String - arguments: - auto: PREDEFINED description: The rules location. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag to filter the rules. name: tag description: Returns a list of predefined security rules. deprecated: true name: panorama-list-rules outputs: - contextPath: Panorama.SecurityRule.Location description: The location of the security rule. type: String - contextPath: Panorama.SecurityRule.NegateDestination description: Indicates whether the destination is negated in the security rule. type: String - contextPath: Panorama.SecurityRule.Disabled description: Indicates whether the security rule is disabled. type: String - contextPath: Panorama.SecurityRule.ICMPUnreachable description: Specifies the behavior for ICMP unreachable messages. type: String - contextPath: Panorama.SecurityRule.Description description: The description of the security rule. type: String - contextPath: Panorama.SecurityRule.GroupTag description: The group tag of the security rule. type: String - contextPath: Panorama.SecurityRule.LogForwardingProfile description: The log forwarding profile applied to the security rule. type: String - contextPath: Panorama.SecurityRule.NegateSource description: Indicates whether the source is negated in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfileGroup description: The security profile group assigned to the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.url-filtering description: The security profile setting for url-filtering in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.data-filtering description: The security profile setting for data-filtering in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.file-blocking description: The security profile setting for file-blocking in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.virus description: The security profile setting for viruses in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.spyware description: The security profile setting for spyware in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.vulnerability description: The security profile setting for vulnerability in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.wildfire-analysis description: The security profile setting for wildfire-analysis in the security rule. type: String - contextPath: Panorama.SecurityRule.Target.devices description: The devices targeted by the security rule. type: String - contextPath: Panorama.SecurityRule.Target.negate description: Indicates whether the target is negated in the security rule. type: String - contextPath: Panorama.SecurityRule.Name description: The name of the security rule. type: String - contextPath: Panorama.SecurityRule.From description: The source zone of the security rule. type: String - contextPath: Panorama.SecurityRule.DestinationDevice description: The destination device of the security rule. type: String - contextPath: Panorama.SecurityRule.Action description: The action taken by the security rule. type: String - contextPath: Panorama.SecurityRule.SourceDevice description: The source device of the security rule. type: String - contextPath: Panorama.SecurityRule.Tags description: The tags associated with the security rule. type: String - contextPath: Panorama.SecurityRule.SourceUser description: The source user of the security rule. type: String - contextPath: Panorama.SecurityRule.Application description: The application used in the security rule. type: String - contextPath: Panorama.SecurityRule.Service description: The service used in the security rule. type: String - contextPath: Panorama.SecurityRule.To description: The destination zone of the security rule. type: String - contextPath: Panorama.SecurityRule.Source description: The source address of the security rule. type: String - contextPath: Panorama.SecurityRule.CustomUrlCategory description: The custom URL category targeted by the security rule. type: String - contextPath: Panorama.SecurityRule.Destination description: The destination address of the security rule. type: String - contextPath: Panorama.SecurityRule.Options.LogAtSessionStart description: Indicates whether the session start is logged. type: String - contextPath: Panorama.SecurityRule.Options.LogForwarding description: Indicates whether log forwarding is enabled for the security rule. type: String - contextPath: Panorama.SecurityRule.Options.Schedule description: The schedule applied to the security rule. type: String - contextPath: Panorama.SecurityRule.Options.QoSMarking description: The QoS marking applied to the security rule. type: String - contextPath: Panorama.SecurityRule.Options.DisableServerResponseInspection description: Specifies whether to disable server response inspection for the security rule. type: String - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group of the security rule (Panorama instances only). type: String - contextPath: Panorama.SecurityRule.Type description: Represents the type of the security rule (e.g., pre-rule, post-rule, intra-zone, inter-zone). type: String - arguments: - auto: PREDEFINED description: The log type. name: log-type predefined: - threat - traffic - wildfire - url - data required: true - description: The query string by which to match criteria for the logs. This is similar to the query provided in the web interface under the Monitor tab when viewing the logs. name: query - description: |- The time the log was generated from the timestamp and prior to it. For example "2019/08/11 01:10:44", will get logs before the specified date. name: time-generated - description: The source address. isArray: true name: addr-src - description: The destination address. isArray: true name: addr-dst - description: The source or destination IP address. isArray: true name: ip - description: The source zone. isArray: true name: zone-src - description: The destination source. isArray: true name: zone-dst - description: The rule action. isArray: true name: action - description: The destination port. isArray: true name: port-dst - description: The rule name, for example "Allow all outbound". isArray: true name: rule - description: The URL, for example "safebrowsing.googleapis.com". isArray: true name: url - description: The file hash (for WildFire logs only). isArray: true name: filedigest - defaultValue: '100' description: The maximum number of logs to retrieve. The maximum is 5000. name: number_of_logs description: Queries logs in Panorama. deprecated: true name: panorama-query-logs outputs: - contextPath: Panorama.Monitor.JobID description: The job ID of the logs query. type: String - contextPath: Panorama.Monitor.Status description: The status of the logs query. type: String - contextPath: Panorama.Monitor.Message description: The message of the logs query. type: String - arguments: - description: The job ID of the query. isArray: true name: job_id required: true description: Checks the status of a log query. deprecated: true name: panorama-check-logs-status outputs: - contextPath: Panorama.Monitor.JobID description: The job ID of the logs query. type: String - contextPath: Panorama.Monitor.Status description: The status of the log query. type: String - arguments: - description: The job ID of the query. isArray: true name: job_id required: true - defaultValue: 'true' description: Whether to auto-enrich the War Room entry. If "true", entry is not auto-enriched. If "false", entry is auto-extracted. name: ignore_auto_extract description: Retrieves the data of a logs query. name: panorama-get-logs outputs: - contextPath: Panorama.Monitor.Logs.Action description: The action taken for the session. Can be "alert", "allow", "deny", "drop", "drop-all-packets", "reset-client", "reset-server", "reset-both", or "block-url". type: String - contextPath: Panorama.Monitor.Logs.Application description: The application associated with the session. type: String - contextPath: Panorama.Monitor.Logs.Category description: The URL category of the URL subtype. For WildFire subtype, it is the verdict on the file, and can be either "malicious", "phishing", "grayware", or "benign". For other subtypes, the value is "any". type: String - contextPath: Panorama.Monitor.Logs.DeviceName description: The hostname of the firewall on which the session was logged. type: String - contextPath: Panorama.Monitor.Logs.DestinationAddress description: The original session destination IP address. type: String - contextPath: Panorama.Monitor.Logs.DestinationUser description: The username of the user to which the session was destined. type: String - contextPath: Panorama.Monitor.Logs.DestinationCountry description: The destination country or internal region for private addresses. Maximum length is 32 bytes. type: String - contextPath: Panorama.Monitor.Logs.DestinationPort description: The destination port utilized by the session. type: String - contextPath: Panorama.Monitor.Logs.FileDigest description: Only for the WildFire subtype, all other types do not use this field. The filedigest string shows the binary hash of the file sent to be analyzed by the WildFire service. type: String - contextPath: Panorama.Monitor.Logs.FileName description: |- File name or file type when the subtype is file. File name when the subtype is virus. File name when the subtype is wildfire-virus. File name when the subtype is wildfire. type: String - contextPath: Panorama.Monitor.Logs.FileType description: |- Only for the WildFire subtype, all other types do not use this field. Specifies the type of file that the firewall forwarded for WildFire analysis. type: String - contextPath: Panorama.Monitor.Logs.FromZone description: The zone from which the session was sourced. type: String - contextPath: Panorama.Monitor.Logs.URLOrFilename description: |- The actual URL when the subtype is url. File name or file type when the subtype is file. File name when the subtype is virus. File name when the subtype is wildfire-virus. File name when the subtype is wildfire. URL or file name when the subtype is vulnerability (if applicable). type: String - contextPath: Panorama.Monitor.Logs.NATDestinationIP description: The post-NAT destination IP address if destination NAT was performed. type: String - contextPath: Panorama.Monitor.Logs.NATDestinationPort description: The post-NAT destination port. type: String - contextPath: Panorama.Monitor.Logs.NATSourceIP description: The post-NAT source IP address if source NAT was performed. type: String - contextPath: Panorama.Monitor.Logs.NATSourcePort description: The post-NAT source port. type: String - contextPath: Panorama.Monitor.Logs.PCAPid description: |- The packet capture (pcap) ID is a 64 bit unsigned integral denoting an ID to correlate threat pcap files with extended pcaps taken as a part of that flow. All threat logs will contain either a pcap_id of 0 (no associated pcap), or an ID referencing the extended pcap file. type: String - contextPath: Panorama.Monitor.Logs.IPProtocol description: The IP protocol associated with the session. type: String - contextPath: Panorama.Monitor.Logs.Recipient description: |- Only for the WildFire subtype, all other types do not use this field. Specifies the name of the receiver of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. type: String - contextPath: Panorama.Monitor.Logs.Rule description: The name of the rule that the session matched. type: String - contextPath: Panorama.Monitor.Logs.RuleID description: The ID of the rule that the session matched. type: String - contextPath: Panorama.Monitor.Logs.ReceiveTime description: The time the log was received at the management plane. type: String - contextPath: Panorama.Monitor.Logs.Sender description: |- Only for the WildFire subtype; all other types do not use this field. Specifies the name of the sender of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. type: String - contextPath: Panorama.Monitor.Logs.SessionID description: An internal numerical identifier applied to each session. type: String - contextPath: Panorama.Monitor.Logs.DeviceSN description: The serial number of the firewall on which the session was logged. type: String - contextPath: Panorama.Monitor.Logs.Severity description: |- The severity associated with the threat. Can be "informational", "low", "medium", "high", or "critical". type: String - contextPath: Panorama.Monitor.Logs.SourceAddress description: The original session source IP address. type: String - contextPath: Panorama.Monitor.Logs.SourceCountry description: |- The source country or internal region for private addresses. Maximum length is 32 bytes. type: String - contextPath: Panorama.Monitor.Logs.SourceUser description: The username of the user who initiated the session. type: String - contextPath: Panorama.Monitor.Logs.SourcePort description: The source port utilized by the session. type: String - contextPath: Panorama.Monitor.Logs.ThreatCategory description: |- The threat categories used to classify different types of threat signatures. type: String - contextPath: Panorama.Monitor.Logs.Name description: |- The Palo Alto Networks identifier for the threat. A description string followed by a 64-bit numerical identifier. type: String - contextPath: Panorama.Monitor.Logs.ID description: The Palo Alto Networks ID for the threat. type: String - contextPath: Panorama.Monitor.Logs.ToZone description: The zone to which the session was destined. type: String - contextPath: Panorama.Monitor.Logs.TimeGenerated description: The time the log was generated on the data plane. type: String - contextPath: Panorama.Monitor.Logs.URLCategoryList description: |- A list of the URL filtering categories that the firewall used to enforce the policy. type: String - contextPath: Panorama.Monitor.Logs.Bytes description: The total log bytes. type: String - contextPath: Panorama.Monitor.Logs.BytesReceived description: The log bytes received. type: String - contextPath: Panorama.Monitor.Logs.BytesSent description: The log bytes sent. type: String - contextPath: Panorama.Monitor.Logs.Vsys description: The vsys on the firewall that generated the log. type: String - arguments: - description: The application name. name: application - description: The category name. name: category - description: The destination IP address. name: destination required: true - description: The destination port. name: destination-port - description: The from zone. name: from - description: The to zone. name: to - description: The IP protocol value. name: protocol required: true - description: The source IP address. name: source required: true - description: The source user. name: source-user - description: The target number of the firewall. Used only on a Panorama instance. name: target isArray: true - description: The target vsys of the firewall. Used only on a Panorama instance. name: vsys isArray: true description: Checks whether a session matches a specified security policy. This command is only available on firewall instances. deprecated: true name: panorama-security-policy-match outputs: - contextPath: Panorama.SecurityPolicyMatch.Query description: The query for the session to test. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Name description: The matching rule name. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Action description: The matching rule action. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Category description: The matching rule category. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Destination description: The matching rule destination. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.From description: The matching rule from zone. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Source description: The matching rule source. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.To description: The matching rule to zone. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Application description: The application name. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Category description: The category name. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Destination description: The destination IP address. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.DestinationPort description: The destination port. type: Number - contextPath: Panorama.SecurityPolicyMatch.QueryFields.From description: The query fields from zone. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.To description: The query fields to zone. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Protocol description: The IP protocol value. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Source description: The destination IP address. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.SourceUser description: The source user. type: String - arguments: - description: The name of the virtual router for which to list the static routes. name: virtual_router required: true - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template - auto: PREDEFINED defaultValue: 'false' description: Whether to show an uncommitted configuration. name: show_uncommitted predefined: - 'true' - 'false' description: Lists the static routes of a virtual router. deprecated: true name: panorama-list-static-routes outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of a static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - contextPath: Panorama.StaticRoutes.Uncommitted description: Whether the static route is committed. type: Boolean - arguments: - description: The name of the virtual router for which to display the static route. name: virtual_router required: true - description: The name of the static route to display. name: static_route required: true - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template description: Returns the specified static route of a virtual router. deprecated: true name: panorama-get-static-route outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of the static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - arguments: - description: The virtual router to which the routes will be added. name: virtual_router required: true - description: The name of the static route to add. The argument is limited to a maximum of 31 characters, is case-sensitive, and supports letters, numbers, spaces, hyphens, and underscores. name: static_route required: true - description: 'The IP address and network mask in Classless Inter-domain Routing (CIDR) notation: ip_address/mask. For example, 192.168.0.1/24 for IPv4 or 2001:db8::/32 for IPv6).' name: destination required: true - auto: PREDEFINED description: The type for the next hop. name: nexthop_type predefined: - ip-address - next-vr - fqdn - discard required: true - description: The next hop value. name: nexthop_value required: true - description: The metric port for the static route (1-65535). name: metric - description: The interface name in which to add the static route. name: interface - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template description: Adds a static route. deprecated: true name: panorama-add-static-route outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of the static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - arguments: - description: The name of the static route to delete. name: route_name required: true - description: The virtual router from which the routes will be deleted. name: virtual_router required: true - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template description: Deletes a static route. deprecated: true name: panorama-delete-static-route outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route to delete. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of the static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - contextPath: Panorama.StaticRoutes.Deleted description: Whether the static route was deleted. type: Boolean - arguments: - description: The serial number of the target device. name: target description: Shows the firewall device software version. deprecated: true name: panorama-show-device-version outputs: - contextPath: Panorama.Device.Info.Devicename description: The device name of the PAN-OS. type: String - contextPath: Panorama.Device.Info.Model description: The model of the PAN-OS. type: String - contextPath: Panorama.Device.Info.Serial description: The serial number of the PAN-OS. type: String - contextPath: Panorama.Device.Info.Version description: The version of the PAN-OS. type: String - arguments: - description: The device to which to download the content update. name: target description: Downloads the latest content update. deprecated: true name: panorama-download-latest-content-update outputs: - contextPath: Panorama.Content.Download.JobID description: The job ID of the content download. type: String - contextPath: Panorama.Content.Download.Status description: The content download status. type: String - arguments: - description: The device to which the content update is downloading. name: target - description: The job ID to check. name: job_id required: true description: Checks the download status of a content update. deprecated: true name: panorama-content-update-download-status outputs: - contextPath: Panorama.Content.Download.JobID description: The job ID to monitor. type: String - contextPath: Panorama.Content.Download.Status description: The download status. type: String - contextPath: Panorama.Content.Download.Details description: The job ID details. type: String - arguments: - description: The device on which to install the content update. name: target description: Installs the latest content update. deprecated: true name: panorama-install-latest-content-update outputs: - contextPath: Panorama.Content.Install.JobID description: The job ID of the installation. type: String - contextPath: Content.Install.Status description: The installation status. type: String - arguments: - description: The device on which to check the installation status of the content update. name: target - description: The job ID of the content installation. name: job_id required: true description: Gets the installation status of the content update. deprecated: true name: panorama-content-update-install-status outputs: - contextPath: Panorama.Content.Install.JobID description: The job ID of the content installation. type: String - contextPath: Panorama.Content.Install.Status description: The content installation status. type: String - contextPath: Panorama.Content.Install.Details description: The content installation status details. type: String - arguments: - description: The target device from which to get the PAN-OS software version. name: target description: Checks the PAN-OS software version from the repository. deprecated: true name: panorama-check-latest-panos-software - arguments: - description: The target device from which to download the PAN-OS software version. name: target - description: The target version number to install. name: target_version required: true description: Downloads the target PAN-OS software version to install on the target device. deprecated: true name: panorama-download-panos-version outputs: - contextPath: Panorama.PANOS.Download.JobID description: The job ID of the PAN-OS download. type: number - contextPath: Panorama.PANOS.Download.Status description: The status of the PAN-OS download. type: String - arguments: - description: The target device from which to get the download status. name: target - description: The job ID to check. name: job_id required: true description: Gets the download status of the target PAN-OS software. name: panorama-download-panos-status deprecated: true outputs: - contextPath: Panorama.PANOS.Download.JobID description: The job ID of the PAN-OS download. type: string - contextPath: Panorama.PANOS.Download.Status description: The PAN-OS download status. type: String - contextPath: Panorama.PANOS.Download.Details description: The PAN-OS download details. type: String - arguments: - description: The target device on which to install the target PAN-OS software version. name: target - description: The target PAN-OS version to install. name: target_version required: true description: Installs the target PAN-OS version on the specified target device. deprecated: true name: panorama-install-panos-version outputs: - contextPath: Panorama.PANOS.Install.JobID description: The job ID of the PAN-OS installation. type: string - contextPath: Panorama.PANOS.Install.Status description: The status of the PAN-OS installation. type: String - arguments: - description: The target device from which to get the installation status. name: target - description: The job ID to check. name: job_id required: true description: Gets the installation status of the PAN-OS software. deprecated: true name: panorama-install-panos-status outputs: - contextPath: Panorama.PANOS.Install.JobID description: The job ID of the PAN-OS installation. type: number - contextPath: Panorama.PANOS.Install.Status description: The status of the PAN-OS installation. type: String - contextPath: Panorama.PANOS.Install.Details description: The PAN-OS installation details. type: String - arguments: - description: The target device on which to reboot the firewall. name: target description: Reboots the firewall device. deprecated: true name: panorama-device-reboot - arguments: - description: The IP address from which to return information. name: ip_address required: true description: Gets location information for an IP address. deprecated: true name: panorama-show-location-ip outputs: - contextPath: Panorama.Location.IP.country_code description: The IP address location country code. type: String - contextPath: Panorama.Location.IP.country_name description: The IP address location country name. type: String - contextPath: Panorama.Location.IP.ip_address description: The IP address. type: String - contextPath: Panorama.Location.IP.Status description: Whether the IP address was found. type: String - arguments: [] description: Gets information about available PAN-OS licenses and their statuses. deprecated: true name: panorama-get-licenses outputs: - contextPath: Panorama.License.Authcode description: The authentication code of the license. type: String - contextPath: Panorama.License.Base-license-name description: The base license name. type: String - contextPath: Panorama.License.Description description: The description of the license. type: String - contextPath: Panorama.License.Expired description: Whether the license has expired. type: String - contextPath: Panorama.License.Expires description: When the license will expire. type: String - contextPath: Panorama.License.Feature description: The feature of the license. type: String - contextPath: Panorama.License.Issued description: When the license was issued. type: String - contextPath: Panorama.License.Serial description: The serial number of the license. type: String - arguments: - auto: PREDEFINED description: The security profile for which to get information. name: security_profile predefined: - data-filtering - file-blocking - spyware - url-filtering - virus - vulnerability - wildfire-analysis description: Gets information for the specified security profile. deprecated: true name: panorama-get-security-profiles outputs: - contextPath: Panorama.Spyware.Name description: The profile name. type: String - contextPath: Panorama.Spyware.Rules.Action description: The rule action. type: String - contextPath: Panorama.Spyware.Rules.Category description: The category for which to apply the rule. type: String - contextPath: Panorama.Spyware.Rules.Name description: The rule name. type: String - contextPath: Panorama.Spyware.Rules.Packet-capture description: Whether packet capture is enabled. type: String - contextPath: Panorama.Spyware.Rules.Severity description: The rule severity. type: String - contextPath: Panorama.Spyware.Rules.Threat-name description: The threat name to apply for the rule. type: String - contextPath: Panorama.URLFilter.Name description: The profile name. type: String - contextPath: Panorama.URLFilter.Rules.Category.Action description: The rule action to apply to the category. type: String - contextPath: Panorama.URLFilter.Rules.Category.Name description: The category name. type: String - contextPath: Panorama.WildFire.Name description: The WildFire profile name. type: String - contextPath: Panorama.WildFire.Rules.Analysis description: The rule analysis. type: String - contextPath: Panorama.WildFire.Rules.Application description: The application to apply for the rule. type: String - contextPath: Panorama.WildFire.Rules.File-type description: The file type to apply for the rule. type: String - contextPath: Panorama.WildFire.Rules.Name description: The rule name. type: String - contextPath: Panorama.Vulnerability.Name description: The vulnerability profile name. type: String - contextPath: Panorama.Vulnerability.Rules.Vendor-id description: The vendor ID to apply for the rule. type: String - contextPath: Panorama.Vulnerability.Rules.Packet-capture description: Whether packet capture is enabled. type: String - contextPath: Panorama.Vulnerability.Rules.Host description: The rule host. type: String - contextPath: Panorama.Vulnerability.Rules.Name description: The rule name. type: String - contextPath: Panorama.Vulnerability.Rules.Category description: The category to apply for the rule. type: String - contextPath: Panorama.Vulnerability.Rules.CVE description: The CVE to apply for the rule. type: String - contextPath: Panorama.Vulnerability.Rules.Action description: The rule action. type: String - contextPath: Panorama.Vulnerability.Rules.Severity description: The rule severity. type: String - contextPath: Panorama.Vulnerability.Rules.Threat-name description: The threat to apply for the rule. type: String - contextPath: Panorama.Antivirus.Name description: The antivirus profile name. type: String - contextPath: Panorama.Antivirus.Rules.Action description: The rule action. type: String - contextPath: Panorama.Antivirus.Rules.Name description: The rule name. type: String - contextPath: Panorama.Antivirus.Rules.WildFire-action description: The WildFire action. type: String - contextPath: Panorama.FileBlocking.Name description: The file blocking profile name. type: String - contextPath: Panorama.FileBlocking.Rules.Action description: The rule action. type: String - contextPath: Panorama.FileBlocking.Rules.Application description: The application to apply for the rule. type: String - contextPath: Panorama.FileBlocking.Rules.File-type description: The file type to apply for the rule. type: String - contextPath: Panorama.FileBlocking.Rules.Name description: The rule name. type: String - contextPath: Panorama.DataFiltering.Name description: The data filtering profile name. type: String - contextPath: Panorama.DataFiltering.Rules.Alert-threshold description: The alert threshold. type: String - contextPath: Panorama.DataFiltering.Rules.Application description: The application to apply for the rule. type: String - contextPath: Panorama.DataFiltering.Rules.Block-threshold description: The block threshold. type: String - contextPath: Panorama.DataFiltering.Rules.Data-object description: The data object. type: String - contextPath: Panorama.DataFiltering.Rules.Direction description: The rule direction. type: String - contextPath: Panorama.DataFiltering.Rules.File-type description: The file type to apply for the rule. type: String - contextPath: Panorama.DataFiltering.Rules.Log-severity description: The log severity. type: String - contextPath: Panorama.DataFiltering.Rules.Name description: The rule name. type: String - arguments: - auto: PREDEFINED description: Security profile type. name: profile_type predefined: - data-filtering - file-blocking - spyware - url-filtering - virus - vulnerability - wildfire-analysis required: true - description: The rule name to apply. name: rule_name required: true - description: The profile name to apply to the rule. name: profile_name required: true - auto: PREDEFINED description: The location of the rules. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase description: Applies a security profile to specific rules or rules with a specific tag. deprecated: true name: panorama-apply-security-profile - arguments: - auto: PREDEFINED description: The location of the rules. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase description: Get SSL decryption rules. deprecated: true name: panorama-get-ssl-decryption-rules outputs: - contextPath: Panorama.SSLRule.From description: The SSL rule from the source. type: String - contextPath: Panorama.SSLRule.Name description: The name of the SSL rule. type: String - contextPath: Panorama.SSLRule.Destination description: The destination of the SSL rule. type: String - contextPath: Panorama.SSLRule.Target description: The target of the SSL rule. type: String - contextPath: Panorama.SSLRule.Service description: The SSL rule service. type: String - contextPath: Panorama.SSLRule.Action description: The SSL rule action. type: String - contextPath: Panorama.SSLRule.Type description: The SSL rule type. type: String - contextPath: Panorama.SSLRule.Source description: The source of the SSL rule. type: String - contextPath: Panorama.SSLRule.To description: The SSL rule to destination. type: String - contextPath: Panorama.SSLRule.UUID description: The SSL rule UUID. type: String - contextPath: Panorama.SSLRule.Description description: The SSL rule description. type: String - contextPath: Panorama.SSLRule.Source-user description: The SSL rule source user. type: String - contextPath: Panorama.SSLRule.Category description: The SSL rule category. type: String - arguments: - description: The template name. name: template required: true description: Retrieves the Wildfire configuration. deprecated: true name: panorama-get-wildfire-configuration outputs: - contextPath: Panorama.WildFire.Name description: The file name. type: String - contextPath: Panorama.WildFire.Size-limit description: The file size limit. type: String - contextPath: Panorama.WildFire.recurring description: The schedule that is recurring. type: String - arguments: - description: The URL filtering profile name. Get the name by running the get-security-profiles command. name: profile_name required: true description: Sets default categories to block in the URL filtering profile. deprecated: true name: panorama-url-filtering-block-default-categories - arguments: [] description: Gets anti-spyware best practices. deprecated: true name: panorama-get-anti-spyware-best-practice outputs: - contextPath: Panorama.Spyware.BotentDomain.Name description: The botnet domain name. type: String - contextPath: Panorama.Spyware.BotentDomain.Action description: The botnet domain action. type: String - contextPath: Panorama.Spyware.BotentDomain.Packet-capture description: Whether packet capture is enabled. type: String - contextPath: Panorama.Spyware.BotentDomain.Sinkhole.ipv4-address description: The botnet domain IPv4 address. type: String - contextPath: Panorama.Spyware.BotentDomain.Sinkhole.ipv6-address description: The Botnet domain IPv6 address. type: String - contextPath: Panorama.Spyware.Rule.Category description: The rule category. type: String - contextPath: Panorama.Spyware.Rule.Action description: The rule action. type: String - contextPath: Panorama.Spyware.Rule.Name description: The rule name. type: String - contextPath: Panorama.Spyware.Rule.Severity description: The rule severity. type: String - contextPath: Panorama.Spyware.Rule.Threat-name description: The rule threat name. type: String - contextPath: Panorama.Spyware.BotentDomain.Max_version description: The botnet domain max version. type: String - arguments: [] description: Gets file-blocking best practices. deprecated: true name: panorama-get-file-blocking-best-practice outputs: - contextPath: Panorama.FileBlocking.Rule.Action description: The rule action. type: String - contextPath: Panorama.FileBlocking.Rule.Application description: The rule application. type: String - contextPath: Panorama.FileBlocking.Rule.File-type description: The rule file type. type: String - contextPath: Panorama.FileBlocking.Rule.Name description: The rule name. type: String - arguments: [] description: Get anti-virus best practices. deprecated: true name: panorama-get-antivirus-best-practice outputs: - contextPath: Panorama.Antivirus.Decoder.Action description: The rule action. type: String - contextPath: Panorama.Antivirus.Decoder.Name description: The rule name. type: String - contextPath: Panorama.Antivirus.Decoder.WildFire-action description: The WildFire action. type: String - arguments: [] description: Gets vulnerability-protection best practices. deprecated: true name: panorama-get-vulnerability-protection-best-practice outputs: - contextPath: Panorama.Vulnerability.Rule.Action description: The rule action. type: String - contextPath: Panorama.Vulnerability.Rule.CVE description: The rule CVE. type: String - contextPath: Panorama.Vulnerability.Rule.Category description: The rule category. type: String - contextPath: Panorama.Vulnerability.Rule.Host description: The rule host. type: String - contextPath: Panorama.Vulnerability.Rule.Name description: The rule name. type: String - contextPath: Panorama.Vulnerability.Rule.Severity description: The rule severity. type: String - contextPath: Panorama.Vulnerability.Rule.Threat-name description: The threat name. type: String - contextPath: Panorama.Vulnerability.Rule.Vendor-id description: The vendor ID. type: String - arguments: [] description: Views WildFire best practices. deprecated: true name: panorama-get-wildfire-best-practice outputs: - contextPath: Panorama.WildFire.Analysis description: The WildFire analysis. type: String - contextPath: Panorama.WildFire.Application description: The WildFire application. type: String - contextPath: Panorama.WildFire.File.File-size description: The recommended file size. type: String - contextPath: Panorama.WildFire.File.Name description: The file name. type: String - contextPath: Panorama.WildFire.File-type description: The WildFire profile file type. type: String - contextPath: Panorama.WildFire.Name description: The WildFire profile name. type: String - contextPath: Panorama.WildFire.SSLDecrypt description: The SSL decrypt content. type: String - contextPath: Panorama.WildFire.Schedule.Action description: The WildFire schedule action. type: String - contextPath: Panorama.WildFire.Schedule.Recurring description: The WildFire schedule recurring. type: String - arguments: [] description: Views URL filtering best practices. deprecated: true name: panorama-get-url-filtering-best-practice outputs: - contextPath: Panorama.URLFilter.Category.Action description: The action to perform on the category. type: String - contextPath: Panorama.URLFilter.Category.Name description: The category name. type: String - contextPath: Panorama.URLFilter.DeviceGroup description: The device group name. type: String - contextPath: Panorama.URLFilter.Name description: The profile name. type: String - contextPath: Panorama.URLFilter.Header.log-container-page-only description: The log container page only. type: String - contextPath: Panorama.URLFilter.Header.log-http-hdr-referer description: The log HTTP header referrer. type: String - contextPath: Panorama.URLFilter.Header.log-http-hdr-user description: The log HTTP header user. type: String - contextPath: Panorama.URLFilter.Header.log-http-hdr-xff description: The log HTTP header xff. type: String - arguments: - description: The template name. name: template required: true description: Enforces wildfire best practices to upload files to the maximum size, forwards all file types, and updates the schedule. deprecated: true name: panorama-enforce-wildfire-best-practice - arguments: - description: The name of the profile to create. name: profile_name required: true description: Creates an antivirus best practice profile. deprecated: true name: panorama-create-antivirus-best-practice-profile - arguments: - description: The profile name to create. name: profile_name required: true description: Creates an anti-spyware best practice profile. deprecated: true name: panorama-create-anti-spyware-best-practice-profile - arguments: - description: The profile name. name: profile_name required: true description: Creates a vulnerability protection best practice profile. deprecated: true name: panorama-create-vulnerability-best-practice-profile - arguments: - description: The profile name. name: profile_name required: true description: Creates a URL filtering best practice profile. deprecated: true name: panorama-create-url-filtering-best-practice-profile - arguments: - description: The name of the profile. name: profile_name required: true description: Creates a file blocking best practice profile. deprecated: true name: panorama-create-file-blocking-best-practice-profile - arguments: - description: The name of the profile. name: profile_name required: true description: Creates a WildFire analysis best practice profile. deprecated: true name: panorama-create-wildfire-best-practice-profile - arguments: - description: The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. name: template - description: The template stack to use when running the command. name: template_stack - description: "The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. " name: vsys description: Shows the user ID interface configuration. deprecated: true name: panorama-show-user-id-interfaces-config outputs: - contextPath: Panorama.UserInterfaces.Name description: The name of the user interface. type: String - contextPath: Panorama.UserInterfaces.Zone description: The zone to which the interface is connected. type: String - contextPath: Panorama.UserInterfaces.EnableUserIdentification description: Whether user identification is enabled. type: String - arguments: - description: The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. name: template - description: The template stack to use when running the command. name: template_stack - description: "The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. " name: vsys description: Shows the zones configuration. deprecated: true name: panorama-show-zones-config outputs: - contextPath: Panorama.Zone.Name description: The name of the zone. type: String - contextPath: Panorama.Zone.Network description: The network to which the zone is connected. type: String - contextPath: Panorama.Zone.EnableUserIdentification description: Whether user identification is enabled. type: String - contextPath: Panorama.Zone.ZoneProtectionProfile description: The zone protection profile. type: String - contextPath: Panorama.Zone.LogSetting description: The log setting for the zone. type: String - arguments: - description: The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. name: template - description: The template stack to use when running the command. name: template_stack - description: "The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. " name: vsys description: Retrieves list of user ID agents configured in the system. deprecated: true name: panorama-list-configured-user-id-agents outputs: - contextPath: Panorama.UserIDAgents.Name description: The user ID agent name. type: String - contextPath: Panorama.UserIDAgents.Host description: The user ID agent host. type: String - contextPath: Panorama.UserIDAgents.Port description: The user ID agent port. type: Number - contextPath: Panorama.UserIDAgents.LdapProxy description: Whether LDAP proxy is used in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.NtlmAuth description: Whether NLTM authentication is used in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.EnableHipCollection description: Whether HIP collection is enabled in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.IpUserMapping description: Whether IP user mapping is enabled in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.SerialNumber description: The serial number associated with the user ID agent. type: Unknown - contextPath: Panorama.UserIDAgents.CollectorName description: The user ID agent collector name. type: String - contextPath: Panorama.UserIDAgents.Secret description: The user ID agent secret. type: String - contextPath: Panorama.UserIDAgents.Disabled description: Whether the user ID agent is disabled. type: String - arguments: - description: The entry ID of the file to upload. name: entryID required: true - auto: PREDEFINED description: The category of the content. name: category predefined: - wildfire - anti-virus - content required: true description: Uploads a content file to Panorama. deprecated: true name: panorama-upload-content-update-file outputs: - contextPath: Panorama.Content.Upload.Status description: The content upload status. type: string - contextPath: Panorama.Content.Upload.Message description: The content upload message. type: string - arguments: - description: The update file name to be installed on PAN-OS. name: version_name required: true - auto: PREDEFINED description: The category of the content. name: category predefined: - wildfire - anti-virus - content required: true - auto: PREDEFINED defaultValue: no description: Skips the file validity check with the PAN-OS update server. Use this option for air-gapped networks and only if you trust the content file. name: skip_validity_check predefined: - yes - no required: true description: Installs a specific content update file. deprecated: true name: panorama-install-file-content-update outputs: - contextPath: Panorama.Content.Install.JobID description: The job ID of the installation. type: string - contextPath: Panorama.Content.Install.Status description: The installation status. type: string - arguments: - auto: PREDEFINED description: Action to be taken, such as show, get, set, edit, delete, rename, clone, move, override, multi-move, multi-clone, or complete. Documentation - https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/pan-os-xml-api-request-types/configuration-api. name: action predefined: - set - edit - delete - rename - clone - move - override - muti-move - multi-clone - complete - show - get - description: The object's new name, used when action=rename. If no value is provided, the name defaults to 'newname'. name: newname - description: The category parameter. For example, when exporting a configuration file, use "category=configuration". name: category - description: Specifies the XML structure that defines the command. Used for operation commands (op type command). Can be retrieved from the PAN-OS web UI debugger or enabling debugging via the CLI using `debug cli on`. name: cmd - description: The command to run. For example, command =<show><arp><entry name='all'/></arp></show>. name: command - description: The specified destination. name: dst - description: Used to define a new value for an object. Should be an XML object, for example, <static><member>test</member></static>. name: element - description: The end time (used only when cloning an object). name: to - description: The start time (used only when cloning an object). name: from - description: The key value to set. name: key - description: The log type to retrieve. For example, log-type=threat for threat logs. name: log-type - description: The type of move operation (for example, where=after, where=before, where=top, where=bottom). name: where - description: The time period, for example period=last-24-hrs. name: period - description: xpath location. xpath defines the location of the object. For example, xpath=/config/predefined/application/entry[@name='hotmail']. Documentation - https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/about-the-pan-os-xml-api/structure-of-a-pan-os-xml-api-request/xml-and-xpath. name: xpath - description: The PCAP ID included in the threat log. name: pcap-id - description: The device serial number. name: serialno - description: The report type, for example dynamic, predefined, or custom. name: reporttype - description: The report name. name: reportname - defaultValue: 'config' description: The request type, for example export, import, log, config. name: type predefined: - 'keygen' - 'config' - 'commit' - 'op' - 'report' - 'log' - 'import' - 'export' - 'user-id' - 'version' auto: PREDEFINED - description: The time the PCAP was received on the firewall. Used for threat PCAPs. name: search-time - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. This argument will work only with op type commands. name: target - description: The job ID. name: job-id - description: The query string. name: query - description: The name of the virtual system to be configured. If no vsys is mentioned, this command will not use the vsys parameter. name: vsys - description: The device group in which to run the command. name: device-group - description: Return raw XML. name: is_xml auto: PREDEFINED predefined: - "false" - "true" defaultValue: "false" description: Runs any command supported in the API. name: pan-os - arguments: - description: The firewall managed by Panorama from which to retrieve the predefined threats. name: target description: Gets the predefined threats list from a Firewall or Panorama and stores it as a JSON file in the context. name: pan-os-get-predefined-threats-list outputs: - contextPath: File.Size description: The file size. type: number - contextPath: File.Name description: The file name. type: string - contextPath: File.Type description: The file type. type: string - contextPath: File.Info description: The file information. type: string - contextPath: File.Extension description: The file extension. type: string - contextPath: File.EntryID description: The file entry ID. type: string - contextPath: File.MD5 description: The MD5 hash of the file. type: string - contextPath: File.SHA1 description: The SHA1 hash of the file. type: string - contextPath: File.SHA256 description: The SHA256 hash of the file. type: string - contextPath: File.SHA512 description: The SHA512 hash of the file. type: string - contextPath: File.SSDeep description: The SSDeep hash of the file. type: string - arguments: - description: Panorama only. Limits the commit scope to the specified device group(s), so only pending changes for those device groups are committed. If omitted, all pending changes are committed. name: device-group - description: Panorama only. Limits the commit scope to the specified template(s), so only pending changes for those templates are committed. If omitted, all pending changes are committed. name: template isArray: True - description: The commit description. name: description - description: The administrator name. To commit admin-level changes on a firewall, include the administrator name in the request. name: admin_name - auto: PREDEFINED description: Forces a commit. name: force_commit predefined: - 'true' - 'false' - auto: PREDEFINED description: Performs a partial commit while excluding device and network configuration. name: exclude_device_network_configuration predefined: - 'true' - 'false' - auto: PREDEFINED description: Performs a partial commit while excluding shared objects. name: exclude_shared_objects predefined: - 'true' - 'false' - auto: PREDEFINED description: Whether to use polling. defaultValue: 'false' name: polling predefined: - 'true' - 'false' - description: commit job ID to use in polling commands. (automatically filled by polling). name: commit_job_id deprecated: true - description: The timeout (in seconds) when polling. name: timeout defaultValue: '120' - description: The interval (in seconds) when polling. name: interval_in_seconds defaultValue: '10' - description: whether to hide the polling result (automatically filled by polling). name: hide_polling_output deprecated: true description: Commits a configuration to the Palo Alto firewall or Panorama, validates if a commit was successful if using polling="true" otherwise does not validate if the commit was successful. Committing to Panorama does not push the configuration to the firewalls. To push the configuration, run the panorama-push-to-device-group command. name: pan-os-commit polling: true outputs: - contextPath: Panorama.Commit.JobID description: The job ID to commit. type: Number - contextPath: Panorama.Commit.Status description: The commit status. type: String - contextPath: Panorama.Commit.Description description: The commit description from the the command input. type: String - contextPath: Panorama.Commit.Scope description: Whether the commit is partial. type: String - contextPath: Panorama.Commit.Details description: The summary of the targeted device group and templates. type: String - arguments: - default: true description: The device group to which to push (Panorama instances). name: device-group - auto: PREDEFINED defaultValue: 'false' description: Pre policy validation. name: validate-only predefined: - 'true' - 'false' - auto: PREDEFINED defaultValue: 'true' description: Whether to include template changes. name: include-template predefined: - 'true' - 'false' - description: The push description. name: description - description: The serial number for a virtual system commit. If provided, the commit will be a virtual system commit. name: serial_number - auto: PREDEFINED description: Whether to use polling. defaultValue: 'false' name: polling predefined: - 'true' - 'false' - description: push job ID to use in polling commands. (automatically filled by polling). name: push_job_id deprecated: true - description: The timeout (in seconds) when polling. name: timeout defaultValue: '120' - description: The interval (in seconds) when polling. name: interval_in_seconds defaultValue: '10' - description: whether to hide the polling result (automatically filled by polling). name: hide_polling_output deprecated: true description: Pushes rules from PAN-OS to the configured device group. In order to push the configuration to Prisma Access managed tenants (single or multi tenancy), use the device group argument with the device group which is associated with the tenant ID. Validates if a push has been successful if polling="true". name: pan-os-push-to-device-group polling: true outputs: - contextPath: Panorama.Push.DeviceGroup description: The device group in which the policies were pushed. type: String - contextPath: Panorama.Push.JobID description: The job ID of the policies that were pushed. type: Number - contextPath: Panorama.Push.Status description: The push status. type: String - contextPath: Panorama.Push.Warnings description: The push warnings. type: String - contextPath: Panorama.Push.Errors description: The push errors. type: String - contextPath: Panorama.Push.Details description: The job ID details. type: String - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag to filter the list of addresses. name: tag description: Returns a list of addresses. name: pan-os-list-addresses outputs: - contextPath: Panorama.Addresses.Name description: The address name. type: string - contextPath: Panorama.Addresses.Description description: The address description. type: string - contextPath: Panorama.Addresses.FQDN description: The address FQDN. type: string - contextPath: Panorama.Addresses.IP_Netmask description: The address IP netmask. type: string - contextPath: Panorama.Addresses.IP_Range description: The address IP range. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The address device group. type: String - contextPath: Panorama.Addresses.Tags description: The address tags. type: String - arguments: - description: The address name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Returns address details for the supplied address name. name: pan-os-get-address outputs: - contextPath: Panorama.Addresses.Name description: The address name. type: string - contextPath: Panorama.Addresses.Description description: The address description. type: string - contextPath: Panorama.Addresses.FQDN description: The address FQDN. type: string - contextPath: Panorama.Addresses.IP_Netmask description: The address IP netmask. type: string - contextPath: Panorama.Addresses.IP_Range description: The address IP range. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The device group for the address (Panorama instances). type: String - contextPath: Panorama.Addresses.Tags description: The address tags. type: String - arguments: - description: The new address name. name: name required: true - description: The new address description. name: description - description: The FQDN of the new address. name: fqdn - description: The IP netmask of the new address. For example, 10.10.10.10/24. name: ip_netmask - description: The IP range of the new address IP. For example, 10.10.10.0-10.10.10.255. name: ip_range - description: The IP wildcard of the new address. For example, 10.20.1.0/0.0.248.255. name: ip_wildcard - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag for the new address. isArray: true name: tag - auto: PREDEFINED description: Whether to create the tag if it does not exist. defaultValue: 'false' name: create_tag predefined: - 'true' - 'false' description: Creates an address object. name: pan-os-create-address outputs: - contextPath: Panorama.Addresses.Name description: The address name. type: string - contextPath: Panorama.Addresses.Description description: The address description. type: string - contextPath: Panorama.Addresses.FQDN description: The address FQDN. type: string - contextPath: Panorama.Addresses.IP_Netmask description: The address IP Netmask. type: string - contextPath: Panorama.Addresses.IP_Range description: The address IP range. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The device group for the address (Panorama instances). type: String - contextPath: Panorama.Addresses.Tags description: The address tags. type: String - arguments: - description: The name of the address to edit. name: name required: true - description: The device-group in which the address is in. name: device-group - auto: PREDEFINED description: The element to change. name: element_to_change required: true predefined: - fqdn - ip_netmask - ip_range - ip_wildcard - description - tag - description: The value of the element that needs to be changed. Can be a list when element_to_change == 'tag' only. isArray: true name: element_value required: true description: Edits an address object. name: pan-os-edit-address - arguments: - description: The name of the address to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes an address object. name: pan-os-delete-address outputs: - contextPath: Panorama.Addresses.Name description: The address name that was deleted. type: string - contextPath: Panorama.Addresses.DeviceGroup description: The device group for the address (Panorama instances). type: String - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag for which to filter the address groups. name: tag description: Returns a list of address groups. name: pan-os-list-address-groups outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Match description: The dynamic Address group match. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group addresses. type: String - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - description: The address group name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Gets details for the specified address group. name: pan-os-get-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Match description: The dynamic address group match. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group addresses. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - description: The address group name. name: name required: true - auto: PREDEFINED description: The address group type. name: type predefined: - dynamic - static required: true - description: The dynamic address group match. For example "1.1.1.1 or 2.2.2.2". name: match - description: The static address group list of addresses. isArray: true name: addresses - description: The address group description. name: description - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for the address group. isArray: true name: tags description: Creates a static or dynamic address group. name: pan-os-create-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Match description: The dynamic address group match. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group list of addresses. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - auto: PREDEFINED description: 'The type of session rejection. Possible values are: "drop", "alert", "block-ip", "reset-both", "reset-client", and "reset-server". Default is "drop".' name: drop_mode predefined: - drop - alert - block-ip - reset-both - reset-client - reset-server - description: The name of the vulnerability profile. name: vulnerability_profile required: true - description: The numerical threat ID. name: threat_id required: true description: Sets a vulnerability signature to block mode. name: pan-os-block-vulnerability outputs: - contextPath: Panorama.Vulnerability.ID description: The ID of the vulnerability that was blocked/overridden. type: string - contextPath: Panorama.Vulnerability.NewAction description: The new action for the vulnerability. type: string - arguments: - description: The name of the address group to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes an address group. name: pan-os-delete-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The name of the address group that was deleted. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - arguments: - description: The name of the address group to edit. name: name required: true - auto: PREDEFINED description: The address group type. name: type predefined: - static - dynamic required: true - description: The address group new match. For example, '1.1.1.1 and 2.2.2.2'. name: match - description: The element to add to the list of the static address group. Only existing address objects can be added. name: element_to_add - description: The element to remove from the list of the static address group. Only existing address objects can be removed. name: element_to_remove - description: The address group new description. name: description - description: The tag of the address group to edit. isArray: true name: tags - description: The device group in which the address group belongs to. name: device-group description: Edits a static or dynamic address group. name: pan-os-edit-address-group outputs: - contextPath: Panorama.AddressGroups.Name description: The address group name. type: string - contextPath: Panorama.AddressGroups.Type description: The address group type. type: string - contextPath: Panorama.AddressGroups.Filter description: The dynamic Address group match. type: string - contextPath: Panorama.AddressGroups.Description description: The address group description. type: string - contextPath: Panorama.AddressGroups.Addresses description: The static address group addresses. type: string - contextPath: Panorama.AddressGroups.DeviceGroup description: The device group for the address group (Panorama instances). type: String - contextPath: Panorama.AddressGroups.Tags description: The address group tags. type: String - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag to filter the services. name: tag description: Returns a list of addresses. name: pan-os-list-services outputs: - contextPath: Panorama.Services.Name description: The service name. type: string - contextPath: Panorama.Services.Protocol description: The service protocol. type: string - contextPath: Panorama.Services.Description description: The service description. type: string - contextPath: Panorama.Services.DestinationPort description: The service destination port. type: string - contextPath: Panorama.Services.SourcePort description: The service source port. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group in which the service was configured (Panorama instances). type: string - contextPath: Panorama.Services.Tags description: The service tags. type: String - arguments: - description: The service name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Returns service details for the supplied service name. name: pan-os-get-service outputs: - contextPath: Panorama.Services.Name description: The service name. type: string - contextPath: Panorama.Services.Protocol description: The service protocol. type: string - contextPath: Panorama.Services.Description description: The service description. type: string - contextPath: Panorama.Services.DestinationPort description: The service destination port. type: string - contextPath: Panorama.Services.SourcePort description: The service source port. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group for the service (Panorama instances). type: string - contextPath: Panorama.Service.Tags description: The service tags. type: String - arguments: - description: The name for the new service. name: name required: true - auto: PREDEFINED description: The protocol for the new service. name: protocol predefined: - tcp - udp - sctp required: true - description: The destination port for the new service. name: destination_port required: true - description: The source port for the new service. name: source_port - description: The description for the new service. name: description - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for the new service. isArray: true name: tags description: Creates a service. name: pan-os-create-service outputs: - contextPath: Panorama.Services.Name description: The service name. type: string - contextPath: Panorama.Services.Protocol description: The service protocol. type: string - contextPath: Panorama.Services.Description description: The service description. type: string - contextPath: Panorama.Services.DestinationPort description: The service destination port. type: string - contextPath: Panorama.Services.SourcePort description: The service source port. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group for the service (Panorama instances). type: string - contextPath: Panorama.Services.Tags description: The service tags. type: String - arguments: - description: The name of the service to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes a service. name: pan-os-delete-service outputs: - contextPath: Panorama.Services.Name description: The name of the deleted service. type: string - contextPath: Panorama.Services.DeviceGroup description: The device group for the service (Panorama instances). type: string - arguments: - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags for which to filter the Service groups. isArray: true name: tag description: Returns a list of service groups. name: pan-os-list-service-groups outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The service group name. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Returns details for the specified service group. name: pan-os-get-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The service group name. name: name required: true - description: The service group related services. isArray: true name: services required: true - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tags to filter service groups. isArray: true name: tags description: Creates a service group. name: pan-os-create-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The name of the service group to delete. name: name required: true - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes a service group. name: pan-os-delete-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The name of the deleted service group. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - arguments: - description: The name of the service group to edit. name: name required: true - description: The services to add to the service group. Only existing service objects can be added. isArray: true name: services_to_add - description: The services to remove from the service group. Only existing Service objects can be removed. name: services_to_remove - description: The tag of the service group to edit. isArray: true name: tags - description: The device group in which the service group belongs to. name: device-group description: Edits a service group. name: pan-os-edit-service-group outputs: - contextPath: Panorama.ServiceGroups.Name description: The service group name. type: string - contextPath: Panorama.ServiceGroups.Services description: The service group related services. type: string - contextPath: Panorama.ServiceGroups.DeviceGroup description: The device group for the service group (Panorama instances). type: string - contextPath: Panorama.ServiceGroups.Tags description: The service group tags. type: String - arguments: - description: The custom URL category name. name: name required: true - description: The device group for which to return addresses for the custom URL category (Panorama instances). name: device-group description: Returns information for a custom URL category. name: pan-os-get-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The category name of the custom URL. type: String - contextPath: Panorama.CustomURLCategory.Description description: The category description of the custom URL. type: String - contextPath: Panorama.CustomURLCategory.Sites description: The list of sites of the custom URL category. type: String - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the custom URL Category (Panorama instances). type: String - contextPath: Panorama.CustomURLCategory.Categories description: The list of categories of the custom URL category. type: String - contextPath: Panorama.CustomURLCategory.Type description: The category type of the custom URL. type: String - arguments: - description: The name of the custom URL category to create. name: name required: true - description: The description of the custom URL category to create. name: description - description: The list of sites for the custom URL category. isArray: true name: sites - description: The device group for which to return addresses for the custom URL category (Panorama instances). name: device-group - auto: PREDEFINED description: The category type of the URL. Relevant from PAN-OS v9.x. name: type predefined: - URL List - Category Match - description: The list of categories. Relevant from PAN-OS v9.x. isArray: true name: categories description: Creates a custom URL category. name: pan-os-create-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The custom URL category name. type: String - contextPath: Panorama.CustomURLCategory.Description description: The custom URL category description. type: String - contextPath: Panorama.CustomURLCategory.Sites description: The custom URL category list of sites. type: String - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the custom URL category (Panorama instances). type: String - contextPath: Panorama.CustomURLCategory.Sites description: The custom URL category list of categories. type: String - contextPath: Panorama.CustomURLCategory.Type description: The custom URL category type. type: String - arguments: - description: The name of the custom URL category to delete. name: name - description: The device group for which to return addresses (Panorama instances). name: device-group description: Deletes a custom URL category. name: pan-os-delete-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The name of the custom URL category to delete. type: string - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the Custom URL Category (Panorama instances). type: string - arguments: - description: The name of the custom URL category to add or remove sites. name: name required: true - description: A comma-separated list of sites to add to the custom URL category. isArray: true name: sites - auto: PREDEFINED description: Adds or removes sites or categories. isArray: true name: action predefined: - add - remove required: true - description: A comma-separated list of categories to add to the custom URL category. isArray: true name: categories - description: The device group in which the URL category belongs to. name: device-group description: Adds or removes sites to and from a custom URL category. name: pan-os-edit-custom-url-category outputs: - contextPath: Panorama.CustomURLCategory.Name description: The custom URL category name. type: string - contextPath: Panorama.CustomURLCategory.Description description: The custom URL category description. type: string - contextPath: Panorama.CustomURLCategory.Sites description: The custom URL category list of sites. type: string - contextPath: Panorama.CustomURLCategory.DeviceGroup description: The device group for the Custom URL Category (Panorama instances). type: string - arguments: - default: true description: The URL to check. isArray: true name: url required: true description: Gets a URL category from URL filtering. name: url outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - contextPath: DBotScore.Vendor description: The vendor used to calculate the score. type: String - contextPath: DBotScore.Score description: The actual score. type: Number - contextPath: DBotScore.Type description: The indicator type. type: String - contextPath: DBotScore.Indicator description: The indicator that was tested. type: String - contextPath: URL.Data description: The URL address. type: String - contextPath: URL.Category description: The URL category. type: String - arguments: - default: true description: The URL to check. isArray: true name: url - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target description: Gets a URL category from URL filtering. This command is only available on firewall devices. name: pan-os-get-url-category outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - contextPath: DBotScore.Vendor description: The vendor used to calculate the score. type: String - contextPath: DBotScore.Score description: The actual score. type: Number - contextPath: DBotScore.Type description: The indicator type. type: String - contextPath: DBotScore.Indicator description: The indicator that was tested. type: String - contextPath: URL.Data description: The URL address. type: String - contextPath: URL.Category description: The URL category. type: String - arguments: - description: The URL to check. isArray: true name: url required: true description: Returns a URL category from URL filtering. This command is only available on firewall devices. name: pan-os-get-url-category-from-cloud outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - arguments: - description: The URL to check. isArray: true name: url required: true description: Returns a URL category from URL filtering. This command is only available on firewall devices. name: pan-os-get-url-category-from-host outputs: - contextPath: Panorama.URLFilter.URL description: The URL. type: string - contextPath: Panorama.URLFilter.Category description: The URL category. type: string - arguments: - description: URL filter name. name: name required: true - description: The device group for which to return addresses for the URL filter (Panorama instances). name: device-group description: Returns information for a URL filtering rule. name: pan-os-get-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter name. type: string - contextPath: Panorama.URLFilter.Category.Name description: The URL filter category name. type: string - contextPath: Panorama.URLFilter.Category.Action description: The action for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The URL filter override block list. type: string - contextPath: Panorama.URLFilter.OverrideAllowList description: The URL filter override allow list. type: string - contextPath: Panorama.URLFilter.Description description: The URL filter description. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The name of the URL filter to create. name: name required: true - description: The URL category. isArray: true name: url_category required: true - auto: PREDEFINED description: The action for the URL category. name: action predefined: - allow - block - alert - continue - override required: true - description: The CSV list of URLs to exclude from the allow list. isArray: true name: override_allow_list - description: The CSV list of URLs to exclude from the blocked list. isArray: true name: override_block_list - description: The URL filter description. name: description - description: The device group for which to return addresses for the URL filter (Panorama instances). name: device-group description: Creates a URL filtering rule. name: pan-os-create-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter name. type: string - contextPath: Panorama.URLFilter.Category.Name description: The URL filter category name. type: string - contextPath: Panorama.URLFilter.Category.Action description: The action for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The URL filter override allow list. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The URL filter override blocked list. type: string - contextPath: Panorama.URLFilter.Description description: The URL filter description. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The name of the URL filter to edit. name: name required: true - auto: PREDEFINED description: The element to change. name: element_to_change predefined: - override_allow_list - override_block_list - allow_categories - block_categories - description required: true - description: The element value. Limited to one value. name: element_value required: true - auto: PREDEFINED defaultValue: add description: Adds or remove an element from the Allow List or Block List fields. name: add_remove_element predefined: - add - remove - description: The device group in which the URL-filter belongs to. name: device-group description: Edits a URL filtering rule. name: pan-os-edit-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter name. type: string - contextPath: Panorama.URLFilter.Description description: The URL filter description. type: string - contextPath: Panorama.URLFilter.Category.Name description: The URL filter category. type: string - contextPath: Panorama.URLFilter.Action description: The action for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideAllowList description: The allow list overrides for the URL category. type: string - contextPath: Panorama.URLFilter.OverrideBlockList description: The block list overrides for the URL category. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The name of the URL filter rule to delete. name: name required: true - description: The device group for which to return addresses for the URL filter (Panorama instances). name: device-group description: Deletes a URL filtering rule. name: pan-os-delete-url-filter outputs: - contextPath: Panorama.URLFilter.Name description: The URL filter rule name. type: string - contextPath: Panorama.URLFilter.DeviceGroup description: The device group for the URL filter (Panorama instances). type: string - arguments: - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Returns a list of external dynamic lists. name: pan-os-list-edls outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.Type description: The type of EDL. type: string - contextPath: Panorama.EDL.URL description: The URL in which the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The description of the EDL. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL. name: name required: true - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Returns information for an external dynamic list. name: pan-os-get-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.Type description: The type of EDL. type: string - contextPath: Panorama.EDL.URL description: The URL in which the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The description of the EDL. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL. name: name required: true - description: The URL from which to pull the EDL. name: url required: true - auto: PREDEFINED description: The type of EDL. name: type predefined: - ip - url - domain required: true - auto: PREDEFINED description: The time interval for pulling and updating the EDL. name: recurring predefined: - five-minute - hourly required: true - description: The certificate profile name for the URL that was previously uploaded. to PAN OS. name: certificate_profile - description: The description of the EDL. name: description - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Creates an external dynamic list. name: pan-os-create-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.Type description: The type of the EDL. type: string - contextPath: Panorama.EDL.URL description: The URL in which the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The description of the EDL. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the external dynamic list to edit. name: name required: true - auto: PREDEFINED description: The element to change (“url”, “recurring”, “certificate_profile”, “description”). name: element_to_change predefined: - url - recurring - certificate_profile - description required: true - description: The element value. name: element_value required: true - description: The device group in which the EDL belongs to. name: device-group description: Modifies an element of an external dynamic list. name: pan-os-edit-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL. type: string - contextPath: Panorama.EDL.URL description: The URL where the EDL is stored. type: string - contextPath: Panorama.EDL.Description description: The description of the EDL. type: string - contextPath: Panorama.EDL.CertificateProfile description: The EDL certificate profile. type: string - contextPath: Panorama.EDL.Recurring description: The time interval the EDL was pulled and updated. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The name of the EDL to delete. name: name required: true - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group description: Deletes an external dynamic list. name: pan-os-delete-edl outputs: - contextPath: Panorama.EDL.Name description: The name of the EDL that was deleted. type: string - contextPath: Panorama.EDL.DeviceGroup description: The device group for the EDL (Panorama instances). type: string - arguments: - description: The serial number of the device. name: target - defaultValue: 'running_config' description: Name of the file to save the configuration to. name: filename description: Pull the running config file. name: pan-os-get-running-config - arguments: - description: The serial number of the device. name: target description: Pull the merged config file. name: pan-os-get-merged-config - arguments: - description: The name of the EDL. name: name required: true - description: The device group for which to return addresses for the EDL (Panorama instances). name: device-group - description: The type of the EDL. Required when refreshing an EDL object which is configured on Panorama. name: edl_type auto: PREDEFINED predefined: - ip - url - domain - description: The location of the EDL. Required when refreshing an EDL object which is configured on Panorama. name: location - description: The VSYS of the EDL. Required when refreshing an EDL object which is configured on Panorama. name: vsys description: Refreshes the specified external dynamic list. name: pan-os-refresh-edl - arguments: - description: The name of the rule to create. name: rulename - description: The description of the rule to create. name: description - description: The action for the rule. name: action auto: PREDEFINED predefined: - allow - deny - drop required: true - description: A comma-separated list of address object names, address group object names, or EDL object names. name: source isArray: true - description: A comma-separated list of address object names, address group object names, or EDL object names. name: destination isArray: true - description: A comma-separated list of source zones. isArray: true name: source_zone - description: A comma-separated list of destination zones. isArray: true name: destination_zone - auto: PREDEFINED description: Whether to negate the source (address, address group). name: negate_source predefined: - Yes - No - auto: PREDEFINED description: Whether to negate the destination (address, address group). name: negate_destination predefined: - Yes - No - description: A comma-separated list of service object names for the rule. isArray: true name: service - auto: PREDEFINED defaultValue: No description: Whether to disable the rule. name: disable predefined: - Yes - No - defaultValue: any description: A comma-separated list of application object names for the rule to create. isArray: true name: application - description: A comma-separated list of source users for the rule to create. name: source_user isArray: true - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - description: The target firewall for the rule (Panorama instances). name: target - description: The log forwarding profile. name: log_forwarding - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group - description: The rule tags to create. isArray: true name: tags - description: A comma-separated list of URL categories. name: category - description: A profile setting group. name: profile_setting - auto: PREDEFINED defaultValue: bottom description: Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. name: where predefined: - before - after - top - bottom - description: The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. name: dst - description: An audit comment for the rule. name: audit_comment description: Creates a policy rule. execution: true name: pan-os-create-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.Description description: The rule description. type: string - contextPath: Panorama.SecurityRule.Action description: The action for the rule. type: string - contextPath: Panorama.SecurityRule.Source description: The source address. type: string - contextPath: Panorama.SecurityRule.Destination description: The destination address. type: string - contextPath: Panorama.SecurityRule.NegateSource description: Whether the source is negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.NegateDestination description: Whether the destination negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.Service description: The service for the rule. type: string - contextPath: Panorama.SecurityRule.Disabled description: Whether the rule is disabled. type: string - contextPath: Panorama.SecurityRule.Application description: The application for the rule. type: string - contextPath: Panorama.SecurityRule.Target description: The target firewall (Panorama instances). type: string - contextPath: Panorama.SecurityRule.LogForwarding description: The log forwarding profile (Panorama instances). type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SecurityRules.Tags description: The rule tags. type: String - contextPath: Panorama.SecurityRules.ProfileSetting description: The profile setting group. type: String - arguments: - description: The name of the custom block policy rule to create. name: rulename - auto: PREDEFINED description: The object type to block in the policy rule. name: object_type predefined: - ip - address-group - application - url-category - edl required: true - description: A comma-separated list of object values for the object_type argument. name: object_value required: true isArray: true - auto: PREDEFINED description: The direction to block. This argument is not applicable for the "custom-url-category" object_type. name: direction predefined: - to - from - both defaultValue: both - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - description: Specifies a target firewall for the rule (Panorama instances). name: target - description: The log forwarding profile. name: log_forwarding - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group - description: The tags to use for the custom block policy rule. isArray: true name: tags - auto: PREDEFINED defaultValue: bottom description: Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. name: where predefined: - before - after - top - bottom - description: The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. name: dst description: Creates a custom block policy rule. execution: true name: pan-os-custom-block-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.Object description: The blocked object. type: string - contextPath: Panorama.SecurityRule.Direction description: The direction blocked. type: string - contextPath: Panorama.SecurityRule.Target description: The target firewall (Panorama instances). type: string - contextPath: Panorama.SecurityRule.LogForwarding description: The log forwarding profile (Panorama instances). type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SecurityRule.Tags description: The rule tags. type: String - contextPath: Panorama.SecurityRules.ProfileSetting description: The profile setting group. type: String - arguments: - description: The name of the rule to move. name: rulename required: true - auto: PREDEFINED description: Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. name: where predefined: - before - after - top - bottom required: true - description: The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. name: dst - auto: PREDEFINED description: The rule location. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group for which to return addresses for the rule (Panorama instances). name: device-group description: Changes the location of a policy rule. execution: true name: pan-os-move-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - arguments: - description: The name of the rule to edit. name: rulename required: true - auto: PREDEFINED description: The parameter in the security rule to change. name: element_to_change predefined: - source - destination - application - action - category - description - disabled - target - log-forwarding - tag - profile-setting - source-user - service - audit-comment required: true - description: The new value for the parameter. name: element_value required: true - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - auto: PREDEFINED defaultValue: replace description: Whether to replace, add, or remove the element_value from the current rule object value. name: behaviour predefined: - replace - add - remove - description: The device group in which the rule belongs to. name: device-group description: Edits a policy rule. name: pan-os-edit-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.Description description: The rule description. type: string - contextPath: Panorama.SecurityRule.Action description: The action for the rule. type: string - contextPath: Panorama.SecurityRule.Source description: The source address. type: string - contextPath: Panorama.SecurityRule.Destination description: The destination address. type: string - contextPath: Panorama.SecurityRule.NegateSource description: Whether the source is negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.NegateDestination description: Whether the destination is negated (address, address group). type: boolean - contextPath: Panorama.SecurityRule.Service description: The service for the rule. type: string - contextPath: Panorama.SecurityRule.Disabled description: Whether the rule is disabled. type: string - contextPath: Panorama.SecurityRule.Application description: The application for the rule. type: string - contextPath: Panorama.SecurityRule.Target description: The target firewall (Panorama instances). type: string - contextPath: Panorama.SecurityRule.Category description: The category of the rule. type: string - contextPath: Panorama.SecurityRule.LogForwarding description: The log forwarding of the rule. type: string - contextPath: Panorama.SecurityRule.ProfileSetting description: The profile setting of the rule. type: string - contextPath: Panorama.SecurityRule.SourceUser description: The source user of the rule. type: string - contextPath: Panorama.SecurityRule.AuditComment description: The audit comment of the rule. type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SecurityRule.Tags description: The tags for the rule. type: String - contextPath: Panorama.SecurityRules.ProfileSetting description: The profile setting group. type: String execution: true - arguments: - description: The name of the rule to delete. name: rulename required: true - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances). name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group where the rule is configured (Panorama instances). name: device-group - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - auto: PREDEFINED defaultValue: security description: The rulebase from which to delete the rule. name: rulebase required: false predefined: - security - application-override - authentication - decryption - nat - pbf - defaultValue: vsys1 description: The Firewall VSYS to delete the rule from. Use for deleting local rules from a firewall via Panorama or to specify a different VSYS than set in Integration parameters. name: vsys description: Deletes a policy rule. name: pan-os-delete-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.NAT.Name description: The rule name. type: string - contextPath: Panorama.NAT.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SSLRule.Name description: The rule name. type: string - contextPath: Panorama.SSLRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.PBF.Name description: The rule name. type: string - contextPath: Panorama.PBF.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.AuthRule.Name description: The rule name. type: string - contextPath: Panorama.AuthRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.AppOverride.Name description: The rule name. type: string - contextPath: Panorama.AppOverride.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.CleanedUpRules.Category description: The category of rule that was cleaned up (Local or Panorama). type: string - contextPath: Panorama.CleanedUpRules.AppliedAction description: The applied cleanup action (Disabled or Deleted). type: string - contextPath: Panorama.CleanedUpRules.DeviceGroup description: The device group that the rule was cleaned up from (Panorama instances). type: string - contextPath: Panorama.CleanedUpRules.PrePost description: The location where the rule was cleaned up from (Panorama instances). type: string - contextPath: Panorama.CleanedUpRules.RuleName description: The name of the rule. type: string - contextPath: Panorama.CleanedUpRules.Rulebase description: The rulebase where the rule was cleaned up from (for example, 'security', 'nat'). type: string - contextPath: Panorama.CleanedUpRules.Target description: The target firewall serial number, if provided. type: string - contextPath: Panorama.CleanedUpRules.Vsys description: The VSYS where the rule was cleaned up from. type: string execution: true - arguments: - description: The name of the rule to disable. name: rulename required: true - description: The pre-rule or post-rule (Panorama instances). name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase - description: The device group where the rule is configured (Panorama instances). name: device-group - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The rulebase from which to disable the rule. auto: PREDEFINED name: rulebase predefined: - security - application-override - authentication - decryption - nat - pbf defaultValue: security required: true - description: The Firewall VSYS to disable the rule on. Use for disabling local rules on a firewall via Panorama or to specify a different VSYS than set in Integration parameters. name: vsys defaultValue: vsys1 description: Disables a policy rule. name: pan-os-disable-rule outputs: - contextPath: Panorama.SecurityRule.Name description: The rule name. type: string - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.NAT.Name description: The rule name. type: string - contextPath: Panorama.NAT.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.SSLRule.Name description: The rule name. type: string - contextPath: Panorama.SSLRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.PBF.Name description: The rule name. type: string - contextPath: Panorama.PBF.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.AuthRule.Name description: The rule name. type: string - contextPath: Panorama.AuthRule.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.AppOverride.Name description: The rule name. type: string - contextPath: Panorama.AppOverride.DeviceGroup description: The device group for the rule (Panorama instances). type: string - contextPath: Panorama.CleanedUpRules.Category description: The category of rule cleaned up (Local or Panorama). type: string - contextPath: Panorama.CleanedUpRules.AppliedAction description: The applied cleanup action (Disabled or Deleted). type: string - contextPath: Panorama.CleanedUpRules.DeviceGroup description: The device group where the rule was cleaned up from (Panorama instances). type: string - contextPath: Panorama.CleanedUpRules.PrePost description: The location where the rule was cleaned up from (Panorama instances). type: string - contextPath: Panorama.CleanedUpRules.RuleName description: The name of the rule. type: string - contextPath: Panorama.CleanedUpRules.Rulebase description: The rulebase where the rule was cleaned up from (e.g. 'security', 'nat'). type: string - contextPath: Panorama.CleanedUpRules.Target description: The target firewall serial number, if provided. type: string - contextPath: Panorama.CleanedUpRules.Vsys description: The VSYS where the rule was cleaned up from. type: string execution: true - arguments: - description: Whether to list predefined applications. name: predefined auto: PREDEFINED defaultValue: 'false' predefined: - 'true' - 'false' - description: The device group for which to return applications. name: device-group - description: When specified, the results returned in the list are limited to applications whose names match the specified string. name: name_match - description: When specified, the results returned in the list are limited to applications whose names contain the specified string. name: name_contain - description: The application risk (1 to 5). auto: PREDEFINED name: risk predefined: - '1' - '2' - '3' - '4' - '5' - description: The application category. auto: PREDEFINED name: category predefined: - 'collaboration' - 'business-systems' - 'networking' - 'media' - description: The application sub-category. name: sub_category - description: The application technology. auto: PREDEFINED name: technology predefined: - 'browser-based' - 'client-server' - 'network-protocol' - 'peer-to-peer' - description: "A comma-separated list of characteristics. Possible values are: 'virus-ident', 'evasive-behavior', 'file-type-ident', 'consume-big-bandwidth', 'used-by-malware', 'able-to-transfer-file', 'has-known-vulnerability', 'tunnel-other-application', 'prone-to-misuse', 'pervasive-use', 'file-forward', 'is-saas'." name: characteristics - defaultValue: '50' description: The maximum number of rules to retrieve. Will be used by default if page argument was not provided. name: limit - defaultValue: '50' description: The page size of the applications to return. name: page_size - description: The page at which to start listing applications. Must be a positive number. name: page description: Returns a list of applications. name: pan-os-list-applications outputs: - contextPath: Panorama.Applications.Characteristics description: The application characteristics. type: string - contextPath: Panorama.Applications.Name description: The application name. type: string - contextPath: Panorama.Applications.Id description: The application ID. type: number - contextPath: Panorama.Applications.Category description: The application category. type: string - contextPath: Panorama.Applications.SubCategory description: The application sub-category. type: string - contextPath: Panorama.Applications.Technology description: The application technology. type: string - contextPath: Panorama.Applications.Risk description: The application risk (1 to 5). type: number - contextPath: Panorama.Applications.Description description: The application description. type: string - arguments: - description: The job ID to check. name: job_id required: true description: Returns commit status for a configuration. name: pan-os-commit-status outputs: - contextPath: Panorama.Commit.JobID description: The job ID of the configuration to be committed. type: number - contextPath: Panorama.Commit.Status description: The commit status. type: string - contextPath: Panorama.Commit.Details description: The job ID details. type: string - contextPath: Panorama.Commit.Warnings description: The job ID warnings. type: String - arguments: - description: The job ID to check. name: job_id required: true description: Returns the push status for a configuration. name: pan-os-push-status outputs: - contextPath: Panorama.Push.DeviceGroup description: The device group to which the policies were pushed. type: string - contextPath: Panorama.Push.JobID description: The job ID of the configuration to be pushed. type: number - contextPath: Panorama.Push.Status description: The push status. type: string - contextPath: Panorama.Push.Details description: The job ID details. type: string - contextPath: Panorama.Push.Warnings description: The job ID warnings. type: String - arguments: - description: The type of packet capture. name: pcapType required: true auto: PREDEFINED predefined: - application-pcap - filter-pcap - threat-pcap - dlp-pcap - description: The serial number of the firewall to download the PCAP from, relevant only for Panorama instances. name: serialNumber - description: The file name for the PCAP type ('dlp-pcap', 'filter-pcap', or 'application-pcap'). Required for 'filter-pcap'. name: from - description: The new name for the PCAP file after downloading. If this argument is not specified, the file name is the PCAP file name set in the firewall. name: localName - description: The serial number for the request. See the Panorama XML API documentation. name: serialNo - description: 'The Search time for the request. For example: "2019/12/26 00:00:00", "2020/01/10". See the Panorama XML API documentation. Required for "threat-pcap".' name: searchTime - description: The ID of the PCAP for the request. See the Panorama XML API documentation. Required for 'threat-pcap'. name: pcapID - description: The password for Panorama, needed for the 'dlp-pcap' PCAP type only. name: password - description: The device name on which the PCAP is stored. See the Panorama XML API documentation. Required for 'threat-pcap' when using a Panorama instance. name: deviceName - description: The Session ID of the PCAP. See the Panorama XML API documentation. Required for 'threat-pcap' when using Panorama instance. name: sessionID description: Returns a PCAP file. The recommended maximum file size is 5 MB. If the limit is exceeded, you may need to connect to the firewall and run the scp export command in order to export the PCAP file. See the Palo Alto Networks documentation. name: pan-os-get-pcap outputs: - contextPath: File.Size description: The file size. type: number - contextPath: File.Name description: The file name. type: string - contextPath: File.Type description: The file type. type: string - contextPath: File.Info description: The file info. type: string - contextPath: File.Extension description: The file extension. type: string - contextPath: File.EntryID description: The file entryID. type: string - contextPath: File.MD5 description: The MD5 hash of the file. type: string - contextPath: File.SHA1 description: The SHA1 hash of the file. type: string - contextPath: File.SHA256 description: The SHA256 hash of the file. type: string - contextPath: File.SHA512 description: The SHA512 hash of the file. type: string - contextPath: File.SSDeep description: The SSDeep hash of the file. type: string - arguments: - description: The type of packet capture. name: pcapType required: true auto: PREDEFINED predefined: - application-pcap - filter-pcap - dlp-pcap - description: The serial number of the firewall to download the PCAP from. name: serialNumber - description: The password for Panorama. Relevant for the 'dlp-pcap' PCAP type. name: password description: Returns a list of all PCAP files by PCAP type. Not available for threat PCAPs. name: pan-os-list-pcaps - arguments: - description: The tag for which to register IP addresses. name: tag required: true - description: The IP addresses to register. isArray: true name: IPs required: true - description: Whether the IP addresses remain registered to the tag after the device reboots ('true':persistent, 'false':non-persistent). name: persistent auto: PREDEFINED defaultValue: 'true' predefined: - 'true' - 'false' - description: The timeout value to automatically unregister the IPs. Only applicable for PAN-OS 9.x and higher. Can not be used with persistent set to true. name: timeout description: Registers IP addresses to a tag. name: pan-os-register-ip-tag outputs: - contextPath: Panorama.DynamicTags.Tag description: Name of the tag. type: string - contextPath: Panorama.DynamicTags.IPs description: Registered IP addresses. type: string - arguments: - description: Tag for which to unregister IP addresses. name: tag required: true - description: IP addresses to unregister. isArray: true name: IPs required: true description: Unregisters IP addresses from a tag. name: pan-os-unregister-ip-tag - arguments: - description: Tag for which to register users. name: tag required: true - description: A comma-separated list of users to register. name: Users isArray: true required: true - description: |- Timeout value to automatically unregister the users (in seconds). Only applicable to PAN-OS 9.x and higher. name: timeout description: Registers users to a tag. This command is only available for PAN-OS version 9.x and above. name: pan-os-register-user-tag outputs: - contextPath: Panorama.DynamicTags.Tag description: The name of the tag. type: string - contextPath: Panorama.DynamicTags.Users description: The list of registered users. type: string - arguments: - description: The tag from which to unregister users. name: tag required: true - description: A comma-separated list of users to unregister. isArray: true name: Users required: true description: Unregisters users from a tag. This command is only available for PAN-OS version 9.x and higher. name: pan-os-unregister-user-tag - arguments: - description: Specifies the match criteria for the logs. This is similar to the query provided in the web interface under the Monitor tab, when viewing the logs. name: query - defaultValue: '100' description: The number of logs to retrieve. Maximum is 5000. name: number_of_logs - auto: PREDEFINED defaultValue: backward description: |- Whether logs are shown oldest first (forward) or newest first (backward). name: direction predefined: - backward - forward - description: The source address for the query. name: source - description: The destination address for the query. name: destination - description: The date and time after which logs were received (in the format YYYY/MM/DD HH:MM:SS). name: receive_time - description: The application for the query. name: application - description: The destination port for the query. name: to_port - description: The action for the query. name: action deprecated: true description: Deprecated. Use the pan-os-query-logs command instead. name: pan-os-query-traffic-logs outputs: - contextPath: Panorama.TrafficLogs.JobID description: The job ID of the traffic logs query. type: Number - contextPath: Panorama.TrafficLogs.Status description: The status of the traffic logs query. type: String - arguments: - description: The job ID of the query. name: job_id required: true description: Deprecated. Use the pan-os-check-logs-status command instead. name: pan-os-check-traffic-logs-status outputs: - contextPath: Panorama.TrafficLogs.JobID description: The job ID of the traffic logs query. type: Number - contextPath: Panorama.TrafficLogs.Status description: The status of the traffic logs query. type: String deprecated: true - arguments: - description: The job ID of the query. name: job_id required: true description: Deprecated. Use the pan-os-get-logs command instead. name: pan-os-get-traffic-logs outputs: - contextPath: Panorama.TrafficLogs.JobID description: The job ID of the traffic logs query. type: Number - contextPath: Panorama.TrafficLogs.Status description: The status of the traffic logs query. type: String - contextPath: Panorama.TrafficLogs.Logs.Action description: The action of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.ActionSource description: The action source of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Application description: The application of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Category description: The category of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.DeviceName description: The device name of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Destination description: The destination of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.DestinationPort description: The destination port of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.FromZone description: The from zone of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Protocol description: The protocol of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.ReceiveTime description: The receive time of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Rule description: The rule of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.SessionEndReason description: The session end reason of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Source description: The source of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.SourcePort description: The source port of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.StartTime description: The start time of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.ToZone description: The to zone of the traffic log. type: String - contextPath: Panorama.TrafficLogs.Logs.Bytes description: The total log bytes. type: String - contextPath: Panorama.TrafficLogs.Logs.BytesReceived description: The log bytes received. type: String - contextPath: Panorama.TrafficLogs.Logs.BytesSent description: The log bytes sent. type: String deprecated: true - arguments: - description: The rules location. Mandatory for Panorama instances. name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase - description: The device group for which to return addresses (Panorama instances). name: device-group - description: The tag to filter the rules. name: tag deprecated: true - description: A comma-separated list of tags by which to filter the rules. name: tags isArray: true - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The name of the rule to retrieve. If not mentioned, will retrieve all the rules. name: rulename - auto: PREDEFINED description: Whether to retrieve the disabled rules or not. If not mentioned, will retrieve all the rules. name: disabled predefined: - yes - no - auto: PREDEFINED description: The action of the rules to retrieve. If not mentioned, will retrieve all the rules. name: action predefined: - allow - deny - drop - description: Free query to retrieve rules. If not mentioned, will retrieve all the rules. When passing a query, all other arguments are overridden. name: query description: Returns a list of predefined Security Rules. (When passing a query, all other arguments are overridden. Make sure the query includes all the filters you want). name: pan-os-list-rules outputs: - contextPath: Panorama.SecurityRule.Location description: The location of the security rule. type: String - contextPath: Panorama.SecurityRule.NegateDestination description: Indicates whether the destination is negated in the security rule. type: String - contextPath: Panorama.SecurityRule.Disabled description: Indicates whether the security rule is disabled. type: String - contextPath: Panorama.SecurityRule.ICMPUnreachable description: Specifies the behavior for ICMP unreachable messages. type: String - contextPath: Panorama.SecurityRule.Description description: The description of the security rule. type: String - contextPath: Panorama.SecurityRule.GroupTag description: The group tag of the security rule. type: String - contextPath: Panorama.SecurityRule.LogForwardingProfile description: The log forwarding profile applied to the security rule. type: String - contextPath: Panorama.SecurityRule.NegateSource description: Indicates whether the source is negated in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfileGroup description: The security profile group assigned to the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile description: The security profile settings applied to the security rule. type: Unknown - contextPath: Panorama.SecurityRule.SecurityProfile.file-blocking description: The security profile setting for file-blocking in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.data-filtering description: The security profile setting for data filtering in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.wildfire-analysis description: The security profile setting for wildfire-analysis in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.spyware description: The security profile setting for spyware in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.vulnerability description: The security profile setting for vulnerability in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.virus description: The security profile setting for viruses in the security rule. type: String - contextPath: Panorama.SecurityRule.SecurityProfile.url-filtering description: The security profile setting for url-filtering in the security rule. type: String - contextPath: Panorama.SecurityRule.Target.devices description: The devices targeted by the security rule. type: String - contextPath: Panorama.SecurityRule.Target.negate description: Indicates whether the target is negated in the security rule. type: String - contextPath: Panorama.SecurityRule.Name description: The name of the security rule. type: String - contextPath: Panorama.SecurityRule.From description: The source zone of the security rule. type: String - contextPath: Panorama.SecurityRule.DestinationDevice description: The destination device of the security rule. type: String - contextPath: Panorama.SecurityRule.Action description: The action taken by the security rule. type: String - contextPath: Panorama.SecurityRule.SourceDevice description: The source device of the security rule. type: String - contextPath: Panorama.SecurityRule.Tags description: The tags associated with the security rule. type: String - contextPath: Panorama.SecurityRule.SourceUser description: The source user of the security rule. type: String - contextPath: Panorama.SecurityRule.Application description: The application used in the security rule. type: String - contextPath: Panorama.SecurityRule.Service description: The service used in the security rule. type: String - contextPath: Panorama.SecurityRule.To description: The destination zone of the security rule. type: String - contextPath: Panorama.SecurityRule.Source description: The source address of the security rule. type: String - contextPath: Panorama.SecurityRule.CustomUrlCategory description: The custom URL category targeted by the security rule. type: String - contextPath: Panorama.SecurityRule.Destination description: The destination address of the security rule. type: String - contextPath: Panorama.SecurityRule.Options.LogAtSessionStart description: Indicates whether the session start is logged. type: String - contextPath: Panorama.SecurityRule.Options.LogForwarding description: Indicates whether log forwarding is enabled for the security rule. type: String - contextPath: Panorama.SecurityRule.Options.Schedule description: The schedule applied to the security rule. type: String - contextPath: Panorama.SecurityRule.Options.QoSMarking description: The QoS marking applied to the security rule. type: String - contextPath: Panorama.SecurityRule.Options.DisableServerResponseInspection description: Specifies whether to disable server response inspection for the security rule. type: String - contextPath: Panorama.SecurityRule.DeviceGroup description: The device group of the security rule (Panorama instances only). type: String - contextPath: Panorama.SecurityRule.Type description: Represents the type of the security rule (e.g., pre-rule, post-rule, intra-zone, inter-zone). type: String - arguments: - description: The log type. name: log-type required: true auto: PREDEFINED predefined: - threat - traffic - wildfire - url - data - corr - system - decryption - description: "The query string by which to match criteria for the logs. This is similar to the query provided in the web interface under the Monitor tab when viewing the logs. Do not use the query arguemnt in combination with the following arugments: time-generated, time-generated-after, addr-src, addr-dst, zone-src, zone-dst, action, port-dst, rule, url, filedigest." name: query - description: |- The time the log was generated from the timestamp and prior to it. For example "2019/08/11 01:10:44, will get logs before the specified date.". name: time-generated - description: |- The time the log was generated from the timestamp and prior to it. For example "2019/08/11 01:10:44", will get logs after the specified date. name: time-generated-after - description: The source address. isArray: true name: addr-src - description: The destination address. isArray: true name: addr-dst - description: The source or destination IP address. isArray: true name: ip - description: The source zone. isArray: true name: zone-src - description: The destination source. isArray: true name: zone-dst - description: The rule action. isArray: true name: action - description: The destination port. isArray: true name: port-dst - description: The rule name, for example "Allow all outbound". isArray: true name: rule - description: The URL, for example "safebrowsing.googleapis.com". isArray: true name: url - description: The file hash (for WildFire logs only). isArray: true name: filedigest - defaultValue: '100' description: The maximum number of logs to retrieve. If empty, the default is 100. The maximum is 5,000. name: number_of_logs - auto: PREDEFINED description: Whether to use polling. defaultValue: 'false' name: polling predefined: - 'true' - 'false' - description: Job ID to use in polling commands. (automatically filled by polling). name: query_log_job_id deprecated: true - description: The timeout (in seconds) when polling. name: timeout defaultValue: '120' - description: The interval (in seconds) when polling. name: interval_in_seconds defaultValue: '10' - description: whether to hide the polling result (automatically filled by polling). name: hide_polling_output deprecated: true - description: Whether to show only `after-change-preview`, and `before-change-preview`, or get full data for it. The full data are under the fields `after-change-detail`, and `before-change-detail`. name: show-detail predefined: - yes - no auto: PREDEFINED defaultValue: no description: The query logs in Panorama. name: pan-os-query-logs outputs: - contextPath: Panorama.Monitor.JobID description: The job ID of the logs query. type: String - contextPath: Panorama.Monitor.Status description: The status of the logs query. type: String - contextPath: Panorama.Monitor.Message description: The message of the logs query. type: String - contextPath: Panorama.Monitor.Logs.Action description: The action taken for the session. Can be "alert", "allow", "deny", "drop", "drop-all-packets", "reset-client", "reset-server", "reset-both", or "block-url". type: String - contextPath: Panorama.Monitor.Logs.Application description: The application associated with the session. type: String - contextPath: Panorama.Monitor.Logs.Category description: The URL category of the URL subtype. For WildFire subtype, it is the verdict on the file, and can be either "malicious", "phishing", "grayware", or "benign". For other subtypes, the value is "any". type: String - contextPath: Panorama.Monitor.Logs.DeviceName description: The hostname of the firewall on which the session was logged. type: String - contextPath: Panorama.Monitor.Logs.DestinationAddress description: The original session destination IP address. type: String - contextPath: Panorama.Monitor.Logs.DestinationUser description: The username of the user to which the session was destined. type: String - contextPath: Panorama.Monitor.Logs.DestinationCountry description: The destination country or internal region for private addresses. Maximum length is 32 bytes. type: String - contextPath: Panorama.Monitor.Logs.DestinationPort description: The destination port utilized by the session. type: String - contextPath: Panorama.Monitor.Logs.FileDigest description: Only for the WildFire subtype, all other types do not use this field. The filedigest string shows the binary hash of the file sent to be analyzed by the WildFire service. type: String - contextPath: Panorama.Monitor.Logs.FileName description: |- File name or file type when the subtype is file. File name when the subtype is virus. File name when the subtype is wildfire-virus. File name when the subtype is wildfire. type: String - contextPath: Panorama.Monitor.Logs.FileType description: |- Only for the WildFire subtype, all other types do not use this field. Specifies the type of file that the firewall forwarded for WildFire analysis. type: String - contextPath: Panorama.Monitor.Logs.FromZone description: The zone from which the session was sourced. type: String - contextPath: Panorama.Monitor.Logs.URLOrFilename description: |- The actual URL when the subtype is url. The file name or file type when the subtype is file. The file name when the subtype is virus. The file name when the subtype is wildfire-virus. The file name when the subtype is wildfire. The URL or file name when the subtype is vulnerability (if applicable). type: String - contextPath: Panorama.Monitor.Logs.NATDestinationIP description: The post-NAT destination IP address if destination NAT was performed. type: String - contextPath: Panorama.Monitor.Logs.NATDestinationPort description: The post-NAT destination port. type: String - contextPath: Panorama.Monitor.Logs.NATSourceIP description: The post-NAT source IP address if source NAT was performed. type: String - contextPath: Panorama.Monitor.Logs.NATSourcePort description: The post-NAT source port. type: String - contextPath: Panorama.Monitor.Logs.PCAPid description: |- The packet capture (pcap) ID is a 64 bit unsigned integral denoting an ID to correlate threat pcap files with extended pcaps taken as a part of that flow. All threat logs will contain either a pcap_id of 0 (no associated pcap), or an ID referencing the extended pcap file. type: String - contextPath: Panorama.Monitor.Logs.IPProtocol description: The IP protocol associated with the session. type: String - contextPath: Panorama.Monitor.Logs.Recipient description: |- Only for the WildFire subtype, all other types do not use this field. Specifies the name of the receiver of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. type: String - contextPath: Panorama.Monitor.Logs.Rule description: The name of the rule that the session matched. type: String - contextPath: Panorama.Monitor.Logs.RuleID description: The ID of the rule that the session matched. type: String - contextPath: Panorama.Monitor.Logs.ReceiveTime description: The time the log was received at the management plane. type: String - contextPath: Panorama.Monitor.Logs.Sender description: |- Only for the WildFire subtype; all other types do not use this field. Specifies the name of the sender of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. type: String - contextPath: Panorama.Monitor.Logs.SessionID description: An internal numerical identifier applied to each session. type: String - contextPath: Panorama.Monitor.Logs.DeviceSN description: The serial number of the firewall on which the session was logged. type: String - contextPath: Panorama.Monitor.Logs.Severity description: |- The severity associated with the threat. Can be "informational", "low", "medium", "high", or "critical". type: String - contextPath: Panorama.Monitor.Logs.SourceAddress description: The original session source IP address. type: String - contextPath: Panorama.Monitor.Logs.SourceCountry description: |- The source country or internal region for private addresses. Maximum length is 32 bytes. type: String - contextPath: Panorama.Monitor.Logs.SourceUser description: The username of the user who initiated the session. type: String - contextPath: Panorama.Monitor.Logs.SourcePort description: The source port utilized by the session. type: String - contextPath: Panorama.Monitor.Logs.ThreatCategory description: |- The threat categories used to classify different types of threat signatures. type: String - contextPath: Panorama.Monitor.Logs.Name description: |- The Palo Alto Networks identifier for the threat. A description string followed by a 64-bit numerical identifier. type: String - contextPath: Panorama.Monitor.Logs.ID description: The Palo Alto Networks ID for the threat. type: String - contextPath: Panorama.Monitor.Logs.ToZone description: The zone to which the session was destined. type: String - contextPath: Panorama.Monitor.Logs.TimeGenerated description: The time the log was generated on the data plane. type: String - contextPath: Panorama.Monitor.Logs.URLCategoryList description: |- A list of the URL filtering categories the firewall used to enforce the policy. type: String - contextPath: Panorama.Monitor.Logs.Bytes description: The total log bytes. type: String - contextPath: Panorama.Monitor.Logs.BytesReceived description: The log bytes received. type: String - contextPath: Panorama.Monitor.Logs.BytesSent description: The log bytes sent. type: String - contextPath: Panorama.Monitor.Logs.Vsys description: The VSYS on the firewall that generated the log. type: String polling: true - arguments: - description: The job ID of the query. name: job_id isArray: true required: true description: Checks the status of a logs query. name: pan-os-check-logs-status outputs: - contextPath: Panorama.Monitor.JobID description: The job ID of the logs query. type: String - contextPath: Panorama.Monitor.Status description: The status of the logs query. type: String - arguments: - description: The job ID of the query. name: job_id required: true isArray: true - description: Whether to auto-enrich the War Room entry. If "true", entry is not auto-enriched. If "false", entry is auto-extracted. name: ignore_auto_extract defaultValue: 'true' description: Retrieves the data of a logs query. name: pan-os-get-logs outputs: - contextPath: Panorama.Monitor.Logs.Action description: The action taken for the session. Can be "alert", "allow", "deny", "drop", "drop-all-packets", "reset-client", "reset-server", "reset-both", or "block-url". type: String - contextPath: Panorama.Monitor.Logs.Application description: The application associated with the session. type: String - contextPath: Panorama.Monitor.Logs.Category description: The URL category of the URL subtype. For WildFire subtype, it is the verdict on the file, and can be either "malicious", "phishing", "grayware", or "benign". For other subtypes, the value is "any". type: String - contextPath: Panorama.Monitor.Logs.DeviceName description: The hostname of the firewall on which the session was logged. type: String - contextPath: Panorama.Monitor.Logs.DestinationAddress description: The original session destination IP address. type: String - contextPath: Panorama.Monitor.Logs.DestinationUser description: The username of the user to which the session was destined. type: String - contextPath: Panorama.Monitor.Logs.DestinationCountry description: The destination country or internal region for private addresses. Maximum length is 32 bytes. type: String - contextPath: Panorama.Monitor.Logs.DestinationPort description: The destination port utilized by the session. type: String - contextPath: Panorama.Monitor.Logs.FileDigest description: Only for the WildFire subtype, all other types do not use this field. The filedigest string shows the binary hash of the file sent to be analyzed by the WildFire service. type: String - contextPath: Panorama.Monitor.Logs.FileName description: |- File name or file type when the subtype is file. File name when the subtype is virus. File name when the subtype is wildfire-virus. File name when the subtype is wildfire. type: String - contextPath: Panorama.Monitor.Logs.FileType description: |- Only for the WildFire subtype, all other types do not use this field. Specifies the type of file that the firewall forwarded for WildFire analysis. type: String - contextPath: Panorama.Monitor.Logs.FromZone description: The zone from which the session was sourced. type: String - contextPath: Panorama.Monitor.Logs.URLOrFilename description: |- The actual URL when the subtype is url. The file name or file type when the subtype is file. The file name when the subtype is virus. The file name when the subtype is wildfire-virus. The file name when the subtype is wildfire. The URL or file name when the subtype is vulnerability (if applicable). type: String - contextPath: Panorama.Monitor.Logs.NATDestinationIP description: The post-NAT destination IP address if destination NAT was performed. type: String - contextPath: Panorama.Monitor.Logs.NATDestinationPort description: The post-NAT destination port. type: String - contextPath: Panorama.Monitor.Logs.NATSourceIP description: The post-NAT source IP address if source NAT was performed. type: String - contextPath: Panorama.Monitor.Logs.NATSourcePort description: The post-NAT source port. type: String - contextPath: Panorama.Monitor.Logs.PCAPid description: |- The packet capture (pcap) ID is a 64 bit unsigned integral denoting an ID to correlate threat pcap files with extended pcaps taken as a part of that flow. All threat logs will contain either a pcap_id of 0 (no associated pcap), or an ID referencing the extended pcap file. type: String - contextPath: Panorama.Monitor.Logs.IPProtocol description: The IP protocol associated with the session. type: String - contextPath: Panorama.Monitor.Logs.Recipient description: |- Only for the WildFire subtype, all other types do not use this field. Specifies the name of the receiver of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. type: String - contextPath: Panorama.Monitor.Logs.Rule description: The name of the rule that the session matched. type: String - contextPath: Panorama.Monitor.Logs.RuleID description: The ID of the rule that the session matched. type: String - contextPath: Panorama.Monitor.Logs.ReceiveTime description: The time the log was received at the management plane. type: String - contextPath: Panorama.Monitor.Logs.Sender description: |- Only for the WildFire subtype; all other types do not use this field. Specifies the name of the sender of an email that WildFire determined to be malicious when analyzing an email link forwarded by the firewall. type: String - contextPath: Panorama.Monitor.Logs.SessionID description: An internal numerical identifier applied to each session. type: String - contextPath: Panorama.Monitor.Logs.DeviceSN description: The serial number of the firewall on which the session was logged. type: String - contextPath: Panorama.Monitor.Logs.Severity description: |- The severity associated with the threat. Can be "informational", "low", "medium", "high", or "critical". type: String - contextPath: Panorama.Monitor.Logs.SourceAddress description: The original session source IP address. type: String - contextPath: Panorama.Monitor.Logs.SourceCountry description: |- The source country or internal region for private addresses. Maximum length is 32 bytes. type: String - contextPath: Panorama.Monitor.Logs.SourceUser description: The username of the user who initiated the session. type: String - contextPath: Panorama.Monitor.Logs.SourcePort description: The source port utilized by the session. type: String - contextPath: Panorama.Monitor.Logs.ThreatCategory description: |- The threat categories used to classify different types of threat signatures. type: String - contextPath: Panorama.Monitor.Logs.Name description: |- The Palo Alto Networks identifier for the threat. A description string followed by a 64-bit numerical identifier. type: String - contextPath: Panorama.Monitor.Logs.ID description: The Palo Alto Networks ID for the threat. type: String - contextPath: Panorama.Monitor.Logs.ToZone description: The zone to which the session was destined. type: String - contextPath: Panorama.Monitor.Logs.TimeGenerated description: The time the log was generated on the data plane. type: String - contextPath: Panorama.Monitor.Logs.URLCategoryList description: |- A list of the URL filtering categories the firewall used to enforce the policy. type: String - contextPath: Panorama.Monitor.Logs.Bytes description: The total log bytes. type: String - contextPath: Panorama.Monitor.Logs.BytesReceived description: The log bytes received. type: String - contextPath: Panorama.Monitor.Logs.BytesSent description: The log bytes sent. type: String - contextPath: Panorama.Monitor.Logs.Vsys description: The VSYS on the firewall that generated the log. type: String - arguments: - description: The application name. name: application - description: The category name. name: category - description: The destination IP address. name: destination required: true - description: The destination port. name: destination-port - description: The from zone. name: from - description: The to zone. name: to - description: The IP protocol value. name: protocol required: true - description: The source IP address. name: source required: true - description: The source user. name: source-user - description: The target number of the firewall. Used only on a Panorama instance. name: target isArray: true - description: The target VSYS of the firewall. Used only on a Panorama instance. name: vsys isArray: true description: Checks whether a session matches a specified security policy. This command is only available on firewall instances. name: pan-os-security-policy-match outputs: - contextPath: Panorama.SecurityPolicyMatch.Query description: The query for the session to test. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Name description: The matching rule name. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Action description: The matching rule action. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Category description: The matching rule category. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Destination description: The matching rule destination. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.From description: The matching rule from zone. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.Source description: The matching rule source. type: String - contextPath: Panorama.SecurityPolicyMatch.Rules.To description: The matching rule to zone. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Application description: The application name. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Category description: The category name. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Destination description: The destination IP address. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.DestinationPort description: The destination port. type: Number - contextPath: Panorama.SecurityPolicyMatch.QueryFields.From description: The query fields from zone. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.To description: The query fields to zone. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Protocol description: The IP protocol value. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.Source description: The destination IP address. type: String - contextPath: Panorama.SecurityPolicyMatch.QueryFields.SourceUser description: The source user. type: String - arguments: - description: The name of the virtual router for which to list the static routes. name: virtual_router required: true - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template - description: Whether to show an uncommitted configuration. Default is "false". name: show_uncommitted auto: PREDEFINED defaultValue: 'false' predefined: - 'true' - 'false' description: Lists the static routes of a virtual router. name: pan-os-list-static-routes outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of a static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - contextPath: Panorama.StaticRoutes.Uncommitted description: Whether the static route is committed. type: Boolean - arguments: - description: The name of the virtual router to display the static route. name: virtual_router required: true - description: The name of the static route to display. name: static_route required: true - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template description: Returns the specified static route of a virtual router. name: pan-os-get-static-route outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of the static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - arguments: - description: Virtual router to which the routes will be added. name: virtual_router required: true - description: The name of the static route to add. The argument is limited to a maximum of 31 characters, is case-sensitive, and supports letters, numbers, spaces, hyphens, and underscores. name: static_route required: true - description: 'The IP address and network mask in Classless Inter-domain Routing (CIDR) notation: ip_address/mask. For example, 192.168.0.1/24 for IPv4 or 2001:db8::/32 for IPv6).' name: destination required: true - auto: PREDEFINED description: The type for the next hop. name: nexthop_type predefined: - ip-address - next-vr - fqdn - discard required: true - description: The next hop value. name: nexthop_value required: true - description: The metric port for the static route (1-65535). name: metric - description: The interface name in which to add the static route. name: interface - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template description: Adds a static route. name: pan-os-add-static-route outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of the static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - arguments: - description: The name of the static route to delete. name: route_name required: true - description: The virtual router from which the routes will be deleted. name: virtual_router required: true - description: The template to use to run the command. Overrides the template parameter (Panorama instances). name: template description: Deletes a static route. name: pan-os-delete-static-route outputs: - contextPath: Panorama.StaticRoutes.Name description: The name of the static route to delete. type: String - contextPath: Panorama.StaticRoutes.BFDProfile description: The BFD profile of the static route. type: String - contextPath: Panorama.StaticRoutes.Destination description: The destination of the static route. type: String - contextPath: Panorama.StaticRoutes.Metric description: The metric (port) of the static route. type: Number - contextPath: Panorama.StaticRoutes.NextHop description: The next hop of the static route. Can be an IP address, FQDN, or a virtual router. type: String - contextPath: Panorama.StaticRoutes.RouteTable description: The route table of the static route. type: String - contextPath: Panorama.StaticRoutes.VirtualRouter description: The virtual router to which the static router belongs. type: String - contextPath: Panorama.StaticRoutes.Template description: The template in which the static route is defined (Panorama instances only). type: String - contextPath: Panorama.StaticRoutes.Deleted description: Whether the static route was deleted. type: Boolean - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target description: Show firewall device software version. name: pan-os-show-device-version outputs: - contextPath: Panorama.Device.Info.Devicename description: The device name of the PAN-OS. type: String - contextPath: Panorama.Device.Info.Model description: The model of the PAN-OS. type: String - contextPath: Panorama.Device.Info.Serial description: The serial number of the PAN-OS. type: String - contextPath: Panorama.Device.Info.Version description: The version of the PAN-OS. type: String - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target description: Checks for the latest available dynamic update versions and returns a list of latest available / currently installed content. When running from a Panorama instance, the 'target' argument must be specified. name: pan-os-check-dynamic-updates-status outputs: - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.CurrentlyInstalled.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.IsUpToDate description: Whether the latest available AntiVirus package is active on the device. type: Boolean - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.AntiVirus.LatestAvailable.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.Content.CurrentlyInstalled.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.Content.IsUpToDate description: Whether the latest available App/Threat package is active on the device. type: Boolean - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.Content.LatestAvailable.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.ContentTypesOutOfDate.Count description: The total number of active Dynamic Updates that have updates available. type: Number - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.GP.CurrentlyInstalled.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.GP.IsUpToDate description: Whether the latest available GP Clientless VPN package is active on the device. type: Boolean - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.GP.LatestAvailable.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.WildFire.CurrentlyInstalled.version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.WildFire.IsUpToDate description: Whether the latest available WildFire package is active on the device. type: Boolean - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.app-version description: Version of the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.current description: Whether this version is currently active on the device. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.downloaded description: Whether this version has been downloaded to the device. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.feature-desc description: Detailed description of features provided. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.features description: Features provided by this version. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.filename description: Filename of the dynamic update. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.installing description: Whether this version is being installed by a running job on the device. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.previous description: Whether this version was previously active on the system and can be reverted to. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.release-notes description: Link to release notes about the dynamic update package. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.released-on description: Date this version was released. type: Date - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.sha256 description: SHA256 hash of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.size description: Size of the dynamic update package file. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.size-kb description: Size (in KB) of the dynamic update file. type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.update-type description: Type of update package (Full, Incremental, etc). type: String - contextPath: Panorama.DynamicUpdates.WildFire.LatestAvailable.version description: Version of the dynamic update package. type: String - arguments: - description: Serial number of the firewall on which to run the command. Mandatory for Panorama instances. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the download job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the download status is checked. name: interval_in_seconds defaultValue: '30' description: Downloads the latest app/threat dynamic update. name: pan-os-download-latest-content-update outputs: - contextPath: Panorama.Content.Download.JobID description: The job ID of the app/threat download. type: String - contextPath: Panorama.Content.Download.Status description: The app/threat download status. type: String - contextPath: Panorama.Content.Download.Details description: The download job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the download job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the download status is checked. name: interval_in_seconds defaultValue: '30' description: Downloads the latest antivirus dynamic update. name: pan-os-download-latest-antivirus-update outputs: - contextPath: Panorama.AntiVirus.Download.JobID description: The job ID of the antivirus download. type: String - contextPath: Panorama.AntiVirus.Download.Status description: The antivirus download status. type: String - contextPath: Panorama.AntiVirus.Download.Details description: The download job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the download job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the download status is checked. name: interval_in_seconds defaultValue: '30' description: Downloads the latest WildFire dynamic update. name: pan-os-download-latest-wildfire-update outputs: - contextPath: Panorama.WildFire.Download.JobID description: The job ID of the WildFire download. type: String - contextPath: Panorama.WildFire.Download.Status description: The WildFire download status. type: String - contextPath: Panorama.WildFire.Download.Details description: The download job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the download job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the download status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the download status is checked. name: interval_in_seconds defaultValue: '30' description: Downloads the latest GlobalProtect Clientless VPN dynamic update. name: pan-os-download-latest-gp-update outputs: - contextPath: Panorama.GP.Download.JobID description: The job ID of the GlobalProtect Clientless VPN download. type: String - contextPath: Panorama.GP.Download.Status description: The GlobalProtect Clientless VPN download status. type: String - contextPath: Panorama.GP.Download.Details description: The download job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The job ID to check. name: job_id required: true description: Checks the download status of an app/threat dynamic update. name: pan-os-content-update-download-status outputs: - contextPath: Panorama.Content.Download.JobID description: The job ID to monitor. type: String - contextPath: Panorama.Content.Download.Status description: The download status. type: String - contextPath: Panorama.Content.Download.Details description: The job ID details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the install job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the install status is checked. name: interval_in_seconds defaultValue: '30' description: Installs the latest app/threat dynamic update. name: pan-os-install-latest-content-update outputs: - contextPath: Panorama.Content.Install.JobID description: The job ID of the installation. type: String - contextPath: Panorama.Content.Install.Status description: The installation status. type: String - contextPath: Panorama.Content.Install.Details description: The install job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the install job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the install status is checked. name: interval_in_seconds defaultValue: '30' description: Installs the latest Antivirus update. name: pan-os-install-latest-antivirus-update outputs: - contextPath: Panorama.AntiVirus.Install.JobID description: The job ID of the installation. type: String - contextPath: Panorama.AntiVirus.Install.Status description: The installation status. type: String - contextPath: Panorama.AntiVirus.Install.Details description: The install job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the install job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the install status is checked. name: interval_in_seconds defaultValue: '30' description: Installs the latest WildFire dynamic update. name: pan-os-install-latest-wildfire-update outputs: - contextPath: Panorama.WildFire.Install.JobID description: The job ID of the installation. type: String - contextPath: Panorama.WildFire.Install.Status description: The installation status. type: String - contextPath: Panorama.WildFire.Install.Details description: The install job details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: Job ID for a running download process. Used for status polling. name: job_id hidden: true - description: When set to false, the function will not use polling and will immediately return the ID of the install job. auto: PREDEFINED predefined: - "true" - "false" defaultValue: false name: polling - description: The polling timeout in seconds. When polling is enabled, the command will keep checking the install status until this timeout is reached. name: timeout_in_seconds defaultValue: '3600' - description: The polling interval in seconds. Controls how often the install status is checked. name: interval_in_seconds defaultValue: '30' description: Installs the latest GlobalProtect Clientless VPN dynamic update. name: pan-os-install-latest-gp-update polling: true outputs: - contextPath: Panorama.GP.Install.JobID description: The job ID of the installation. type: String - contextPath: Panorama.GP.Install.Status description: The installation status. type: String - contextPath: Panorama.GP.Install.Details description: The install job details. type: String - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The job ID of the content installation. name: job_id required: true description: Gets the installation status of the app/threat dynamic update. name: pan-os-content-update-install-status outputs: - contextPath: Panorama.Content.Install.JobID description: The job ID of the content installation. type: String - contextPath: Panorama.Content.Install.Status description: The content installation status. type: String - contextPath: Panorama.Content.Install.Details description: The content installation status details. type: String polling: true - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target description: Checks the PAN-OS software version from the repository. name: pan-os-check-latest-panos-software outputs: - contextPath: Panorama.LatestVersions description: Latest software versions. - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The target version number to install. name: target_version required: true description: Downloads the target PAN-OS software version to install on the target device. name: pan-os-download-panos-version outputs: - contextPath: Panorama.PANOS.Download.JobID description: The job ID of the PAN-OS download. type: number - contextPath: Panorama.PANOS.Download.Status description: The status of the PAN-OS download. type: String - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The job ID to check. name: job_id required: true description: Gets the download status of the target PAN-OS software. name: pan-os-download-panos-status outputs: - contextPath: Panorama.PANOS.Download.JobID description: The job ID of the PAN-OS download. type: string - contextPath: Panorama.PANOS.Download.Status description: The PAN-OS download status. type: String - contextPath: Panorama.PANOS.Download.Details description: The PAN-OS download details. type: String - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The target PAN-OS version to install. name: target_version required: true description: Installs the target PAN-OS version on the specified target device. name: pan-os-install-panos-version outputs: - contextPath: Panorama.PANOS.Install.JobID description: The job ID of the PAN-OS installation. type: string - contextPath: Panorama.PANOS.Install.Status description: The status of the PAN-OS installation. type: String - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target - description: The job ID to check. name: job_id required: true description: Gets the installation status of the PAN-OS software. name: pan-os-install-panos-status outputs: - contextPath: Panorama.PANOS.Install.JobID description: The job ID of the PAN-OS installation. type: number - contextPath: Panorama.PANOS.Install.Status description: The status of the PAN-OS installation. type: String - contextPath: Panorama.PANOS.Install.Details description: The PAN-OS installation details. type: String - arguments: - description: Serial number of the firewall on which to run the command. Use only for a Panorama instance. name: target description: Reboots the firewall device. name: pan-os-device-reboot - arguments: - name: ip_address description: The IP address from which to return information. required: true name: pan-os-show-location-ip description: Gets location information for an IP address. outputs: - contextPath: Panorama.Location.IP.country_code description: The IP address location country code. type: String - contextPath: Panorama.Location.IP.country_name description: The IP address location country name. type: String - contextPath: Panorama.Location.IP.ip_address description: The IP address. type: String - contextPath: Panorama.Location.IP.Status description: Whether the IP address was found. type: String - arguments: [] description: Gets information about available PAN-OS licenses and their statuses. name: pan-os-get-licenses outputs: - contextPath: Panorama.License.Authcode description: The authentication code of the license. type: String - contextPath: Panorama.License.Base-license-name description: The base license name. type: String - contextPath: Panorama.License.Description description: The description of the license. type: String - contextPath: Panorama.License.Expired description: Whether the license has expired. type: String - contextPath: Panorama.License.Expires description: When the license will expire. type: String - contextPath: Panorama.License.Feature description: The feature of the license. type: String - contextPath: Panorama.License.Issued description: When the license was issued. type: String - contextPath: Panorama.License.Serial description: The serial number of the license. type: String - arguments: - name: security_profile description: The security profile for which to get information. auto: PREDEFINED predefined: - data-filtering - file-blocking - spyware - url-filtering - virus - vulnerability - wildfire-analysis - name: device-group description: The device group for which to return security profiles. description: Gets information for the specified security profile. name: pan-os-get-security-profiles outputs: - contextPath: Panorama.Spyware.Name description: The profile name. type: String - contextPath: Panorama.Spyware.Rules.Action description: The rule action. type: String - contextPath: Panorama.Spyware.Rules.Category description: The category for which to apply the rule. type: String - contextPath: Panorama.Spyware.Rules.Name description: The rule name. type: String - contextPath: Panorama.Spyware.Rules.Packet-capture description: Whether packet capture is enabled. type: String - contextPath: Panorama.Spyware.Rules.Severity description: The rule severity. type: String - contextPath: Panorama.Spyware.Rules.Threat-name description: The threat name to apply for the rule. type: String - contextPath: Panorama.URLFilter.Name description: The profile name. type: String - contextPath: Panorama.URLFilter.Rules.Category.Action description: The rule action to apply to the category. type: String - contextPath: Panorama.URLFilter.Rules.Category.Name description: The category name. type: String - contextPath: Panorama.WildFire.Name description: The WildFire profile name. type: String - contextPath: Panorama.WildFire.Rules.Analysis description: The rule analysis. type: String - contextPath: Panorama.WildFire.Rules.Application description: The application to apply for the rule. type: String - contextPath: Panorama.WildFire.Rules.File-type description: The file type to apply for the rule. type: String - contextPath: Panorama.WildFire.Rules.Name description: The rule name. type: String - contextPath: Panorama.Vulnerability.Name description: The vulnerability profile name. type: String - contextPath: Panorama.Vulnerability.Rules.Vendor-id description: The vendor ID to apply for the rule. type: String - contextPath: Panorama.Vulnerability.Rules.Packet-capture description: Whether packet capture is enabled. type: String - contextPath: Panorama.Vulnerability.Rules.Host description: The rule host. type: String - contextPath: Panorama.Vulnerability.Rules.Name description: The rule name. type: String - contextPath: Panorama.Vulnerability.Rules.Category description: The category to apply for the rule. type: String - contextPath: Panorama.Vulnerability.Rules.CVE description: The CVE to apply for the rule. type: String - contextPath: Panorama.Vulnerability.Rules.Action description: The rule action. type: String - contextPath: Panorama.Vulnerability.Rules.Severity description: The rule severity. type: String - contextPath: Panorama.Vulnerability.Rules.Threat-name description: The threat to apply for the rule. type: String - contextPath: Panorama.Antivirus.Name description: The antivirus profile name. type: String - contextPath: Panorama.Antivirus.Rules.Action description: The rule action. type: String - contextPath: Panorama.Antivirus.Rules.Name description: The rule name. type: String - contextPath: Panorama.Antivirus.Rules.WildFire-action description: The WildFire action. type: String - contextPath: Panorama.FileBlocking.Name description: The file blocking profile name. type: String - contextPath: Panorama.FileBlocking.Rules.Action description: The rule action. type: String - contextPath: Panorama.FileBlocking.Rules.Application description: The application to apply for the rule. type: String - contextPath: Panorama.FileBlocking.Rules.File-type description: The file type to apply for the rule. type: String - contextPath: Panorama.FileBlocking.Rules.Name description: The rule name. type: String - contextPath: Panorama.DataFiltering.Name description: The data filtering profile name. type: String - contextPath: Panorama.DataFiltering.Rules.Alert-threshold description: The alert threshold. type: String - contextPath: Panorama.DataFiltering.Rules.Application description: The application to apply for the rule. type: String - contextPath: Panorama.DataFiltering.Rules.Block-threshold description: The block threshold. type: String - contextPath: Panorama.DataFiltering.Rules.Data-object description: The data object. type: String - contextPath: Panorama.DataFiltering.Rules.Direction description: The rule direction. type: String - contextPath: Panorama.DataFiltering.Rules.File-type description: The file type to apply for the rule. type: String - contextPath: Panorama.DataFiltering.Rules.Log-severity description: The log severity. type: String - contextPath: Panorama.DataFiltering.Rules.Name description: The rule name. type: String - arguments: - description: The security profile type. name: profile_type required: true auto: PREDEFINED predefined: - data-filtering - file-blocking - spyware - url-filtering - virus - vulnerability - wildfire-analysis - description: The rule name to apply. name: rule_name required: true - description: The profile name to apply to the rule. name: profile_name required: true - auto: PREDEFINED description: The location of the rules. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group for which to apply security profiles. name: device-group description: Applies a security profile to specific rules or rules with a specific tag. name: pan-os-apply-security-profile - arguments: - description: The security profile type. name: profile_type required: true auto: PREDEFINED predefined: - data-filtering - file-blocking - spyware - url-filtering - virus - vulnerability - wildfire-analysis - description: The rule name to apply. name: rule_name required: true - auto: PREDEFINED description: The location of the rules. Mandatory for Panorama instances. name: pre_post predefined: - pre-rulebase - post-rulebase - description: The device group for which to apply security profiles. name: device-group description: Removes a security profile to specific rules or rules with a specific tag. name: pan-os-remove-security-profile - arguments: - description: The location of the rules. Mandatory for Panorama instances. name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase description: Gets SSL decryption rules. name: pan-os-get-ssl-decryption-rules outputs: - contextPath: Panorama.SSLRule.From description: The SSL rule from the source. type: String - contextPath: Panorama.SSLRule.Name description: The name of the SSL rule. type: String - contextPath: Panorama.SSLRule.Destination description: The destination of the SSL rule. type: String - contextPath: Panorama.SSLRule.Target description: The target of the SSL rule. type: String - contextPath: Panorama.SSLRule.Service description: The SSL rule service. type: String - contextPath: Panorama.SSLRule.Action description: The SSL rule action. type: String - contextPath: Panorama.SSLRule.Type description: The SSL rule type. type: String - contextPath: Panorama.SSLRule.Source description: The source of the SSL rule. type: String - contextPath: Panorama.SSLRule.To description: The SSL rule to destination. type: String - contextPath: Panorama.SSLRule.UUID description: The SSL rule UUID. type: String - contextPath: Panorama.SSLRule.Description description: The SSL rule description. type: String - contextPath: Panorama.SSLRule.Source-user description: The SSL rule source user. type: String - contextPath: Panorama.SSLRule.Category description: The SSL rule category. type: String - arguments: - description: The template name. name: template required: true description: Retrieves the Wildfire configuration. name: pan-os-get-wildfire-configuration outputs: - contextPath: Panorama.WildFire.Name description: The file type. type: String - contextPath: Panorama.WildFire.Size-limit description: The file size limit. type: String - contextPath: Panorama.WildFire.recurring description: The schedule that is recurring. type: String - arguments: - description: The URL filtering profile name. Gets the name by running the get-security-profiles command. name: profile_name required: true description: Sets default categories to block in the URL filtering profile. name: pan-os-url-filtering-block-default-categories - arguments: [] description: Get anti-spyware best practices. name: pan-os-get-anti-spyware-best-practice outputs: - contextPath: Panorama.Spyware.BotentDomain.Name description: The botnet domain name. type: String - contextPath: Panorama.Spyware.BotentDomain.Action description: The botnet domain action. type: String - contextPath: Panorama.Spyware.BotentDomain.Packet-capture description: Whether packet capture is enabled. type: String - contextPath: Panorama.Spyware.BotentDomain.Sinkhole.ipv4-address description: The botnet domain IPv4 address. type: String - contextPath: Panorama.Spyware.BotentDomain.Sinkhole.ipv6-address description: The Botnet domain IPv6 address. type: String - contextPath: Panorama.Spyware.Rule.Category description: The rule category. type: String - contextPath: Panorama.Spyware.Rule.Action description: The rule action. type: String - contextPath: Panorama.Spyware.Rule.Name description: The rule name. type: String - contextPath: Panorama.Spyware.Rule.Severity description: The rule severity. type: String - contextPath: Panorama.Spyware.Rule.Threat-name description: The rule threat name. type: String - contextPath: Panorama.Spyware.BotentDomain.Max_version description: The botnet domain max version. type: String - arguments: - description: The name of the anti spyware profile. If the profile exists, the command will operate on it, otherwise, if a new name is given, a new anti-spyware profile will be created. name: anti_spyware_profile_name required: true - name: dns_signature_source description: The EDL name to link to the profile. required: true - name: ipv4_sinkhole_address description: The IPv4 sinkhole address. Only relevant when the action arguemnt is set to 'sinkhole'. - name: ipv6_sinkhole_address description: The IPv6 sinkhole address. Only relevant when the action arguemnt is set to 'sinkhole'. - auto: PREDEFINED description: The action on the DNS queries. name: action predefined: - alert - allow - block - sinkhole required: true - auto: PREDEFINED description: Allows capturing packets on match. Select "single-packet" to capture the first packet of the session or "extended-capture" to set between 1-50 packets. Packet capture can be very CPU intensive and can degrade firewall performance. Only use this feature when necessary and make sure you turn it off after you collect the required packets. name: packet_capture predefined: - disable - single-packet - extended-capture defaultValue: disable description: Enables assigning EDL to the anti-spyware profile under "DNS Signature Policies". name: pan-os-apply-dns-signature-policy - arguments: [] description: Gets file-blocking best practices. name: pan-os-get-file-blocking-best-practice outputs: - contextPath: Panorama.FileBlocking.Rule.Action description: The rule action. type: String - contextPath: Panorama.FileBlocking.Rule.Application description: The rule application. type: String - contextPath: Panorama.FileBlocking.Rule.File-type description: The rule file type. type: String - contextPath: Panorama.FileBlocking.Rule.Name description: The rule name. type: String - arguments: [] description: Gets anti-virus best practices. name: pan-os-get-antivirus-best-practice outputs: - contextPath: Panorama.Antivirus.Decoder.Action description: The rule action. type: String - contextPath: Panorama.Antivirus.Decoder.Name description: The rule name. type: String - contextPath: Panorama.Antivirus.Decoder.WildFire-action description: The WildFire action. type: String - arguments: [] description: Gets vulnerability-protection best practices. name: pan-os-get-vulnerability-protection-best-practice outputs: - contextPath: Panorama.Vulnerability.Rule.Action description: The rule action. type: String - contextPath: Panorama.Vulnerability.Rule.CVE description: The rule CVE. type: String - contextPath: Panorama.Vulnerability.Rule.Category description: The rule category. type: String - contextPath: Panorama.Vulnerability.Rule.Host description: The rule host. type: String - contextPath: Panorama.Vulnerability.Rule.Name description: The rule name. type: String - contextPath: Panorama.Vulnerability.Rule.Severity description: The rule severity. type: String - contextPath: Panorama.Vulnerability.Rule.Threat-name description: The threat name. type: String - contextPath: Panorama.Vulnerability.Rule.Vendor-id description: The vendor ID. type: String - arguments: [] description: Views WildFire best practices. name: pan-os-get-wildfire-best-practice outputs: - contextPath: Panorama.WildFire.Analysis description: The WildFire analysis. type: String - contextPath: Panorama.WildFire.Application description: The WildFire application. type: String - contextPath: Panorama.WildFire.File.File-size description: The recommended file size. type: String - contextPath: Panorama.WildFire.File.Name description: The file name. type: String - contextPath: Panorama.WildFire.File-type description: The WildFire profile file type. type: String - contextPath: Panorama.WildFire.Name description: The WildFire profile name. type: String - contextPath: Panorama.WildFire.SSLDecrypt description: The SSL decrypt content. type: String - contextPath: Panorama.WildFire.Schedule.Action description: The WildFire schedule action. type: String - contextPath: Panorama.WildFire.Schedule.Recurring description: The WildFire schedule recurring. type: String - arguments: [] description: Views URL filtering best practices. name: pan-os-get-url-filtering-best-practice outputs: - contextPath: Panorama.URLFilter.Category.Action description: The action to perform on the category. type: String - contextPath: Panorama.URLFilter.Category.Name description: The category name. type: String - contextPath: Panorama.URLFilter.DeviceGroup description: The device group name. type: String - contextPath: Panorama.URLFilter.Name description: The profile name. type: String - contextPath: Panorama.URLFilter.Header.log-container-page-only description: The log container page only. type: String - contextPath: Panorama.URLFilter.Header.log-http-hdr-referer description: The log HTTP header referrer. type: String - contextPath: Panorama.URLFilter.Header.log-http-hdr-user description: The log HTTP header user. type: String - contextPath: Panorama.URLFilter.Header.log-http-hdr-xff description: The log HTTP header xff. type: String - arguments: - description: The template name. name: template required: true description: Enforces Wildfire best practices to upload files to the maximum size, forwards all file types, and updates the schedule. name: pan-os-enforce-wildfire-best-practice - arguments: - description: The name of the profile to create. name: profile_name required: true description: Creates an antivirus best practice profile. name: pan-os-create-antivirus-best-practice-profile - arguments: - description: The profile name to create. name: profile_name required: true description: Creates an Anti-Spyware best practice profile. name: pan-os-create-anti-spyware-best-practice-profile - arguments: - description: The profile name. name: profile_name required: true description: Creates a vulnerability protection best practice profile. name: pan-os-create-vulnerability-best-practice-profile - arguments: - description: The profile name. name: profile_name required: true description: Creates a URL filtering best practice profile. name: pan-os-create-url-filtering-best-practice-profile - arguments: - description: The name of the profile. name: profile_name required: true description: Creates a file blocking best practice profile. name: pan-os-create-file-blocking-best-practice-profile - arguments: - description: The name of the profile. name: profile_name required: true description: Creates a WildFire analysis best practice profile. name: pan-os-create-wildfire-best-practice-profile - arguments: - description: The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. name: template - description: The template stack to use when running the command. name: template_stack - description: "The name of the virtual system to be configured. Will use the configured VSYS parameter if exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. " name: vsys description: Shows the user ID interface configuration. name: pan-os-show-user-id-interfaces-config outputs: - contextPath: Panorama.UserInterfaces.Name description: The name of the user interface. type: String - contextPath: Panorama.UserInterfaces.Zone description: The zone to which the interface is connected. type: String - contextPath: Panorama.UserInterfaces.EnableUserIdentification description: Whether user identification is enabled. type: String - arguments: - description: The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. name: template - description: The template stack to use when running the command. name: template_stack - description: "The name of the virtual system to be configured. Will use the configured VSYS parameter if it exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. " name: vsys description: Shows the zones configuration. name: pan-os-show-zones-config outputs: - contextPath: Panorama.Zone.Name description: The name of the zone. type: String - contextPath: Panorama.Zone.Network description: The network to which the zone is connected. type: String - contextPath: Panorama.Zone.EnableUserIdentification description: Whether user identification is enabled. type: String - contextPath: Panorama.Zone.ZoneProtectionProfile description: The zone protection profile. type: String - contextPath: Panorama.Zone.LogSetting description: The log setting for the zone. type: String - arguments: - description: The template to use when running the command. Overrides the template parameter (Panorama instances). If not given, will use the integration parameter. name: template - description: The template stack to use when running the command. name: template_stack - description: "The name of the virtual system to be configured. Will use the configured VSYS parameter if it exists. If given a value, will override the VSYS parameter. If neither the VSYS parameter and this argument are entered, will default to 'vsys1'. " name: vsys description: Retrieves a list of user-ID agents configured in the system. name: pan-os-list-configured-user-id-agents outputs: - contextPath: Panorama.UserIDAgents.Name type: String description: The user ID agent name. - contextPath: Panorama.UserIDAgents.Host description: The user ID agent host. type: String - contextPath: Panorama.UserIDAgents.Port description: The user ID agent port. type: Number - contextPath: Panorama.UserIDAgents.LdapProxy description: Whether LDAP proxy is used in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.NtlmAuth description: Whether NLTM authentication is used in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.EnableHipCollection type: String description: Whether HIP collection is enabled in the user ID agent. - contextPath: Panorama.UserIDAgents.IpUserMapping description: Whether IP user mapping is enabled in the user ID agent. type: String - contextPath: Panorama.UserIDAgents.SerialNumber description: The serial number associated with the user ID agent. type: Unknown - contextPath: Panorama.UserIDAgents.CollectorName description: The user ID agent collector name. type: String - contextPath: Panorama.UserIDAgents.Secret description: The user ID agent secret. type: String - contextPath: Panorama.UserIDAgents.Disabled description: Whether the user ID agent is disbaled. type: String - arguments: - description: Entry ID of the file to upload. name: entryID required: true - description: The category of the content. name: category required: true auto: PREDEFINED predefined: - wildfire - anti-virus - content description: >- Uploads a content file to Panorama. name: pan-os-upload-content-update-file outputs: - contextPath: Panorama.Content.Upload.Status type: string description: The content upload status. - contextPath: Panorama.Content.Upload.Message description: The content upload message. type: string - arguments: - description: The update file name to be installed on PAN-OS. name: version_name required: true - description: The category of the content. name: category required: true auto: PREDEFINED predefined: - wildfire - anti-virus - content - defaultValue: 'no' description: Skips the file validity check with the PAN-OS update server. Use this option for air-gapped networks and only if you trust the content file. name: skip_validity_check auto: PREDEFINED predefined: - yes - no required: true description: Installs a specific content update file. name: pan-os-install-file-content-update outputs: - contextPath: Panorama.Content.Install.JobID type: string description: The job ID of the installation. - contextPath: Panorama.Content.Install.Status description: The installation status. type: string - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: >- Gets all ARP tables from all firewalls in the topology. name: pan-os-platform-get-arp-tables outputs: - contextPath: PANOS.ShowArp.Summary.hostid type: String description: The ID of the PAN-OS host. - contextPath: PANOS.ShowArp.Summary.max description: The maximum number of supported ARP entries. type: String - contextPath: PANOS.ShowArp.Summary.total description: The total number of current ARP entries. type: String - contextPath: PANOS.ShowArp.Summary.timeout description: The ARP entry timeout. type: String - contextPath: PANOS.ShowArp.Summary.dp type: String description: The firewall dataplane associated with the entry. - contextPath: PANOS.ShowArp.Result.hostid description: The ID of the PAN-OS host. type: String - contextPath: PANOS.ShowArp.Result.interface description: The network interface learned ARP entry. type: String - contextPath: PANOS.ShowArp.Result.ip description: The layer 3 address. type: String - contextPath: PANOS.ShowArp.Result.mac description: The layer 2 address. type: String - contextPath: PANOS.ShowArp.Result.port description: The network interface matching entry. type: String - contextPath: PANOS.ShowArp.Result.status description: The ARP entry status. type: String - contextPath: PANOS.ShowArp.Result.ttl description: The time to live. type: String - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Pulls all route summary information from the topology. name: pan-os-platform-get-route-summary outputs: - contextPath: PANOS.ShowRouteSummary.Summary.hostid type: Number description: The ID of the PAN-OS host. - contextPath: PANOS.ShowRouteSummary.Summary.total description: The total number of routes. type: Number - contextPath: PANOS.ShowRouteSummary.Summary.limit description: The maximum number of routes for the platform. type: Number - contextPath: PANOS.ShowRouteSummary.Summary.active description: The active routes in the routing table. type: Number - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Pulls all route summary information from the topology. name: pan-os-platform-get-routes outputs: - contextPath: PANOS.ShowRoute.Summary.hostid type: String description: The ID of the PAN-OS host. - contextPath: PANOS.ShowRoute.Summary.interface description: The next hop interface. type: String - contextPath: PANOS.ShowRoute.Summary.route_count description: The total number of routes seen on the virtual router interface. type: Number - contextPath: PANOS.ShowRoute.Result.hostid description: The ID of the PAN-OS host. type: String - contextPath: PANOS.ShowRoute.Result.virtual_router description: The virtual router this route belongs to. type: String - contextPath: PANOS.ShowRoute.Result.destination description: The network destination of the route. type: String - contextPath: PANOS.ShowRoute.Result.nexthop description: The next hop to the destination. type: String - contextPath: PANOS.ShowRoute.Result.metric description: The route metric. type: String - contextPath: PANOS.ShowRoute.Result.flags description: The route flags. type: String - contextPath: PANOS.ShowRoute.Result.age description: The age of the route. type: Number - contextPath: PANOS.ShowRoute.Result.interface description: The next hop interface. type: String - contextPath: PANOS.ShowRoute.Result.route_table description: The route table this route belongs to. type: String - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: >- Gets information from all PAN-OS systems in the topology. name: pan-os-platform-get-system-info outputs: - contextPath: PANOS.ShowSystemInfo.Summary.hostid type: String description: The ID of the PAN-OS host. - contextPath: PANOS.ShowSystemInfo.Summary.ip_address description: The management IP address. type: String - contextPath: PANOS.ShowSystemInfo.Summary.sw_version description: The system software version. type: String - contextPath: PANOS.ShowSystemInfo.Summary.family description: The platform family. type: String - contextPath: PANOS.ShowSystemInfo.Summary.model description: The platform model. type: String - contextPath: PANOS.ShowSystemInfo.Summary.uptime type: String description: The total system uptime. - contextPath: PANOS.ShowSystemInfo.Summary.hostname type: String description: The system hostname. - contextPath: PANOS.ShowSystemInfo.Result.hostid type: String description: The ID of the PAN-OS host. - contextPath: PANOS.ShowSystemInfo.Result.ip_address type: String description: The management IP address. - contextPath: PANOS.ShowSystemInfo.Result.netmask type: String description: The management netmask. - contextPath: PANOS.ShowSystemInfo.Result.mac_address type: String description: The management MAC address. - contextPath: PANOS.ShowSystemInfo.Result.uptime type: String description: The total system uptime. - contextPath: PANOS.ShowSystemInfo.Result.family type: String description: The platform family. - contextPath: PANOS.ShowSystemInfo.Result.model description: The platform model. type: String - contextPath: PANOS.ShowSystemInfo.Result.sw_version description: The system software version. type: String - contextPath: PANOS.ShowSystemInfo.Result.operational_mode description: The xurrent operational mode. type: String - contextPath: PANOS.ShowSystemInfo.Result.ipv6_address description: The management IPv6 address. type: String - contextPath: PANOS.ShowSystemInfo.Result.default_gateway description: The management default gateway. type: String - contextPath: PANOS.ShowSystemInfo.Result.public_ip_address description: The firewall public IP address. type: String - contextPath: PANOS.ShowSystemInfo.Result.hostname description: The device hostname. type: String - contextPath: PANOS.ShowSystemInfo.Result.av_version description: The system anti-virus version. type: String - contextPath: PANOS.ShowSystemInfo.Result.av_release_date description: The release date of the antivirus content. type: String - contextPath: PANOS.ShowSystemInfo.Result.app_version description: The app content version. type: String - contextPath: PANOS.ShowSystemInfo.Result.app_release_date description: The release date of the application content. type: String - contextPath: PANOS.ShowSystemInfo.Result.threat_version description: The threat content version. type: String - contextPath: PANOS.ShowSystemInfo.Result.threat_release_date description: The release date of the threat content. type: String - contextPath: PANOS.ShowSystemInfo.Result.wildfire_version description: The Wildfire content version. type: String - contextPath: PANOS.ShowSystemInfo.Result.wildfire_release_date description: The Wildfire release date. type: String - contextPath: PANOS.ShowSystemInfo.Result.url_filtering_version description: The URL filtering content version. type: String - contextPath: PANOS.ShowSystemInfo.Result.global_protect_client_package_version description: The GlobalProtect client package version. type: String - contextPath: PANOS.ShowSystemInfo.Result.advanced_routing description: Advanced routing feature. type: String - contextPath: PANOS.ShowSystemInfo.Result.multi_vsys description: Virtual system feature. type: String - arguments: - description: The Panorama hostname or serial number used to filter device groups. This command is specifically for Panorama and requires an exact match (substrings are not supported). name: device_filter_string description: Gets operational information for all device groups in the Panorama topology, including group names, hierarchy, and associated firewalls. If no filter is provided, the command returns all device groups within the Panorama instance. name: pan-os-platform-get-device-groups outputs: - contextPath: PANOS.DeviceGroupOp.hostid type: String description: The ID of the PAN-OS host. - contextPath: PANOS.DeviceGroupOp.serial description: The serial number of the firewall. type: String - contextPath: PANOS.DeviceGroupOp.connected description: Whether the firewall is currently connected. type: String - contextPath: PANOS.DeviceGroupOp.hostname description: The firewall hostname. type: String - contextPath: PANOS.DeviceGroupOp.last_commit_all_state_sp type: String description: The state of the last commit. - contextPath: PANOS.DeviceGroupOp.name description: The device group name. type: String - arguments: - description: 'The string by which to filter the results to only show specific hostnames or serial numbers.' name: device_filter_string description: >- Gets the operational information of the template stacks in the topology. name: pan-os-platform-get-template-stacks outputs: - contextPath: PANOS.TemplateStackOp.hostid type: String description: The ID of the PAN-OS host. - contextPath: PANOS.TemplateStackOp.serial description: The serial number of the firewall. type: String - contextPath: PANOS.TemplateStackOp.connected description: Whether the firewall is currently connected. type: String - contextPath: PANOS.TemplateStackOp.hostname description: The firewall hostname. type: String - contextPath: PANOS.TemplateStackOp.last_commit_all_state_tpl type: String description: The state of the last commit. - contextPath: PANOS.TemplateStackOp.name description: The template stack name. type: String - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Gets global counter information from all the PAN-OS firewalls in the topology. name: pan-os-platform-get-global-counters outputs: - contextPath: PANOS.ShowCounters.Summary.hostid description: The host ID. type: String - contextPath: PANOS.ShowCounters.Summary.name description: The human readable counter name. type: String - contextPath: PANOS.ShowCounters.Summary.value description: The current counter value. type: Number - contextPath: PANOS.ShowCounters.Summary.rate description: The packets per second rate. type: Number - contextPath: PANOS.ShowCounters.Summary.desc type: String description: The human readable counter description. - contextPath: PANOS.ShowCounters.Result.hostid description: The host ID. type: String - contextPath: PANOS.ShowCounters.Result.category description: The counter category. type: String - contextPath: PANOS.ShowCounters.Result.name description: The human readable counter name. type: String - contextPath: PANOS.ShowCounters.Result.value description: The current counter value. type: Number - contextPath: PANOS.ShowCounters.Result.rate description: The packets per second rate. type: Number - contextPath: PANOS.ShowCounters.Result.aspect description: The PAN-OS aspect. type: String - contextPath: PANOS.ShowCounters.Result.desc description: The human readable counter description. type: String - contextPath: PANOS.ShowCounters.Result.id description: The counter ID. type: String - contextPath: PANOS.ShowCounters.Result.severity description: The counter severity. type: String - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Retrieves all BGP peer information from the PAN-OS firewalls in the topology. name: pan-os-platform-get-bgp-peers outputs: - contextPath: PANOS.ShowBGPPeers.Summary.hostid description: The host ID. type: String - contextPath: PANOS.ShowBGPPeers.Summary.peer description: The name of the Border Gateway Protocol (BGP) peer. type: String - contextPath: PANOS.ShowBGPPeers.Summary.status description: The peer connection status. type: String - contextPath: PANOS.ShowBGPPeers.Summary.incoming_accepted description: The total number of accepted routes from the peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.hostid type: String description: The host ID. - contextPath: PANOS.ShowBGPPeers.Result.peer description: The name of the Border Gateway Protocol (BGP) peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.vr description: The virtual router in which the peer resides. type: String - contextPath: PANOS.ShowBGPPeers.Result.remote_as description: The remote AS (Autonomous System) of the peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.status description: The peer connection status. type: String - contextPath: PANOS.ShowBGPPeers.Result.peer_address description: The IP address and port of the peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.local_address description: The local router address and port. type: String - contextPath: PANOS.ShowBGPPeers.Result.incoming_total description: The total incoming routes from the peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.incoming_accepted description: The total accepted routes from the peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.incoming_rejected description: The total rejected routes from peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.policy_rejected description: The total routes rejected by the peer by policy. type: String - contextPath: PANOS.ShowBGPPeers.Result.outgoing_total description: The total routes advertised to the peer. type: String - contextPath: PANOS.ShowBGPPeers.Result.outgoing_advertised description: The number of advertised routes to the peer. type: String - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Checks the devices for software that is available to be installed. name: pan-os-platform-get-available-software outputs: - contextPath: PANOS.SoftwareVersions.Summary.hostid description: The host ID. type: String - contextPath: PANOS.SoftwareVersions.Summary.version description: The software version in Major.Minor.Maint format. type: String - contextPath: PANOS.SoftwareVersions.Summary.filename description: The software version filename. type: String - contextPath: PANOS.SoftwareVersions.Summary.size description: The size of the software in MB. type: String - contextPath: PANOS.SoftwareVersions.Summary.size_kb type: String description: The size of the software in KB. - contextPath: PANOS.SoftwareVersions.Summary.release_notes description: The link to version release notes on PAN knowledge base. type: String - contextPath: PANOS.SoftwareVersions.Summary.downloaded description: True if the software version is present on the system. type: Boolean - contextPath: PANOS.SoftwareVersions.Summary.current description: True if this is the currently installed software on the system. type: Boolean - contextPath: PANOS.SoftwareVersions.Summary.latest description: True if this is the most recently released software for this platform. type: Boolean - contextPath: PANOS.SoftwareVersions.Summary.uploaded type: Boolean description: True if the software version has been uploaded to the system. - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Gets the HA state and associated details from the given device and any other details. name: pan-os-platform-get-ha-state outputs: - contextPath: PANOS.HAState.hostid description: The host ID. type: String - contextPath: PANOS.HAState.active description: Whether this is the active firewall in a pair. "True" if standalone as well. type: Boolean - contextPath: PANOS.HAState.status description: The string HA status. type: String - contextPath: PANOS.HAState.peer description: The HA peer. type: String - arguments: - description: 'The string by which to filter the results to only show specific hostnames or serial numbers.' name: device_filter_string - description: The filter to return jobs by status. name: status - description: The filter to return jobs by type. name: job_type - description: The filter to return jobs by ID. Required when "polling" is set to true. name: id - description: The target number of the firewall. Used only on a Panorama instance. name: target - auto: PREDEFINED defaultValue: 'false' description: Whether to poll the job status until it reaches a terminal state (FIN). Requires a single job "id" to be provided. When enabled, the "status" and "job_type" filters are ignored. name: polling predefined: - 'true' - 'false' - defaultValue: '30' description: The interval between poll attempts, in seconds. name: interval_in_seconds - defaultValue: '3600' description: The maximum time to wait for the job to reach a terminal state, in seconds. If the timeout is reached before the job finishes, the command returns the last known result. name: timeout_in_seconds description: >- Gets all the jobs from the devices in the environment, or a single job when the ID is specified. Supports polling when a single job ID is provided. name: pan-os-platform-get-jobs polling: true outputs: - contextPath: PANOS.JobStatus.hostid description: The host ID. type: String - contextPath: PANOS.JobStatus.id description: The ID of the job. type: Number - contextPath: PANOS.JobStatus.type description: The job type. type: String - contextPath: PANOS.JobStatus.tfin description: The time the job finished. type: String - contextPath: PANOS.JobStatus.status description: The status of the job. type: String - contextPath: PANOS.JobStatus.result type: String description: The result of the job. - contextPath: PANOS.JobStatus.user type: String description: The user who initiated the job. - contextPath: PANOS.JobStatus.tenq type: String description: The time the job was queued into the system. - contextPath: PANOS.JobStatus.stoppable type: String description: Whether the job can be stopped after it started. - contextPath: PANOS.JobStatus.description type: String description: The job description. - contextPath: PANOS.JobStatus.positionInQ type: String description: The position of the job in the current job queue. - contextPath: PANOS.JobStatus.progress type: String description: The numerical progress of the job. - contextPath: PANOS.JobStatus.warnings type: String description: The warnings of the job. - arguments: - description: The software version to upgrade to, for example, 9.1.2. name: version required: true - description: The string by which to filter the results to only install to specific devices or serial numbers. name: device_filter_string - defaultValue: 'false' description: If provided, runs the download synchronously. Make sure 'execution-timeout' is increased. name: sync - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Downloads the provided software version onto the device. name: pan-os-platform-download-software outputs: - contextPath: PANOS.DownloadStatus.Summary.hostid type: String description: The host ID. - contextPath: PANOS.DownloadStatus.Summary.started description: Whether the download process started. type: String - arguments: - description: The serial number, or IP address for a Panorama instance, to reboot. name: target required: true description: > Reboots the given device by host ID. Warning: This command has no confirmation and the device will immediately reboot. This command can be disruptive. name: pan-os-platform-reboot outputs: - contextPath: PANOS.RestartStatus.Summary.hostid type: String description: The host ID. - contextPath: PANOS.RestartStatus.Summary.started description: Whether the download process started. type: String execution: true - arguments: - description: The serial number, or IP address for a Panorama instance, to reboot. name: target required: true - auto: PREDEFINED description: Whether to use polling. When set to "true", the command polls the target device until it becomes available (operational mode "normal") or the timeout is reached. defaultValue: 'false' name: polling predefined: - 'true' - 'false' - description: The interval (in seconds) between polling attempts. name: interval_in_seconds defaultValue: '30' - description: The timeout (in seconds) when polling. name: timeout defaultValue: '1200' description: Checks the status of the given device, checking whether it's up or down and if the operational mode is normal. Supports polling to wait until the device becomes available. name: pan-os-platform-get-system-status polling: true outputs: - contextPath: PANOS.SystemStatus.hostid type: String description: The host ID. - contextPath: PANOS.SystemStatus.up description: Whether the host device is up or still unavailable. type: String - arguments: - description: The serial number, or IP address for a Panorama instance, to reboot. name: target required: true - description: The new state. name: state required: true auto: PREDEFINED predefined: - functional - peer - suspend description: Checks the status of the given device, checking whether it's up or down and if the operational mode is normal. name: pan-os-platform-update-ha-state outputs: - contextPath: PANOS.HAStateUpdate.hostid description: The host ID. type: String - contextPath: PANOS.HAStateUpdate.state description: The new HA state. type: String - arguments: - description: The string by which to filter so that only the given device is checked. name: device_filter_string description: Checks that at least one log forwarding profile is configured according to best practices. name: pan-os-hygiene-check-log-forwarding outputs: - contextPath: PANOS.ConfigurationHygiene.Summary.description description: The description of the hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_code description: The shorthand code for this hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.result description: Whether the check passed or failed. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_count description: The total number of matching issues. type: Number - contextPath: PANOS.ConfigurationHygiene.Result.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygiene.Result.container_name description: The parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygiene.Result.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.name description: The affected object name. type: String - arguments: - description: The string by which to filter so that only the given device is checked. name: device_filter_string - description: A comma-separated list of severities that must be in drop/reset/block-ip mode. name: minimum_block_severities defaultValue: critical,high isArray: true - defaultValue: medium,low description: A comma-separated list of severities that must be in alert/default or higher mode. isArray: true name: minimum_alert_severities - auto: PREDEFINED defaultValue: 'no' description: Whether or not to return details about profiles that do not conform to best practices. name: return_nonconforming_profiles predefined: - 'yes' - 'no' description: Checks the configured vulnerability profiles to ensure at least one meets best practices. name: pan-os-hygiene-check-vulnerability-profiles outputs: - contextPath: PANOS.ConfigurationHygiene.Summary.description type: String description: The description of the hygiene check. - contextPath: PANOS.ConfigurationHygiene.Summary.issue_code description: The shorthand code for this hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.result description: Whether the check passed or failed. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_count description: The total number of matching issues. type: Number - contextPath: PANOS.ConfigurationHygiene.Result.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygiene.Result.container_name description: The parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygiene.Result.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.name description: The affected object name. type: String - arguments: - description: 'Software version to upgrade to, for example: 9.1.2.' name: version required: true - description: The string by which to filter to only install to specific devices or serial numbers. name: device_filter_string - description: If provided, runs the download synchronously. Make sure 'execution-timeout' is increased. name: sync defaultValue: 'false' - description: The target number of the firewall. Used only on a Panorama instance. name: target description: Installs the given software version onto the device. Downloads the software first with panorama-download-panos-version. name: pan-os-platform-install-software outputs: - contextPath: PANOS.InstallStatus.Summary.hostid type: String description: The host ID. - contextPath: PANOS.InstallStatus.Summary.started description: Whether the download process has started. type: String - arguments: - description: The string by which to filter to only check given devices. name: device_filter_string - description: A CSV list of severities that must be in drop/reset/block-ip mode. name: minimum_block_severities defaultValue: critical,high - description: A CSV list of severities that must be in alert/default or higher mode. name: minimum_alert_severities defaultValue: medium,low - auto: PREDEFINED defaultValue: 'no' description: Whether or not to return details about profiles that do not conform to best practices. name: return_nonconforming_profiles predefined: - 'yes' - 'no' description: Checks the configured anti-spyware profiles to ensure at least one meets best practices. name: pan-os-hygiene-check-spyware-profiles outputs: - contextPath: PANOS.ConfigurationHygiene.Summary.description type: String description: The description of the check. - contextPath: PANOS.ConfigurationHygiene.Summary.issue_code description: The shorthand code for this hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.result description: Whether the check passed or failed. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_count description: The total number of matching issues. type: String - contextPath: PANOS.ConfigurationHygiene.Result.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygiene.Result.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygiene.Result.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.description description: The human readable description of issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.name description: The affected object name. type: String - arguments: - description: The string to filter to only check a given device. name: device_filter_string - auto: PREDEFINED defaultValue: 'no' description: Whether or not to return details about profiles that do not conform to best practices. name: return_nonconforming_profiles predefined: - 'yes' - 'no' description: Checks the configured URL filtering profiles to ensure at least one meets best practices of blocking the following URL categories - abused-drugs, adult, command-and-control, compromised-websites, gambling, grayware, hacking, malware, phishing, questionable, ransomware, scanning-activity, weapons. name: pan-os-hygiene-check-url-filtering-profiles outputs: - contextPath: PANOS.ConfigurationHygiene.Summary.description type: String description: The description of the check. - contextPath: PANOS.ConfigurationHygiene.Summary.issue_code description: The shorthand code for this hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.result description: Whether the check passed or failed. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_count description: The total number of matching issues. type: String - contextPath: PANOS.ConfigurationHygiene.Result.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygiene.Result.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygiene.Result.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.name description: The affected object name. type: String - arguments: - description: The string to filter to only check a given device. name: device_filter_string description: Returns a list of existing PANOS URL filtering objects that conform to best practices. name: pan-os-hygiene-conforming-url-filtering-profiles outputs: - contextPath: PANOS.PanosObject.hostid description: The host ID. type: String - contextPath: PANOS.PanosObject.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.PanosObject.name description: The PAN-OS object name. type: String - contextPath: PANOS.PanosObject.object_type description: The PAN-OS-Python object type. type: String - arguments: - description: The string to filter to only check a given device. name: device_filter_string - description: A CSV list of severities that must be in drop/reset/block-ip mode. name: minimum_block_severities defaultValue: critical,high - description: A CSV list of severities that must be in alert/default or higher mode. name: minimum_alert_severities defaultValue: medium,low description: Returns all anti-spyware profiles that conform to best practices. name: pan-os-hygiene-conforming-spyware-profiles outputs: - contextPath: PANOS.PanosObject.hostid description: The host ID. type: String - contextPath: PANOS.PanosObject.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.PanosObject.name description: The PAN-OS object name. type: String - contextPath: PANOS.PanosObject.object_type description: The PAN-OS-Python object type. type: String - arguments: - description: The string to filter to only check a given device. name: device_filter_string - description: A CSV list of severities that must be in drop/reset/block-ip mode. name: minimum_block_severities defaultValue: critical,high - description: A CSV list of severities that must be in alert/default or higher mode. name: minimum_alert_severities defaultValue: medium,low description: Returns all vulnerability profiles that conform to best practices. name: pan-os-hygiene-conforming-vulnerability-profiles outputs: - contextPath: PANOS.PanosObject.hostid description: The host ID. type: String - contextPath: PANOS.PanosObject.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.PanosObject.name description: The PAN-OS object name. type: String - contextPath: PANOS.PanosObject.object_type description: The PAN-OS-Python object type. type: String - arguments: - description: The string to filter to only check a given device. name: device_filter_string description: Checks that configured security zones have correct settings. name: pan-os-hygiene-check-security-zones outputs: - contextPath: PANOS.ConfigurationHygiene.Summary.description description: The description of the check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_code description: The shorthand code for this hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.result description: Whether the check passed or failed. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_count description: The total number of matching issues. type: String - contextPath: PANOS.ConfigurationHygiene.Result.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygiene.Result.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygiene.Result.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.name description: The affected object name. type: String - arguments: - description: The string to filter to only check a given device. name: device_filter_string description: Checks that security rules are configured correctly. name: pan-os-hygiene-check-security-rules outputs: - contextPath: PANOS.ConfigurationHygiene.Summary.description description: The description of the check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_code description: The shorthand code for this hygiene check. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.result description: Whether the check passed or failed. type: String - contextPath: PANOS.ConfigurationHygiene.Summary.issue_count description: The total number of matching issues. type: String - contextPath: PANOS.ConfigurationHygiene.Result.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygiene.Result.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygiene.Result.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.description description: The human readable description of issue. type: String - contextPath: PANOS.ConfigurationHygiene.Result.name description: The affected object name. type: String - arguments: - description: The Dictionary of Hygiene issue, from a hygiene check command. Can be a list. name: issue isArray: true required: true description: Fixes log forwarding issues identified by pan-os-hygiene-check-log-forwarding. name: pan-os-hygiene-fix-log-forwarding outputs: - contextPath: PANOS.ConfigurationHygieneFix.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygieneFix.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygieneFix.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.name description: The affected object name. type: String - arguments: - description: The Dictionary of Hygiene issue, from a hygiene check command. Can be a list. name: issue required: true isArray: true - description: The name of the log forwarding profile to set. name: log_forwarding_profile_name required: true description: Fixes security zones that are configured without a valid log forwarding profile. name: pan-os-hygiene-fix-security-zone-log-settings outputs: - contextPath: PANOS.ConfigurationHygieneFix.hostid type: String description: The host ID. - contextPath: PANOS.ConfigurationHygieneFix.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygieneFix.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.name description: The affected object name. type: String - arguments: - description: The Dictionary of Hygiene issue, from a hygiene check command. Can be a list. name: issue required: true isArray: true - description: The name of the log forwarding profile. name: log_forwarding_profile_name required: true description: Fixes security rules that have incorrect log settings by adding a log forwarding profile and setting. name: pan-os-hygiene-fix-security-rule-log-settings outputs: - contextPath: PANOS.ConfigurationHygieneFix.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygieneFix.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygieneFix.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.name description: The affected object name. type: String - arguments: - description: The Dictionary of Hygiene issue, from a hygiene check command. Can be a list. name: issue required: true isArray: true - description: The name of the security profile group to use as the log setting. name: security_profile_group_name required: true description: Fixes security rules that have incorrect log settings by adding a log forwarding profile and setting. name: pan-os-hygiene-fix-security-rule-profile-settings outputs: - contextPath: PANOS.ConfigurationHygieneFix.hostid description: The host ID. type: String - contextPath: PANOS.ConfigurationHygieneFix.container_name description: What parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.ConfigurationHygieneFix.issue_code description: The shorthand code for the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.description description: The human readable description of the issue. type: String - contextPath: PANOS.ConfigurationHygieneFix.name description: The affected object name. type: String - arguments: - description: The type of object to search. See https://pandevice.readthedocs.io/en/latest/module-objects.html. name: object_type auto: PREDEFINED predefined: - AddressObject - AddressGroup - ServiceGroup - ServiceObject - ApplicationObject - ApplicationGroup - LogForwardingProfile - SecurityProfileGroup - SecurityRule - NatRule required: true - description: If provided, only objects from the given device are returned. name: device_filter_string - description: The name of the object reference to return if looking for a specific object. Supports regex if "use_regex" is set. name: object_name - description: The parent vsys or device group to search. If not provided, all will be returned. name: parent - description: Enables regex matching on an object name. name: use_regex description: Searches and returns a reference for the given object type and name. If no name is provided, all objects of the given type will be returned. Note this ONLY returns the object name and its location in the configuration hierachy, not the entire object. name: pan-os-config-get-object outputs: - contextPath: PANOS.PanosObject.hostid description: Host ID. type: String - contextPath: PANOS.PanosObject.container_name description: The parent container (DG, Template, VSYS) this object belongs to. type: String - contextPath: PANOS.PanosObject.name description: The PAN-OS object name. type: String - contextPath: PANOS.PanosObject.object_type description: The PAN-OS python object type. type: String - arguments: - description: Serial number of the device from which to fetch the device state. name: target required: true - description: Name of the file for the state file to be saved. Default will use the hostname as the filename. name: filename - description: The IP Address of a Panorama managed firewall. Default will use Panorama-supplied IP Address. name: ip_address description: Get the device state from the provided device. Note; This will attempt to connect directly to the provided target to get the device state. If the IP address as reported in "show system info" is unreachable, this command will fail. name: pan-os-platform-get-device-state outputs: - contextPath: InfoFile.Name description: Filename. type: String - contextPath: InfoFile.EntryID description: Entry ID. type: String - contextPath: InfoFile.Size description: Size of the file. type: String - contextPath: InfoFile.Type description: Type of the file. type: String - contextPath: InfoFile.Info description: Basic information of the file. type: String - arguments: - description: The name of the template to retrieve. If not provided then all available templates will be returned. name: template_name - description: The maximum number of templates to retrieve. This value is used by default if page argument is not provided. name: limit defaultValue: '50' - description: The page size of the templates to return. name: page_size defaultValue: '50' - description: The page at which to start listing templates. This must be a positive number. name: page description: Returns a list of available templates. (To be used only in Panorama instances). name: pan-os-list-templates outputs: - contextPath: Panorama.Template.Name description: The name of the template. type: String - contextPath: Panorama.Template.Description description: The description of the template. type: String - contextPath: Panorama.Template.Variable.Name description: The variable name of the template. type: String - contextPath: Panorama.Template.Variable.Type description: The type of template. type: String - contextPath: Panorama.Template.Variable.Value description: The value of the variable of the template. type: String - contextPath: Panorama.Template.Variable.Description description: The description of the variable of the template. type: String - arguments: - description: The name of the NAT rule to retrieve. If not mentioned, will bring all the NAT rules. name: name - description: The device group in which the NAT rules are part of. name: device-group - description: The pre-rule or post-rule (Panorama instances only). name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase - auto: PREDEFINED description: Whether to show the un-committed rules or not. name: show_uncommitted predefined: - 'true' - 'false' defaultValue: 'false' - description: Whether to retrieve the disabled rules. If not mentioned, will retrieve all the NAT rules. name: disabled auto: PREDEFINED predefined: - yes - no - auto: PREDEFINED description: The type of the NAT rules to retrieve. If not mentioned, will retrieve all the NAT rules. name: nat_type predefined: - ipv4 - nat64 - nptv6 - description: A comma-separated list of tags of the NAT rules to retrieve. If not mentioned, will retrieve all the NAT rules. isArray: true name: tags - description: Free query to retrieve NAT rule. If not mentioned, will retrieve all the NAT rules. name: query - defaultValue: '50' description: The maximum number of rules to retrieve. Will be used by default if page argument was not provided. name: limit - defaultValue: '50' description: The page size of the NAT rules to return. name: page_size - description: The page at which to start listing NAT rules. Must be a positive number. name: page description: Returns a list of NAT rules of either a Panorama/firewall instance. name: pan-os-list-nat-rules outputs: - contextPath: Panorama.NAT.Name description: The name of the rule. type: String - contextPath: Panorama.NAT.Location description: The device group that the rule is part of. type: String - contextPath: Panorama.NAT.Tags description: The tags in which the rule is part of. type: String - contextPath: Panorama.NAT.SourceZone description: The source zone of the rule. type: String - contextPath: Panorama.NAT.DestinationZone description: The destination zone of the rule. type: String - contextPath: Panorama.NAT.SourceAddress description: The source address of the rule. type: String - contextPath: Panorama.NAT.DestinationAddress description: The destination address of the rule. type: String - contextPath: Panorama.NAT.DestinationInterface description: The destination interface of the rule. type: String - contextPath: Panorama.NAT.Service description: The service in which the rule has. type: String - contextPath: Panorama.NAT.Description description: The description of the rule. type: String - contextPath: Panorama.NAT.SourceTranslation description: The source translation of the rule. type: Unknown - contextPath: Panorama.NAT.DestinationTranslation description: The destination translation of the rule. type: Unknown - contextPath: Panorama.NAT.DynamicDestinationTranslation description: The dynamic destination translation of the rule. type: Unknown - contextPath: Panorama.NAT.Disabled description: Whether the rule is disabled. type: String - arguments: - description: The name of the NAT rule to create. name: rulename required: true - description: The description that the new NAT rule should have. name: description - description: The device-group in which the new rule should be created (Panorama instances only). name: device-group - description: The pre-rule or post-rule (Panorama instances only). name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase - defaultValue: 'ipv4' description: The NAT type in which the rule will be created. name: nat_type auto: PREDEFINED predefined: - ipv4 - nat64 - nptv6 - description: A comma-separated list of source zones. name: source_zone isArray: true defaultValue: 'any' - description: The destination zone. name: destination_zone - description: The destination interface for the rule. name: destination_interface defaultValue: 'any' - description: The service in which the rule will be created with. name: service defaultValue: 'any' - description: A comma-separated list of address object names, address group object names, or EDL object names. isArray: true name: source_address defaultValue: 'any' - description: A comma-separated list of address object names, address group object names, or EDL object names. isArray: true name: destination_address defaultValue: 'any' - defaultValue: 'none' auto: PREDEFINED predefined: - static-ip - dynamic-ip - dynamic-ip-and-port - none description: The source translation type in which the rule will be created. name: source_translation_type - defaultValue: 'translated-address' auto: PREDEFINED predefined: - translated-address - interface-address description: The source translation address type in which the rule will be created. name: source_translated_address_type - description: A comma-separated list of source translation addresses. If source_translation_type == static_ip, must be a single value. isArray: true name: source_translated_address - description: The source translation interface. name: source_translated_interface - auto: PREDEFINED defaultValue: 'none' predefined: - static_ip - dynamic_ip - none description: The destination translation type. name: destination_translation_type - description: A comma-separated list of destination translated addresses. isArray: true name: destination_translated_address - description: The destination translated port. name: destination_translated_port - description: The destination translation distribution method. name: destination_translation_distribution_method auto: PREDEFINED predefined: - round-robin - source-ip-hash - ip-modulo - ip-hash - least-sessions - description: Whether to use negate destination. name: negate_destination auto: PREDEFINED predefined: - yes - no - description: The DNS rewrite direction. name: destination_dns_rewrite_direction auto: PREDEFINED predefined: - forward - reverse - description: An audit comment for the rule. name: audit_comment description: Creates a new NAT rule in a Panorama/firewall instance. name: pan-os-create-nat-rule - arguments: - description: The name of the NAT rule to delete. Can be retrieved from the pan-os-list-nat-rules command. name: rulename required: true - description: The device-group from which the NAT rule should be deleted. Only for a Panorama instance. name: device-group - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances only). name: pre_post predefined: - pre-rulebase - post-rulebase description: Deletes a NAT rule. name: pan-os-delete-nat-rule - arguments: - description: The name of the NAT rule to edit. Can be retrieved from the pan-os-list-nat-rules command. name: rulename required: true - description: The device-group that the NAT rule is part of. Only for a Panorama instance. name: device-group - description: The pre-rule or post-rule (Panorama instances only). name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase - auto: PREDEFINED description: The operation to perform on the rule. name: behavior predefined: - 'replace' - 'add' - remove defaultValue: 'replace' - description: The element to change. name: element_to_change auto: PREDEFINED required: true predefined: - tags - service - nat_type - description - source_zone - destination_zone - source_address - destination_address - destination_interface - negate_destination - source_translation_dynamic_ip_and_port - source_translation_interface - source_translation_dynamic_ip - source_translation_static_ip - destination_translation_port - destination_translation_ip - destination_translation_dynamic_port - destination_translation_dynamic_ip - destination_translation_dynamic_distribution_method - disabled - audit-comment - description: The value of the element to change. Can be a list for certain elements. isArray: true name: element_value required: true description: Edits a NAT rule. name: pan-os-edit-nat-rule - arguments: - description: The name of the virtual router to retrieve. If not mentioned, will bring all the virtual routers. name: virtual_router - description: The template that the virtual router is part of. Use only for Panorama instances. name: template - auto: PREDEFINED description: Whether to show the un-committed virtual routers or not. name: show_uncommitted predefined: - 'true' - 'false' defaultValue: 'false' - description: The maximum number of virtual routers to retrieve. Will be used by default if the page argument was not provided. name: limit defaultValue: '50' - description: The size of virtual-routers to return. name: page_size defaultValue: '50' - description: The page at which to start listing virtual-routers. Must be a positive number. name: page description: Returns a list of virtual routers of either a Panorama/firewall instance. name: pan-os-list-virtual-routers outputs: - contextPath: Panorama.VirtualRouter.Name description: The name of the virtual router. type: String - contextPath: Panorama.VirtualRouter.Interface description: The interface(s) that the virtual router uses. type: Unknown - contextPath: Panorama.VirtualRouter.RIP description: Information about the RIP of the virtual router. type: Unknown - contextPath: Panorama.VirtualRouter.OSPF description: Information about the OSPF of the virtual router. type: Unknown - contextPath: Panorama.VirtualRouter.OSPFv3 description: Information about the OSPFv3 of the virtual router. type: Unknown - contextPath: Panorama.VirtualRouter.BGP description: Information about the BGP of the virtual router. type: Unknown - contextPath: Panorama.VirtualRouter.RedistributionProfile description: The redistribution profile(s) that the virtual router uses. type: Unknown - contextPath: Panorama.VirtualRouter.Multicast description: Information about the multicast of the virtual router. type: Unknown - contextPath: Panorama.VirtualRouter.StaticRoute description: The static routes(s) that the virtual router uses. type: Unknown - contextPath: Panorama.VirtualRouter.ECMP description: The ECMP defined for the virtual router. type: Unknown - arguments: - description: Redistribution profile name. name: name - description: The name of the virtual router that has the redistribution profiles retrieve. Can be retrieved from pan-os-list-virtual-routers. name: virtual_router required: true - description: The template that the redistribution profiles and virtual-router are part of. Use only for Panorama instances. name: template - defaultValue: '50' description: The maximum number of redistribution-profiles to retrieve. name: limit description: Returns a list of redistribution-profiles of a specific virtual-router of either a Panorama/firewall instance. name: pan-os-list-redistribution-profiles outputs: - contextPath: Panorama.RedistributionProfile.Name description: The name of the profile. type: String - contextPath: Panorama.RedistributionProfile.Priority description: The priority of the profile. type: String - contextPath: Panorama.RedistributionProfile.Action description: The action of the profile. type: String - contextPath: Panorama.RedistributionProfile.FilterInterface description: The filter interface(s). type: Unknown - contextPath: Panorama.RedistributionProfile.FilterType description: The filter type(s). type: Unknown - contextPath: Panorama.RedistributionProfile.FilterDestination description: The filter destination(s). type: Unknown - contextPath: Panorama.RedistributionProfile.FilterNextHop description: The filter next hop. type: Unknown - contextPath: Panorama.RedistributionProfile.BGP description: The BGP of the profile. type: Unknown - contextPath: Panorama.RedistributionProfile.OSPF description: The OSPF of the profile. type: Unknown - arguments: - description: The name of the redistribution profile to create. name: name required: true - description: The virtual router that the redistribution profile will be created on. name: virtual_router required: true - description: The template that the virtual-router is in. Use only for Panorama instances. name: template - description: Comma-separated list of the filter source types. name: filter_source_type auto: PREDEFINED predefined: - 'bgp' - 'ospf' - rip - static isArray: true - description: A comma-separated list of destination to filter by. name: destination isArray: true - description: A comma-separated list of next-hops to filter by. name: nexthop isArray: true - description: A comma-separated list of interfaces to filter by. isArray: true name: interface - description: The priority of the profile. (1-255). name: priority required: true - description: The action of the profile. name: action auto: PREDEFINED predefined: - redist - no-redist - description: A comma-separated list of areas for the OSPF. isArray: true name: filter_ospf_area - description: A comma-separated list of tags for the OSPF. isArray: true name: filter_ospf_tag - auto: PREDEFINED predefined: - ext-1 - ext-2 - inter-area - intra-area description: A comma-separated list of path types for the OSPF. isArray: true name: filter_ospf_path_type - description: A comma-separated list of community filters for the BGP. 32-bit value in decimal or hex or in AS:VAL format where AS and VAL are each in 0 - 65535 range. (Max 10 values). isArray: true name: filter_bgp_community - description: A comma-separated list of community filters for the BGP. 64-bit value in hex, or in TYPE:AS:VAL, TYPE:IP:VAL format. TYPE is 16-bit, the other two are 16-bit and 32-bit each. (Max 5 values). isArray: true name: filter_bgp_extended_community description: Creates a new redistribution-profile under a virtual-router for a Panorama/firewall instance. name: pan-os-create-redistribution-profile - arguments: - description: The name of the redistribution-profile to edit. name: name required: true - description: The name of the virtual-router that the redistribution-profile is part of. name: virtual_router required: true - description: The template that the virtual-router is in. Only for Panorama instances. name: template - description: The element to change. name: element_to_change auto: PREDEFINED predefined: - 'filter_type' - 'filter_destination' - filter_nexthop - filter_interface - priority - action - filter_ospf_area - filter_ospf_tag - filter_ospf_path_type - filter_bgp_community - filter_bgp_extended_community required: true - description: The value of the element to change. Can be a list for all the elements except priority and action. name: element_value isArray: true required: true - auto: PREDEFINED description: The operation to perform on the profile. name: behavior predefined: - replace - add - remove defaultValue: 'replace' description: Edits a redistribution-profile in a virtual-router. name: pan-os-edit-redistribution-profile - arguments: - description: The name of the redistribution-profile to delete. name: name required: true - description: The name of the virtual-router that the redistribution-profile is part of. name: virtual_router required: true - description: The template that the virtual-router is in. Only for panorama instances. name: template description: Deletes a redistribution-profile from a virtual-router. name: pan-os-delete-redistribution-profile - arguments: - description: The name of the pbf-rule to retrieve. If not mentioned, will bring all the pbf rules. name: rulename - description: The device-group that the pbf-rules are part of. name: device-group - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances only). name: pre_post predefined: - pre-rulebase - post-rulebase - defaultValue: 'false' description: Whether to show the un-committed rules or not. auto: PREDEFINED predefined: - 'true' - 'false' name: show_uncommitted - description: Whether to retrieve the disabled rules. If not mentioned, will retrieve all the PBF rules. name: disabled auto: PREDEFINED predefined: - yes - no - description: The action of the PBF rules to retrieve. If not mentioned, will retrieve all the PBF rules. name: action auto: PREDEFINED predefined: - discard - forward - no-pbf - description: A comma-separated list of tags of the PBF rules to retrieve. If not mentioned, will retrieve all the PBF rules. isArray: true name: tags - description: Free query to retrieve PBF rule. If not mentioned, will retrieve all the PBF rules. name: query - defaultValue: '50' description: The maximum number of rules to retrieve. Will be used by default if page argument was not provided. name: limit - defaultValue: '50' description: The size of pbf-rules to return. name: page_size - description: The page at which to start listing pbf-rules. Must be a positive number. name: page description: Returns a list of pbf-rules of either a Panorama/firewall instance. name: pan-os-list-pbf-rules outputs: - contextPath: Panorama.PBF.Name description: The name of the PBF rule. type: String - contextPath: Panorama.PBF.Description description: The description of the PBF rule. type: String - contextPath: Panorama.PBF.Tags description: The tags of the PBF rule. type: Unknown - contextPath: Panorama.PBF.SourceZone description: The source-zones of the PBF rule. type: Unknown - contextPath: Panorama.PBF.SourceInterface description: The source-interfaces of the PBF rule. type: Unknown - contextPath: Panorama.PBF.SourceAddress description: The source-addresses of the PBF rule. type: Unknown - contextPath: Panorama.PBF.SourceUser description: The source-users of the PBF rule. type: Unknown - contextPath: Panorama.PBF.DestinationAddress description: The destination-addresses of the PBF rule. type: Unknown - contextPath: Panorama.PBF.EnforceSymmetricReturn description: The enforce-symmetric-return of the PBF rule. type: Unknown - contextPath: Panorama.PBF.Target description: The target of the PBF rule. type: Unknown - contextPath: Panorama.PBF.Application description: The applications of the PBF rule. type: Unknown - contextPath: Panorama.PBF.Service description: The services of the PBF rule. type: Unknown - contextPath: Panorama.PBF.Disabled description: Whether the rule is disabled. type: String - arguments: - description: The name of the PBF-rule to create. name: rulename required: true - description: The description that the new PBF-rule should have. name: description - name: device-group description: The device-group in which the new rule should be created. Only for a Panorama instance. - auto: PREDEFINED description: The pre-rule or post-rule (Panorama instances only). name: pre_post predefined: - pre-rulebase - post-rulebase - description: A comma-separated list of tags. isArray: true name: tags - description: A comma-separated list of source zones. isArray: true name: source_zone - description: A comma-separated list of source addresses. isArray: true name: source_address defaultValue: 'any' - description: A comma-separated list of source users. name: source_user defaultValue: 'any' - description: A comma-separated list of services. isArray: true name: service defaultValue: 'any' - description: A comma-separated list of destination addresses. isArray: true name: destination_address defaultValue: 'any' - description: A comma-separated list of applications. isArray: true name: application defaultValue: 'any' - auto: PREDEFINED predefined: - forward - discard - no-pbf description: The action that the rule will be created with. name: action required: true - description: The egress interface the rule will be created with. Must be provided if action == forward. name: egress_interface - defaultValue: 'none' auto: PREDEFINED predefined: - ip-address - fqdn - none description: The next-hop. Relevant only when action = forward. name: nexthop - description: The next-hop value when action = forward. Could be an IP address or FQDN. Required when nexthop is not none. name: nexthop_value - description: Whether to enforce symmetric return. defaultValue: 'no' name: enforce_symmetric_return auto: PREDEFINED predefined: - yes - no - defaultValue: 'no' auto: PREDEFINED predefined: - yes - no description: Whether to negate the source. name: negate_source - description: Whether to negate the destination. name: negate_destination defaultValue: 'no' auto: PREDEFINED predefined: - yes - no - description: The nexthop addresses list for the symmetric return. isArray: true name: nexthop_address_list - description: An audit comment for the rule. name: audit_comment description: Creates a new policy-based-forwarding (PBF) rule in a Panorama/firewall instance. name: pan-os-create-pbf-rule - arguments: - description: The name of the PBF rule to edit. Can be retrieved from the pan-os-list-pbf-rules command. name: rulename required: true - description: The device-group that the PBF rule is in. name: device-group - description: The pre-rule or post-rule (Panorama instances only). name: pre_post auto: PREDEFINED predefined: - 'pre-rulebase' - 'post-rulebase' - description: The element to change. name: element_to_change auto: PREDEFINED predefined: - 'source_zone' - 'source_address' - source_user - service - destination_address - application - negate_source - negate_destination - nexthop_address_list - enforce_symmetric_return - action_forward_egress_interface - action_forward_nexthop_ip - action_forward_nexthop_fqdn - action_forward_discard - action_forward_no_pbf - disabled - audit-comment required: true - description: The value of the element to change. Can be a list for some of the elements. When element_to_change == 'action_forward_egress_interface', the action of the rule will be changed to 'forward' automatically. name: element_value isArray: true required: true - auto: PREDEFINED description: The operation to perform on the PBF rule. name: behavior predefined: - replace - add - remove defaultValue: 'replace' description: Edits a PBF rule. name: pan-os-edit-pbf-rule - arguments: - description: The name of the pbf-rule to delete. Can be retrieved from the pan-os-list-pbf-rules command. name: rulename required: true - description: The device-group from which the pbf-rule should be deleted. Only for a Panorama instance. name: device-group - description: The pre-rule or post-rule (Panorama instances only). name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase description: Deletes a PBF rule. name: pan-os-delete-pbf-rule - arguments: - description: The name of the application-group to retrieve. If not mentioned, will bring all the application-groups. name: name - description: The device-group that the nat-rules are part of. name: device-group - description: Whether to show the un-committed application-groups or not. name: show_uncommitted defaultValue: 'false' auto: PREDEFINED predefined: - 'true' - 'false' - description: The maximum number of application-groups to retrieve. Will be used by default if page argument was not provided. name: limit defaultValue: '50' - defaultValue: '50' description: The page size of the application-groups to return. name: page_size - description: The page at which to start listing application-groups. Must be a positive number. name: page description: Returns a list of application-groups of either a Panorama/firewall instance. name: pan-os-list-application-groups outputs: - contextPath: Panorama.ApplicationGroup.Name description: The name of the application-group object. type: String - contextPath: Panorama.ApplicationGroup.Applications description: The list of the applications that the application-group has. type: Unknown - contextPath: Panorama.ApplicationGroup.Members description: The number of the application that are part of the application-group. type: Number - arguments: - description: The name for the application-group to be created with. name: name required: true - description: Comma-separated list of applications. Can be retrieved using the command pan-os-list-applications. name: applications isArray: true required: true - description: The device-group in which the application-group should be created. Only for a Panorama instance. name: device-group name: pan-os-create-application-group description: Creates a new application group rule in a Panorama/firewall instance. outputs: - contextPath: Panorama.ApplicationGroup.Name description: The name of the application-group object. type: String - contextPath: Panorama.ApplicationGroup.Applications description: The list of the applications that the application-group has. type: Unknown - contextPath: Panorama.ApplicationGroup.Members description: The number of the applications that are part of the application-group. type: Number - name: pan-os-edit-application-group arguments: - name: name description: The name for the application-group to be edit. Can be retrieved from the pan-os-list-application-groups command. required: true - name: applications description: Comma-separated list of applications. Can be retrieved using the command pan-os-list-applications. required: true isArray: true - name: device-group description: The device-group in which the application-group should be created. Only for a Panorama instance. - description: The action to perform on the application-group. name: action required: true auto: PREDEFINED predefined: - 'add' - 'remove' defaultValue: 'add' description: Edits an application-group. outputs: - contextPath: Panorama.ApplicationGroup.Name description: The name of the application-group object. type: String - contextPath: Panorama.ApplicationGroup.Applications description: The list of the applications that the application-group has. type: Unknown - contextPath: Panorama.ApplicationGroup.Members description: The number of the applications that are part of the application-group. type: Number - arguments: - description: The name of the application-group to delete. Can be retrieved from the pan-os-list-application-groups command. name: name required: true - description: "The device-group in which the application-group is part of. Only for a Panorama instance." name: device-group description: Deletes an application-group. name: pan-os-delete-application-group - arguments: - description: Whether to include shared tags in the list. name: include_shared_tags auto: PREDEFINED predefined: - 'Yes' - 'No' defaultValue: 'No' - description: "The device group that the tags are part of." name: device-group description: Returns a list of tags from Panorama. name: pan-os-list-tag outputs: - contextPath: Panorama.Tag.name description: The name of the tag. type: String - contextPath: Panorama.Tag.color description: The color of the tag. type: String - contextPath: Panorama.Tag.comment description: The comment in the tag. type: String - contextPath: Panorama.Tag.disable-override description: Whether overriding the tag is disabled. type: String - contextPath: Panorama.Tag.location description: The tag's device group location. type: String - arguments: - description: The name for the new tag to be created. name: name required: true - description: "The device group that the tag will be part of." name: device-group - description: Whether to disable overriding the tag (Panorama instances). name: disable_override auto: PREDEFINED predefined: - 'true' - 'false' defaultValue: 'false' - description: Whether the tag should be generated in a shared location. name: is_shared auto: PREDEFINED predefined: - 'true' - 'false' defaultValue: 'false' - description: The comment for the tag. name: comment description: Creates a new tag in Panorama. name: pan-os-create-tag - arguments: - description: The existing name for the tag to be edited. name: name required: true - description: The new name for the tag to be replaced with. name: new_name - description: The device group of the tag. name: device-group - description: Whether to disable overriding the tag (Panorama instances). name: disable_override auto: PREDEFINED predefined: - 'true' - 'false' - description: The comment for the tag. name: comment description: Edits a tag in Panorama. name: pan-os-edit-tag - arguments: - description: The name of the tag to delete. name: name required: true description: Deletes a tag from Panorama. name: pan-os-delete-tag - name: pan-os-list-device-groups description: 'Returns all device groups from Panorama (use only in Panorama instances).' arguments: [] outputs: - contextPath: Panorama.DeviceGroupNames description: The list of device groups. type: string - name: pan-os-export-tech-support-file description: 'Exports a tech support file (TSF).' arguments: - description: The polling interval (in seconds). name: interval_in_seconds defaultValue: "30" - description: "The polling timeout (in seconds)." name: timeout defaultValue: "1200" - description: The job ID to use when polling. name: job_id hidden: true polling: true - name: pan-os-list-security-profile-group description: Returns a list of security profile groups from Panorama. arguments: - description: A given group name to return the data for. name: group_name - description: "The device group that the security profile groups are part of." name: device-group outputs: - contextPath: Panorama.ProfileGroup.name description: The name of the group. type: String - contextPath: Panorama.ProfileGroup.location description: The security profile group's device group location. type: String - contextPath: Panorama.ProfileGroup.virus description: The antivirus profile. type: String - contextPath: Panorama.ProfileGroup.spyware description: The anti-spyware profile. type: String - contextPath: Panorama.ProfileGroup.vulnerability description: The vulnerability protection profile. type: String - contextPath: Panorama.ProfileGroup.url-filtering description: The URL filtering profile. type: String - contextPath: Panorama.ProfileGroup.file-blocking description: The file blocking profile. type: String - contextPath: Panorama.ProfileGroup.data-filtering description: The data filtering profile. type: String - contextPath: Panorama.ProfileGroup.wildfire-analysis description: The WildFire analysis profile. type: String - contextPath: Panorama.ProfileGroup.disable-override description: Whether overriding the security profile group is disabled. type: String - name: pan-os-create-security-profile-group description: Creates a new security profile group in Panorama. arguments: - description: The name of the security profile group. name: group_name required: true - description: The device group that the security profile group will be part of. name: device-group - description: The antivirus profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: antivirus_profile - description: The anti-spyware profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: anti_spyware_profile - description: The vulnerability protection profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: vulnerability_protection_profile - description: The URL filtering profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: URL_filtering_profile - description: The file blocking profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: file_blocking_profile - description: The data filtering profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: data_filtering_profile - description: The WildFire analysis profile of the group. You can get the possible values for this argument by running the pan-os-get-security-profile command. name: wildfire_analysis_profile - name: pan-os-edit-security-profile-group description: Edits the security profile group in Panorama. arguments: - description: The name of the security profile group to edit. name: group_name required: true - description: The profile to edit in the group. name: profile_to_change auto: PREDEFINED predefined: - 'Antivirus Profile' - 'Anti-Spyware Profile' - 'Vulnerability Protection Profile' - 'URL Filtering Profile' - 'File Blocking Profile' - 'Data Filtering Profile' - 'WildFire Analysis Profile' required: true - description: The value to set in the profile. If you want the profile value to be empty, set the value to "None". You can get the possible values for this argument by running the pan-os-get-security-profile command. name: profile_value required: true - description: The device group that the security profile group is part of. name: device-group - name: pan-os-delete-security-profile-group description: 'Deletes a security profile group from Panorama.' arguments: - description: The name of the security profile group to delete. name: group_name required: true - description: The device group that the security profile group is part of. name: device-group - name: pan-os-get-audit-comment description: 'Gets the audit comment of a rule.' arguments: - description: The rule name to apply. name: rule_name required: true - description: The rule type. name: rule_type required: true auto: PREDEFINED predefined: - Security Rule - NAT Rule - PBF Rule - description: The pre-rule or post-rule (Panorama instances only). name: pre_post auto: PREDEFINED predefined: - Pre - Post - description: The device group that the rule is part of. name: device-group outputs: - contextPath: Panorama.AuditComment.comment description: The audit comment ot the rule. type: String - contextPath: Panorama.AuditComment.rule_name description: The rule name. type: String - contextPath: Panorama.AuditComment.rule_type description: The rule type. type: String - name: pan-os-add-profile-exception description: Add an exception to a Vulnerability Protection profile or Anti Spyware profile. arguments: - description: The profile name. name: profile_name required: true - description: "The requested threat name/CVE/ID to add." name: threat required: true - description: The profile type. name: profile_type required: false auto: PREDEFINED predefined: - Vulnerability Protection Profile - Anti Spyware Profile - description: The action type of the exception. Default value is 'default'. name: action auto: PREDEFINED required: false predefined: - Alert - Allow - Block IP - Drop - Reset Both - Reset Client - Reset Server - description: To configure the firewall to take a packet capture when it detects a threat. name: packet_capture required: false auto: PREDEFINED predefined: - Disable - Single Packet - Extended Capture - description: An IP address. Configure an exempt IP address to enforce a threat exception only when the associated session has either a matching source or destination IP address; for all other sessions, the threat is enforced based on the default signature action. name: exempt_ip required: false - description: Device group. This will override any configured device group or vsys. name: device_group required: false - description: Specify whether to Track By and block the IP address using the IP source or the IP source and destination. If action = Block IP , this argument is mandatory. name: ip_track_by required: false auto: PREDEFINED predefined: - Source - Source And Destination - description: Specify the time period (in seconds) after which to trigger the action. If action = Block IP , this argument is mandatory. name: ip_duration_sec required: false - name: pan-os-edit-profile-exception description: Edit an exception to a Vulnerability Protection profile or Anti Spyware profile. arguments: - description: The profile name. name: profile_name required: true - description: "The requested threat name/CVE/ID to edit." name: threat required: true - description: The profile type. name: profile_type required: false auto: PREDEFINED predefined: - Vulnerability Protection Profile - Anti Spyware Profile - description: The action type of the exception. Default value is 'default'. name: action required: false auto: PREDEFINED predefined: - Alert - Allow - Block IP - Drop - Reset Both - Reset Client - Reset Server - description: To configure the firewall to take a packet capture when it detects a threat. name: packet_capture required: false auto: PREDEFINED predefined: - Disable - Single Packet - Extended Capture - description: An IP address. Configure an exempt IP address to enforce a threat exception only when the associated session has either a matching source or destination IP address; for all other sessions, the threat is enforced based on the default signature action. name: exempt_ip required: false - description: Device group. This will override any configured device group or vsys. name: device_group required: false - description: Specify whether to Track By and block the IP address using the IP source or the IP source and destination. If action = Block IP , this argument is mandatory. name: ip_track_by required: false auto: PREDEFINED predefined: - Source - Source And Destination - description: Specify the time period (in seconds) after which to trigger the action. If action = Block IP , this argument is mandatory. name: ip_duration_sec required: false - name: pan-os-delete-profile-exception description: Delete an exception to a Vulnerability Protection profile or Anti Spyware profile. arguments: - description: The profile name. name: profile_name required: true - description: "The requested threat name/CVE/ID to delete." name: threat required: true - description: The profile type. name: profile_type required: false auto: PREDEFINED predefined: - Vulnerability Protection Profile - Anti Spyware Profile - name: pan-os-list-profile-exception description: List the exceptions in a Vulnerability Protection profile or Anti Spyware profile. arguments: - description: The profile name. name: profile_name required: true - description: The profile type. name: profile_type required: false auto: PREDEFINED predefined: - Vulnerability Protection Profile - Anti Spyware Profile outputs: - contextPath: Panorama.Vulnerability.Name description: The profile name. type: String - contextPath: Panorama.Vulnerability.Exception.name description: The exception name. type: String - contextPath: Panorama.Vulnerability.Exception.id description: The exception ID. type: String - contextPath: Panorama.Vulnerability.Exception.CVE description: The exception CVE if exist. type: String - contextPath: Panorama.Vulnerability.Exception.action description: The exception action. type: String - contextPath: Panorama.Vulnerability.Exception.exempt-id description: The exception exempt ID. type: String - contextPath: Panorama.Vulnerability.Exception.packet-capture description: The exception packet capture. type: String - contextPath: Panorama.Spyware.Name description: The profile name. type: String - contextPath: Panorama.Spyware.Exception.name description: The exception name. type: String - contextPath: Panorama.Spyware.Exception.id description: The exception ID. type: String - contextPath: Panorama.Spyware.Exception.CVE description: The exception CVE if exist. type: String - contextPath: Panorama.Spyware.Exception.action description: The exception action. type: String - contextPath: Panorama.Spyware.Exception.exempt-id description: The exception exempt ID. type: String - contextPath: Panorama.Spyware.Exception.packet-capture description: The exception packet capture. type: String - arguments: - description: The string by which to filter the results to only show specific hostnames or serial numbers. name: device_filter_string - description: The target number of the firewall. Used only on a Panorama instance. name: target - auto: PREDEFINED defaultValue: security description: The firewall rulebase to check. name: rulebase predefined: - application-override - authentication - decryption - dos - nat - network-packet-broker - pbf - qos - sdwan - security - tunnel-inspect - defaultValue: all description: The firewall VSYS name to check. Returns results for all VSYSs if left blank. name: vsys - defaultValue: all description: Comma-separated list of rule names to check. Returns results for all rules if left blank. isArray: true name: rules - auto: PREDEFINED defaultValue: 'false' description: If set to true, only returns rules with a hit count of 0. name: unused_only predefined: - 'true' - 'false' - description: Shows rules that have had hits, but not after the date provided (in the format YYYY/MM/DD HH:MM:SS). name: no_new_hits_since - description: The pre-rule or post-rule (Panorama instances only). When set, only rules pushed from Panorama at the specified position are returned. name: pre_post auto: PREDEFINED predefined: - pre-rulebase - post-rulebase description: Gets rule hit counts from the firewall. When connected to Panorama this command can be run on any firewall managed by it. name: pan-os-get-rule-hitcounts outputs: - contextPath: PANOS.RuleHitCount.first_hit_timestamp description: Timestamp when the rule was first hit. type: Date - contextPath: PANOS.RuleHitCount.from_dg_name description: Name of the device group the rule is inherited from. type: String - contextPath: PANOS.RuleHitCount.hit_count description: Number of hits for the rule. type: Number - contextPath: PANOS.RuleHitCount.hostid description: Serial number of the firewall the entry was fetched from. type: String - contextPath: PANOS.RuleHitCount.instanceName description: Name of the PAN-OS Integration Instance used to fetch the entry. type: String - contextPath: PANOS.RuleHitCount.instanceType description: The type of the PAN-OS Integration Instance running the command (Panorama or firewall). type: String - contextPath: PANOS.RuleHitCount.is_from_panorama description: Indicates if the rule was pushed from Panorama (true) or is local to the firewall (false). type: Boolean - contextPath: PANOS.RuleHitCount.last_hit_timestamp description: Timestamp when the rule was most recently hit. type: Date - contextPath: PANOS.RuleHitCount.last_reset_timestamp description: Timestamp when hit count data was last reset. type: Date - contextPath: PANOS.RuleHitCount.latest description: Value of the `latest` property returned by the API. type: String - contextPath: PANOS.RuleHitCount.name description: Name of the rule. type: String - contextPath: PANOS.RuleHitCount.position description: Indicates the position of the rule pushed from Panorama (pre_rulebase or post_rulebase). type: String - contextPath: PANOS.RuleHitCount.rule_creation_timestamp description: Timestamp when the rule was created. type: Date - contextPath: PANOS.RuleHitCount.rule_modification_timestamp description: Timestamp when the rule was most recently modified. type: Date - contextPath: PANOS.RuleHitCount.rulebase description: The rulebase of the rule (security, nat, and so on). type: String - contextPath: PANOS.RuleHitCount.vsys description: The name of the firewall VSYS. type: String - name: pan-os-get-master-key-details description: Show the details of the default master key that encrypts all the private keys and passwords in the configuration. outputs: - contextPath: Panorama.MasterKey.auto-renew-mkey type: String description: Whether the master key will be automatically renewed on expiry. - contextPath: Panorama.MasterKey.expire-at type: String description: The date and time when the key is set to expire. - contextPath: Panorama.MasterKey.hours-to-expiry type: String description: The number of hours remaining before the key expires. - contextPath: Panorama.MasterKey.hours-to-reminder type: String description: The number of hours remaining before being notified that the key is set to expire. - contextPath: Panorama.MasterKey.minutes-to-expiry type: String description: The number of minutes remaining before the key expires. - contextPath: Panorama.MasterKey.minutes-to-reminder type: String description: The number of minutes remaining before being notified that the key is set to expire. - contextPath: Panorama.MasterKey.on-hsm type: String description: Whether the master key is encrypted using a key stored on a Hardware Security Module (HSM). - contextPath: Panorama.MasterKey.remind-at type: String description: The date and time when to be notified that the key is set to expire. - contextPath: Panorama.MasterKey.seconds-to-expiry type: String description: The number of seconds remaining before the key expires. - contextPath: Panorama.MasterKey.seconds-to-reminder type: String description: The number of seconds remaining before being notified that the key is set to expire. - name: pan-os-create-master-key description: 'Create a default master key that encrypts all the private keys and passwords in the configuration. This command is harmful because it invalidates the current API key and requires re-configuration of the integration instance.' execution: true # This command is harmful arguments: - description: The encryption master key. Must be exactly 16 characters. name: master_key type: String required: true isArray: false - description: The lifetime of the key in hours. name: lifetime_in_hours type: Number required: true isArray: false - description: The time to be notified of the key's expiration in hours. name: reminder_in_hours type: Number required: true isArray: false - name: pan-os-update-master-key description: 'Update the default master key that encrypts all the private keys and passwords in the configuration. This command is harmful because it invalidates the current API key and requires re-configuration of the integration instance.' execution: true # This command is harmful arguments: - description: The new encryption master key. Must be exactly 16 characters. name: new_master_key type: String required: true isArray: false - description: The current encryption master key. name: current_master_key type: String required: true isArray: false - description: The lifetime of the new key in hours. name: lifetime_in_hours type: Number required: true isArray: false - description: The time to be notified of new the new key's expiration in hours. name: reminder_in_hours type: Number required: true isArray: false - name: pan-os-get-certificate-info description: Gathers the name, expiration date, and expiration status of certificates configured locally on a Firewall or pushed from Panorama, as seen under Certificate Management. arguments: - description: Show only expired certificates. name: show_expired_only type: Boolean outputs: - contextPath: Panorama.Certificate.name type: String description: Name of the certificate. - contextPath: Panorama.Certificate.device type: String description: Device where this certificate was found. - contextPath: Panorama.Certificate.subject type: String description: Subject of the certificate. - contextPath: Panorama.Certificate.expiration_date type: String description: Expiration date of the certificate. - contextPath: Panorama.Certificate.expiration_status type: String description: Status of certificate - Expired, Expiring in 30 days, Expiring in 60 days, Expiring in 90 days or Valid. - contextPath: Panorama.Certificate.location type: String description: Where this certificate was configured - Firewall or Panorama. - contextPath: Panorama.Certificate.cert_type type: String description: Whether this certificate was pushed from Panorama, Local to Firewall, or predefined on Panorama or a Firewall. - contextPath: Panorama.Certificate.devices_using_certificate type: Unknown description: List of devices using this certificate if it was pushed from Panorama. dockerimage: demisto/pan-os-python:1.0.0.10133006 isfetch: true runonce: false script: '' subtype: python3 type: python fromversion: 5.0.0 tests: - palo_alto_firewall_test_pb - palo_alto_panorama_test_pb - PAN-OS-firewall-topology-test-pb - PAN-OS-panorama-topology-test-pb - test_playbook_pan_os_firewall_exceptions_commands defaultmapperin: Panorama Mapper defaultclassifier: Panorama Classifier