Panorama decides what every managed firewall enforces, so a careless push, a drifting template or an unprotected Log Collector can change or blind an entire estate in one commit. This guide treats Panorama as a platform in its own right: how to govern device group and template pushes, control commits and locks, secure the channels between Panorama, firewalls and Log Collectors, and harden high availability and configuration backups. It is written for firewall engineers, network security architects and the people who audit them. Administrator accounts, roles, Access Domains, management interface exposure and the master key are covered in the Palo Alto Networks PAN-OS Hardening Guide and are not repeated here.
This is an independent guide from NHI Mgmt Group, based on Palo Alto Networks' public documentation as of November 2026. It is not sponsored or reviewed by Palo Alto Networks. Product features change, so confirm settings against Palo Alto Networks' current documentation.
Key takeaways
- Design the hierarchy before you secure it. Device group nesting, pre-rule and post-rule placement and object precedence decide what a firewall finally enforces, so write the design down and review changes against it.
- Separate commit from push. Panorama only pushes its running configuration, so a commit to Panorama is a natural approval gate before anything reaches a firewall.
- Use locks and scoped commits. Config and commit locks, the Automatically Acquire Commit Lock setting and per-administrator commit scope stop one engineer pushing another's half-finished work.
- Replace predefined certificates. Custom certificates with an authorisation list give mutual authentication between Panorama, firewalls and Log Collectors that you control.
- Treat HA and backups as security controls. Encrypted HA links, matching master keys, log redundancy and scheduled exports over SCP keep the management plane recoverable after a fault or an attack.
How Panorama shapes what firewalls enforce
Panorama manages firewalls through two separate structures. Templates and template stacks configure the Network and Device tabs (interfaces, zones, server profiles, VPN and device settings). Device groups carry Security policy and objects. Getting the security model right means understanding how each layer combines on the firewall.
Device group hierarchy
- Depth: device groups nest up to four levels below Shared, and Panorama supports up to 1,024 device groups. Shared sits at the top for configuration common to every group.
- Membership: a firewall belongs to one device group, although its virtual systems can be assigned to different device groups. Use Group HA Peers so both members of an active/passive pair sit in the same device group and receive identical policy.
- Evaluation order: the firewall evaluates shared pre-rules, device group pre-rules, local firewall rules, device group post-rules, then shared post-rules, and the first match wins. Pre-rules run from the highest level of the hierarchy down; post-rules run from the lowest level up.
- Default rules: intrazone-default (allow) and interzone-default (deny) are read-only, but you can override their tags, action, logging and security profiles. Override precedence runs Shared, then device group, then firewall, with the firewall winning.
- Object precedence: by default a descendant group's value for an object wins over an inherited value with the same name. Panorama can be set so that Shared or the highest ancestor wins instead, which suits estates where central objects must not be redefined locally.
Security implications of the hierarchy
| Design choice | Security effect | Recommended approach |
|---|---|---|
| Mandatory blocks in shared pre-rules | Cannot be bypassed by device group or local rules because they match first | Keep non-negotiable denies (known bad destinations, prohibited applications) in Shared pre-rules, owned by a small central team |
| Local firewall rules allowed | Local administrators can add rules between Panorama pre-rules and post-rules | Restrict local rule rights, or monitor firewall config logs for local edits |
| Descendant object values win (default) | A child group can redefine an address object used in a central rule | Enable ancestor precedence where central objects must be authoritative |
| Push all objects (default) | Every firewall receives objects it never uses, widening review scope | Configure Panorama to push only objects referenced by policy rules |
| Default rule logging left unchanged | Interzone denies may go unlogged | Override interzone-default to enable logging, set once in Shared |
Templates, stacks and local overrides
Templates in a stack are evaluated top to bottom, with higher templates taking priority when the same setting appears twice. Variables act as placeholders for values such as IP addresses and interfaces; template variables are inherited by the stack and can be overridden there, but templates do not inherit variables defined in the stack. When an administrator overrides a template setting directly on a firewall, the firewall saves it locally and Panorama stops managing that setting. Each override is therefore unmanaged drift. Review overrides regularly and force the template or stack configuration back onto the firewall when an override is not justified. Firewall modes (multi-vsys, VPN mode and normal or FIPS-CC operational mode) are not set by templates, so record them separately in your baseline. See the Configuration Drift and Baseline Enforcement Guide for the wider practice.
Commit and push change control
Panorama keeps a candidate configuration (unsaved changes) and a running configuration (committed). It will not push changes to managed firewalls until they have first been committed to Panorama, because a push sends the running configuration. That two-stage model is the backbone of change control.
| Panorama feature | What it does | Change control use |
|---|---|---|
| Commit scope by administrator or location | Commits, pushes, validates or previews only selected changes (device groups, templates, Collector Groups, Log Collectors, shared, Panorama) | Each engineer pushes only their approved change, never a colleague's pending edits |
| Validate | Reports errors that would block a commit, and warnings, without changing the running configuration | Mandatory step before a change board approves the push |
| Preview Changes | Shows which changes a commit would activate | Attach the preview to the change ticket as evidence of exactly what was approved |
| Commit queue and Task Manager | Queues up to 10 administrator commits in order and shows pending, completed and failed jobs; pending jobs can be cancelled | Confirm a push completed on every target, and cancel a queued push that lost approval |
| Config lock | Stops other administrators changing the candidate configuration in the chosen scope | Hold during a change window on a device group or template |
| Commit lock | Stops other administrators changing the running configuration | Freeze the estate during incidents or audits |
| Automatically Acquire Commit Lock | Locks the running configuration whenever the candidate configuration changes, for every administrator | Turn on for multi-team estates (Panorama > Setup > Management, General Settings) |
| Automated commit recovery | Firewall tests a pushed configuration and reverts if it breaks the connection to Panorama; rechecks every 60 minutes | Keep enabled (it is on by default) as a safety net for bad pushes |
Lock behaviour worth knowing
- Scope: a Shared lock covers the whole Panorama configuration; a template lock covers one template (a template stack cannot be locked, only its templates); a device group lock does not extend to descendant groups, so lock each child explicitly when needed.
- Removal: only a superuser or the administrator who set the lock can remove it. Panorama releases a lock automatically after the lock owner's commit, except a config lock set by a custom role administrator without commit rights, which must be removed manually.
- Comments: add a comment with the change ticket number every time you take a lock, so others know who holds it and why.
- Local locks: a template or device group push fails if a target firewall has a commit or config lock set locally. Treat failed pushes as a signal to investigate, not to retry blindly.
- Two commits for device groups: after adding, editing or deleting a device group you need both a Panorama commit and a device group push before firewalls change.
Pair these controls with a written process: request, peer review of the preview, validation, scheduled push, and post-push verification. The Change Management Security guide covers the governance side, and the Firewall Rule Review Checklist helps reviewers check the rule content itself.
Securing Panorama, firewall and Log Collector communication
Panorama, managed firewalls and Log Collectors authenticate to each other with predefined certificates unless you replace them. Custom certificates let you run the chain of trust from your own CA and add an authorisation check on each client.
- Issue certificates: deploy a server certificate on Panorama (and each server Log Collector) from your enterprise CA or a trusted third-party CA, and client certificates on managed devices.
- Create profiles: build a Certificate Profile (Panorama > Certificate Management > Certificate Profile), including the root CA whenever you include an intermediate, and an SSL/TLS Service Profile.
- Customise server communication: under Panorama > Setup > Management, Secure Communications Settings (or Managed Collectors > Communication for a Log Collector), select Customize Secure Server Communication and choose both profiles.
- Add an authorisation list: enter the expected Subject or Subject Alt Name values and select Check Authorization List. Optionally select Authorize Client Based on Serial Number, which needs the $UDID keyword in the certificate CN or subject.
- Migrate safely: leave Allow Custom Certificate Only cleared while devices move to custom certificates, and set a Disconnect Wait Time (0 to 44,640 minutes) that starts counting after commit.
- Enforce: once every device presents a custom certificate, select Allow Custom Certificate Only. From then on Panorama stops managing devices that still use predefined certificates.
- Cover data redistribution: if Panorama redistributes User-ID or other data, select the Data Redistribution option so that outgoing redistribution traffic uses the same custom trust.
For Collector Groups, configure both secure server and secure client communication on every Log Collector, because server and client roles are assigned dynamically. Import the CA certificate and both key pairs on each Log Collector, set Secure Client Communications (Certificate Type, Certificate, Certificate Profile), and then enable Enable secure inter LC Communication on the Collector Group General tab and commit.
Log Collector hardening and log integrity
Log Collectors hold the evidence an incident responder will need, so availability and integrity matter as much as confidentiality.
- Redundancy: select Enable log redundancy across collectors so each log is stored on two different Log Collectors. This halves usable storage and the maximum logging rate, so size for it. Palo Alto Networks recommends at least three Log Collectors per Collector Group so the group stays operational if one becomes unreachable; a group holds up to 16.
- Preference lists: define a device log forwarding preference list for every firewall. Without one, Panorama in Management Only mode drops incoming logs. With redundancy on, list at least two collectors.
- Placement: keep Log Collectors in a group on the same LAN and physically close; spreading a group across a WAN risks log loss during network disruption. All collectors in a group must be the same Panorama model, and redundancy needs the same number of logging disks on each.
- Retention: set Minimum Retention Period and per-log-type Max Days (1 to 2,000 days) to match your legal and investigation needs. Left blank, logs are kept until storage is full and then purged, which may be shorter than you think during a noisy incident.
- Off-box copies: forward Panorama-generated logs (Panorama > Log Settings) and firewall logs held by Log Collectors (Panorama > Collector Groups > Collector Log Forwarding) to your SIEM through Syslog server profiles. HTTP forwarding is documented for low-frequency logging only. See CIS Control 8 Audit Log Management Guide.
High availability and configuration backups
Panorama HA
HA peers must match on appliance model (or hypervisor), mode (Panorama or Management Only; Log Collector mode does not support HA), Panorama version and licences. Virtual appliances also need matching FIPS-CC mode, vCPU and memory, and unique serial numbers.
| Item | Synchronised between peers? | Hardening action |
|---|---|---|
| HA control link | Not applicable | Enable encryption, so HA uses TCP 28; unencrypted HA falls back to TCP 28769 and 28260. Keep peer latency under 500 ms |
| Shared and device group policy, templates, certificates, SSL/TLS service profiles, administrative access configuration | Yes | Change once on the active peer and confirm sync status after each commit |
| Master key | No, but must match | Set the same master key on both peers before forming the pair |
| Permitted IPs, login banner, NTP, DNS, SNMP, management IP | No | Apply the same hardening on each peer and check both in audits |
| Password for the built-in admin account | No | Rotate and vault it on both peers |
| Scheduled configuration exports | No | Create the export job on each peer |
The running configuration synchronises on every commit on the active peer, and the candidate configuration on every save and just before failover. Plugin and content version mismatches can cause sync problems or different policy decisions after failover, so upgrade both peers together.
Scheduled configuration export
Panorama > Scheduled Config Export bundles Panorama's running configuration and the running configuration of every managed firewall into a single gzip file, exported daily over SCP or FTP. Use SCP, run Test SCP server connection (it uploads ssh-export-test.txt) on each HA peer, and stagger start times if you export to more than one server. Configuring the job needs superuser rights. The bundle contains the full estate's configuration, so store it on a restricted, encrypted repository, keep immutable copies, and treat the SCP account as a privileged service account with its own credential rotation. Test a restore at least yearly. See the Firewall Management Guide for estate-wide backup practice.
Where identity fits
Panorama concentrates machine credentials: device certificates, the SCP account used for exports, syslog and SNMP server profiles, and API keys used by automation that pushes policy. Each is a non-human identity with estate-wide reach. Keep an inventory, give automation accounts a role limited to the device groups they touch, and rotate export and API credentials on a schedule. Human administrator roles and Access Domains are covered in the Palo Alto Networks PAN-OS Hardening Guide.
Implementation roadmap
- Weeks 0 to 2, baseline: export and store the current configuration, document the device group tree, template stacks and every local override, and confirm automated commit recovery is on.
- Weeks 2 to 4, change control: turn on Automatically Acquire Commit Lock, require Validate and Preview Changes evidence on every change ticket, and teach engineers to commit by administrator scope.
- Weeks 4 to 8, hierarchy clean-up: move mandatory denies to Shared pre-rules, switch to pushing only referenced objects, decide on object precedence, and remove or justify local overrides. Pilot on one low-risk device group first.
- Weeks 6 to 10, certificates: roll out custom certificates with Allow Custom Certificate Only cleared, watch for devices still on predefined certificates, then enforce.
- Weeks 8 to 12, resilience: enable HA encryption, align master keys and peer-specific settings, enable log redundancy with three or more collectors, set retention and SIEM forwarding, and schedule SCP exports on both peers.
- Rollback: keep the pre-change export; for a bad push rely on automated commit recovery or revert the device group or template and push again; for certificates, clear Allow Custom Certificate Only to regain management of devices that lost trust.
Detection and measurement
- Config log review: forward Panorama config logs and firewall config logs to the SIEM and alert on pushes outside change windows, lock removals by someone other than the owner, and local edits on firewalls.
- Push outcomes: watch the Task Manager and system logs for failed pushes and automated commit recovery reverts.
- Metric, unapproved pushes: pushes without a matching change ticket each month (target zero).
- Metric, override count: local template overrides across the estate, trending down.
- Metric, certificate coverage: percentage of managed devices using custom certificates (target 100 percent before enforcement).
- Metric, backup health: days since the last successful scheduled export on each peer, and date of the last restore test.
- Metric, log resilience: Collector Groups with redundancy enabled and at least three collectors.
Common failure patterns
- Pushing everything: an engineer commits and pushes all pending changes, including a colleague's untested edit, because commit scope was not used.
- Override sprawl: local template overrides accumulate during incidents and are never reviewed, so Panorama no longer manages key settings on many firewalls.
- Single-copy logs: a Collector Group without redundancy loses evidence when one Log Collector fails during an investigation.
- Half-built HA: peers form a pair but permitted IPs, NTP or scheduled exports exist on only one, so failover silently weakens the management plane.
- Exports in the open: the daily configuration bundle lands on a general file share over FTP, handing the whole estate's configuration to anyone with share access.
- Certificates never enforced: custom certificates are deployed but Allow Custom Certificate Only is never selected, so predefined certificates remain accepted.
Framework mapping
| Panorama control | NIST SP 800-53 Rev 5 | NIST CSF 2.0 | ISO/IEC 27001:2022 Annex A | CIS Controls v8.1 |
|---|---|---|---|---|
| Hierarchy design, templates, override review | CM-2, CM-6 | PR.PS-01 | 8.9 Configuration management | Control 4, Control 12 |
| Locks, validate, preview, scoped commits | CM-3, CM-5 | PR.PS-01 | 8.32 Change management | Control 4 |
| Custom certificates and authorisation lists | SC-8, SC-23 | PR.PS-01 | 8.9 Configuration management | Control 12 |
| Log redundancy, retention, SIEM forwarding | AU-6, AU-9 | DE.CM-09 | 8.15 Logging | Control 8 |
| HA and scheduled exports | CP-7, CP-9 | PR.DS-11, PR.IR-03 | 8.13 Information backup, 8.14 Redundancy | Control 11 |
Practitioner checklist
- Document the device group hierarchy, keep mandatory denies in Shared pre-rules and push only referenced objects.
- Decide object precedence deliberately and record why.
- Turn on Automatically Acquire Commit Lock and require Validate and Preview Changes evidence on every change.
- Commit and push by administrator scope; never push all pending changes by default.
- Review local template overrides monthly and force templates back where overrides are not justified.
- Deploy custom certificates with an authorisation list, then select Allow Custom Certificate Only.
- Enable secure inter LC Communication, log redundancy and at least three collectors per Collector Group.
- Enable HA encryption, match master keys and apply peer-specific hardening to both peers.
- Schedule daily SCP exports on both peers to a restricted repository and test a restore.
- Apply vendor security updates promptly, following the Palo Alto Networks Security Advisories.
Standards and references
- Palo Alto Networks: Device Group Hierarchy
- Palo Alto Networks: Panorama Commit, Validation, and Preview Operations
- Palo Alto Networks: Manage Locks for Restricting Configuration Changes
- Palo Alto Networks: Configure Authentication Using Custom Certificates on Panorama
- Palo Alto Networks: Configure a Collector Group
- Palo Alto Networks: Panorama HA Prerequisites
- Palo Alto Networks: Synchronization Between Panorama HA Peers
- Palo Alto Networks: Schedule Export of Configuration Files
Related NHI Mgmt Group resources: Palo Alto Networks PAN-OS Hardening Guide · Palo Alto Networks Certifications · Change Management Security · Configuration Drift and Baseline Enforcement Guide