Duplicate rules log differently
At a glance
Base severity
Area
Platform
Evidence level
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
Two rules with the same match set log differently, so whichever one is evaluated first decides what evidence exists for that traffic. An investigation into a flow will find records or find nothing depending on rule order rather than on a decision anyone made.
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.
- Set both rules to the same logging configuration, or remove one of them.
Command line
PAN-OS CLI, standalone firewall, vsys1
set vsys vsys1 rulebase security rules <object-name> log-end yesAn example. Values in angle brackets are yours to supply; a finding on your own export fills in the names it read. Nothing here commits. Review the candidate configuration, then commit it yourself.
Read it back
show vsys vsys1 rulebase security rules <object-name>Values to fill in1
- <object-name>
- The object's name, as it appears on your firewall
Before you type it1
- Set the same logging on both rules, so the evidence does not depend on which is evaluated first.
How to confirm the fix
- Generate a test session and confirm it appears once, with the logging you expect.
Limits
- None, though the fix may be to remove one rule rather than to align the logging.
Compliance references
No benchmark recommendation is mapped to this control in this version.
More in Security Policies
- PAN-SEC-021Broad allow rule generalizes earlier specific rules
- PAN-SEC-022Permissive allow rule is evaluated before restrictive rules
- PAN-SEC-040Two rules are exact duplicates
- PAN-SEC-041Two rules differ in one dimension and could be reviewed for consolidation
- PAN-SEC-094Enabled rule names a zone only a disabled tunnel feeds
- PAN-SEC-095Rules can be merged without changing what they permit
- PAN-SEC-104Built-in interzone default rule does not log
- PAN-SEC-110No deny rule names the Palo Alto Networks threat IP lists
See it on your own firewall
One complete analysis of one firewall costs nothing. A card is required and nothing is charged.