Skip to content

All controls

PAN-MGT-002MediumPanorama

Rule an inherited pre-rule 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 a configuration export. This control is evaluated against the objects in that file, and it reports what the file says. It does not connect to the device and sees no traffic, so a finding here describes the configuration, not what the firewall is doing right now.

Why it matters

PAN-OS evaluates shared and parent pre-rules before a child's own. 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 inherited rule, or remove the rule that cannot be reached.
  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

  • Only pre-rulebases are compared. Post-rulebase order inverts between parent and child, and resolving it needs the local rulebase of each managed firewall.
  • 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. A card is required and nothing is charged.

Start a free analysis