Skip to content

All controls

PAN-MGT-002MediumPanorama

Rule an earlier rule of another device group already matches

At a glance

Base severity

Medium

Area

Panorama Advanced

Platform

Panorama

Evidence level

Derived0.90

Benchmark reference

Reads the export, not the device

ConfigProof reads the configuration, from an uploaded export or through the Relay. This control is evaluated against the objects in that configuration and reports what it says, so a finding here describes the configuration, not the traffic the firewall carries right now.

Why it matters

PAN-OS evaluates shared and parent pre-rules before a child's own, every pre-rule before any post-rule, and a child's post-rules before the ones it inherits. A rule placed after one that already matches its traffic will not decide anything, so the intent written into it is not the intent in force.

How to fix it

Web interface

The steps below are written for the web interface. A finding raised on your own export carries the same steps with your object names filled in.

  1. Decide which of the two rules expresses the intended policy.
  2. Narrow the rule that is evaluated first, or remove the rule that cannot be reached where it belongs to this device group alone.
  3. Where both are needed, move the specific rule above the general one in the scope that owns it.

Command line

Panorama CLI

delete device-group <device-group> <rulebase>-rulebase security rules <object-name>

An example. Values in angle brackets are yours to supply; a finding on your own export fills in the names it read. Nothing here commits or pushes. Review, commit, then push to your devices yourself.

Read it back

show device-group <device-group> <rulebase>-rulebase security rules <object-name>
Values to fill in3
<device-group>
The device group that holds the rule
<object-name>
The object's name, as it appears on your firewall
<rulebase>
Whether this rule is a pre-rule or a post-rule
Before you type it4
  • The managed devices keep running their current policy until you push.
  • A configuration shows definitions and references, not traffic, so review this before you run it.
  • A managed firewall can hold local rules that a Panorama export does not contain.
  • The same rule name can exist as a pre-rule and a post-rule, evaluated on either side of the managed firewall's own rules. Name the one you mean.

How to confirm the fix

  • Confirm the inherited rule is still present in the device group's inheritance chain after any change.
  • Compare the effective policy on one managed device before and after.

Limits

  • Pre-rules and post-rules are compared in the order a managed firewall evaluates them, without its local rules. A local rule can take traffic before a post-rule sees it; seeing that needs the configuration of the firewall itself.
  • This compares the configuration Panorama pushes. It does not read the local rulebase of any managed firewall.

Compliance references

No benchmark recommendation is mapped to this control in this version.

See it on your own firewall

One complete analysis of one firewall costs nothing and needs no card.

Start a free analysis