Palo Alto Networks Panorama

The Palo Alto Panorama management server provides centralized monitoring and management of multiple next-generation firewalls and appliance clusters.

Use Cases the Adapter Solves

  • Identify VPN-Connected Assets: Connecting Panorama to Axonius lets you quickly identify which assets are accessing the network over VPN, correlating each asset's private IP address on the internal network with the public IP address used to connect.
  • Review and Audit Firewall Policies: Fetch and analyze security and NAT policy rules across all managed firewalls, identifying exposed traffic, overly permissive rules, and policy gaps.
  • Track Certificate Expiry Across Firewalls: Gain visibility into all certificates deployed on Panorama-managed firewalls, including expiry dates, CA status, and self-signed certificates, to prevent outages from expired certificates.
💡

Tip:

Because it leverages the PanOS API, the Palo Alto Panorama adapter can be used to connect directly to Palo Alto firewalls if a Panorama endpoint is not available.

Types of Assets Fetched

This adapter fetches the following types of assets:

  • Devices, Users, Networks, Network/Firewall Rules, Network Devices, Certificates, Network Routes

Data Retrieved through the Adapter

Devices - Fields such as: Hostname, IP Address, MAC Address, OS Name, Scope Chain, Virtual Systems

Users - Fields such as: Username, Computer Name, VPN Type, Source Type,

Networks - Fields such as: CIDR Block, Address Group, Device Group, Scope, Segment Type, Network ID, Gateway IP, Subnets, Zone, Firewall Name, Firewall Serial, Scope Chain

Network/Firewall Rules - Fields such as: Rule Name, Rule Type, Action, Source Addresses, Priority, Policy Precedence, Is Implied, Network Security Rules, Unresolved Addresses

Certificates - Fields such as: Common Name, Issuer, Expiry Date, Is CA Certificate, Is Self-Signed

Firewall Rules, Interface Networks, and Scope Chains

Firewall Rules

When the Fetch Firewall Policies advanced setting is selected, Axonius fetches the security rules that Panorama pushes to each firewall:

  • Rule placement - A firewall gets only the rules that Panorama installs on it. Axonius reads the target of each rule (devices, virtual systems, and "install on all but"). A rule whose target uses firewall tags stays on every firewall of the device group, because Axonius does not fetch firewall tags.
  • Order - Each rule has a Policy Precedence value (the rule layer) and a Priority value (the position of the rule in its layer). A lower value is evaluated first. The order is: Shared pre-rules, device group pre-rules (parent first), local rules, device group post-rules (child first), Shared post-rules, and then the default rules.
  • Default rules - The intrazone-default and interzone-default rules are shown for each firewall and each virtual system. A device group override takes priority, and then a Shared override. A default rule without an override is an implied rule (Is Implied is true).
  • Network Security Rules - Each rule has one Network Security Rules row for each virtual system that enforces it and each protocol. A row shows the enforcement point (Panorama, then the firewall, then the virtual system) and the source and destination that the rule matches. A deny rule that also matches on applications, users, URL categories, a schedule, or HIP gets no row. An allow rule with these conditions gets a row.
  • Address resolution - Axonius resolves address objects in the device group that holds the rule first, and then in Shared. IP range and FQDN objects are kept. Address names that do not resolve to an IP address, a range, or an FQDN appear in Unresolved Addresses.
  • Zones - Zones come from the firewall interfaces. To get zones, also select Fetch Network Entities (Addresses, Interfaces). Without it, some intrazone and interzone rules get no Network Security Rules row.
  • Shared rules - Axonius creates one asset for each firewall for a Shared rule. Shared rule assets have new IDs, so the assets fetched before still appear until they are deleted by the asset cleanup. When the deletion settings of the adapter are configured, the old assets are removed according to those settings. If deletion is not configured, they are not removed. During this period, a rule can appear twice. For details, see Advanced Settings.
Interface Networks

When Fetch Network Entities (Addresses, Interfaces) is selected, Axonius creates one Networks asset for each Layer 3 interface or sub-interface that has an IPv4 address, with Asset Type set to Palo Alto Panorama Interface Network. Interfaces that have only IPv6 addresses or no address do not create an asset. These assets have the following fields:

  • Name - The interface name.
  • Segment Type - VLAN when the interface has a VLAN tag, otherwise Subnet.
  • Network ID - The VLAN tag. Empty for an untagged interface.
  • Gateway IP - The IP address of the interface.
  • Subnets - The subnet of the interface.
  • Zone - The firewall zone. Empty when the interface has no zone.
  • Firewall Name and Firewall Serial - The firewall that has the interface.
  • Scope Chain - The place of the interface. For more details, see the Scope Chains section below.

In a high availability (HA) pair, the interface Networks come from one unit only (the unit with the lower serial number). A failover does not change the asset IDs. A firewall that Axonius connects to directly, without Panorama, gets no interface Networks. Address-object Networks do not change, and their segment fields are empty.

Scope Chains

A scope chain shows where an asset sits, from the outermost level to the asset. Each level has the sub-fields Type, Name, Remote ID, Remote ID Source, and Order.

  • Firewall devices - Every firewall that Panorama manages gets a Scope Chain: Management Platform (the Panorama host) > Network Device (the firewall, with its serial number as the Remote ID). Both units of an HA pair get the same chain. Firewall devices also get the Virtual Systems field, which lists the names of the virtual systems.
  • Interface Networks - Management Platform (the Panorama host) > Network Device (the firewall) > Virtual Domain (the virtual system, for example vsys1) > Zone (only when the interface has a zone) > Segment (the interface). An interface without a virtual system gets its Networks asset, but without a Scope Chain.

Before You Begin

Ports

  • TCP port 80/443

Authentication Method

  • User Name/Password
  • API Key

APIs

Axonius uses the Palo Alto Networks XML API and REST API. and calls the following Palo Alto Networks Panorama Adapter Endpoints

Palo Alto Networks Panorama uses the REST and XML API, using different endpoints to retrieve the needed assets for the adapter to work properly:

For the XML API the adapter only uses one endpoint (api/) but it provides different paths in the URL parameters to retrieve different assets:

  • Firewalls (<show><devices><all /></devices></show>)
  • Panorama boxes (<show><system><info></info></system></show>)
  • ARP table (<show><arp><entry name=\'all\'/></arp></show>)
  • VPN (<show><global-protect-gateway><USER_STATE/></global-protect-gateway></show>)
  • Device Group Policies (/config/devices/entry[@name="localhost.localdomain"]/device-group)
  • VSYS Policies (/config/devices/entry/vsys/entry/rulebase/{rule_type})
  • Shared Policies (/config/shared/{rule_base_type}/{rule_type})
  • VSYS Addresses (/config/devices/entry/vsys/entry/address)

For the REST API (restapi/v10.1), the adapter uses the following endpoints:

  • Device Groups (Panorama/DeviceGroups)
  • Device Group Addresses (Objects/Addresses?location=device-group&device-group={device_group}&vsys=vsys1)
  • Shared Addresses (Objects/Addresses?location=shared&vsys=vsys1)
  • Device Group Address Groups (Objects/AddressGroups?location=device-group&device-group={device_group}&vsys=vsys1)
  • Shared Address Groups (Objects/AddressGroups?location=shared&vsys=vsys1)
  • Zones (Network/Zones?location=template&template={template}&vsys=vsys1)
  • Ethernet Interfaces (Network/EthernetInterfaces?location=template&template={template}&vsys=vsys1)

Permissions

Note

As a best practice, ensure that you create a separate, dedicated account for API access to Palo Alto Panorama.

  • If you have supplied a User Name - The username must be provided the ’Superuser (read-only)' role. Instructions for associating this role with an account can be found here.

  • If you have supplied an API Key - You can obtain an API key by following the instructions here as an alternative to using a username/password as described above (once the API has been enabled as described here).

  • The following API permissions are required for basic Panorama configuration:

    • XML API (Configuration) - Required for fetching Firewalls, Firewall Rules, ARPs, and VPN Users.
    • XML API (Operational Requests) "Full Access" - Required to run SHOW command on firewalls. For more details, see:https://support.axonius.com/hc/en-us/articles/360057994593
    • REST API (Panorama) - Required for fetching Device Groups.
    • REST API (Objects) - Fetch Address Groups.
    • REST API (Networks) - Fetch Networks associated with Device Groups to correlate with Firewall Rules.
  • Optional API Permission:

    • XML API (Log permission) - Fetch users' login logs

Connecting the Adapter in Axonius

  1. From the Adapters page, search for Palo Alto Networks Panorama and select the adapter.
  2. Click Add Connection. The Create Connection drawer opens on the Connection Configuration tab.
  3. Fill in the sections below, then save the connection.

To check that Axonius can reach the source before you enter credentials, click Check Network Connectivity. For more details, see Adding a New Adapter Connection.

Environment

The instance this connection reads from.

  1. Panorama Domain (required) - The hostname or IP address of the Palo Alto Panorama server or PA Firewall server.

Access

How Axonius authenticates to the instance. Select one of the authentication methods.

(default method)

  1. User Name and Password (required) - The credentials for a user account that has the Required Permissions to fetch assets.
  2. API Key Generation Method (default: POST) - The HTTP method used to retrieve the API key on connection. POST (default) first attempts a POST request and falls back to GET if it fails. Select GET to skip the POST attempt entirely and use only GET, which prevents account lockouts on systems that enforce strict failed-login policies.

More Options

  1. Verify SSL (default: enabled) - Select whether to verify the SSL certificate offered by the value supplied in Panorama Domain. For more details, see SSL Trust & CA Settings.
  2. Select Gateway – Select the Axonius Gateway to use when connecting adapters whose sources are only accessible by an internal network and not from the primary Axonius instance, which may be an Axonius-hosted (SaaS) instance or Customer-hosted (on-premises / private cloud). To use this option, you need to set up an Axonius Gateway.

To learn more about common adapter connection parameters and buttons, see Adding a New Adapter Connection.

Advanced Settings

Note

Advanced settings can either apply to all connections for this adapter, or to a specific connection. Refer to Advanced Configuration for Adapters.

  1. Fetch ARP data (required, default: true) - By default this adapter fetches ARP data from the Palo Alto Networks Panorama server. Clear this option to not fetch ARP data from the Palo Alto Networks Panorama server.
  2. Force logout of the user - Select this option to force logout of the account used to query the Palo alto Panorama data.
  3. Fetch Firewall Policies (default: true) - Select this option to fetch firewall security and NAT policies. Each firewall gets only the rules that Panorama installs on it, with their evaluation order. For more details, see Firewall Rules.
  4. Fetch Firewall Threat Profiles - Select this option to fetch and enrich firewall policy rules with threat protection profile information, including vulnerability protection profiles and associated CVE signatures.
  5. Fetch Network Entities (Addresses, Interfaces) - Select this option to fetch Addresses as an asset and to fetch Ethernet interfaces as a new device type. Each Layer 3 interface with an IPv4 address is also fetched as a Networks asset with a scope chain, and the zones of the firewall interfaces are used for the firewall rules. For more details, see Interface Networks.
  6. Enrich network interfaces with comments - Select this option to enrich network interfaces with comments.
  7. Set the firewall last seen to the “connected-at” date if it is within the last X days - Enter the amount of days necessary in order to set the firewall last seen to the “connected-at” date.
  8. Extend NAT Rules as connected devices - Select this option to connect NAT firewall rules (public to private IPs only) with Network assets.
  9. Extend Access Rules as connected devices - Select this option to connect Access firewall rules (from untrust sources) with Network assets.
  10. Fetch Users From Login Logs - Select this option to fetch the one-day-old VPN login logs to parse users of type LOGIN LOG.
  11. Fetch Rules Hit Count - Select this option to count the number of firewall rules.
  12. Internet Facing Zones (optional, default: any, untrust, outside) - Enter a list of zones that are exposed to the Internet. This field will allow Axonius systems to tag devices that receive public traffic.
  13. Addresses to be considered as internal/private - Enter a list of Panorama addresses to be considered internal/private. Assets within the range of these addresses will be treated as belonging to internal systems.

Note

Both the above settings are used by the adapter to identify which firewall rules are exposing public traffic to internal systems. You should only use these fields in very specific cases. Normally using the Internet-facing zones is enough.

  1. Fetch Certificates - Select this option to fetch certificate data.
  2. Fetch HIP Match Logs - Enable this option to fetch HIP match logs. If enabled, the following setting may be configured.
    • Fetch HIP Match Logs From Date (default: Last 24 Hours) - Select the dates from which you want the data to be retrieved.
  3. Enrich Devices with Shadow SaaS Discovery - Select this option to query Panorama traffic logs for SaaS-classified sessions that show file uploads, high-volume data transfers, or use a high-risk App-ID, and attach the discovered SaaS applications (with users, source IPs and volume counters) to each Firewall and Panorama device asset.
  4. Shadow SaaS File Upload Threshold (MB) (Default 10) - Set the minimum bytes_sent (in megabytes) in a SaaS session for it to be reported as a file upload.
  5. Shadow SaaS Total Volume Threshold (MB) (Default 100) - Set the minimum total session bytes (in megabytes) in a SaaS session for it to be reported as a high-volume transfer.
  6. Exclude generic host devices - Select this option to ignore all generic host devices.

Note

To learn more about Adapter Configuration tab advanced settings, see Adapter Advanced Settings.

Related Enforcement Actions


Did this page help you?