Skip to content

All controls

PAN-SEC-016ObservationPAN-OS

Object is defined but never referenced

At a glance

Base severity

Observation

Area

Objects

Platform

PAN-OS

Evidence level

Derived0.80

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

Unreferenced address and service objects enlarge the configuration, slow commits and make review harder. They are also a common sign of a decommission that was not finished.

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. Confirm the object is not referenced from another vsys, device group or template.
  2. Delete it, or tag it for a scheduled cleanup.

Command line

PAN-OS CLI, standalone firewall, vsys1

delete vsys vsys1 <object-type> <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. Review the candidate configuration, then commit it yourself.

Read it back

show vsys vsys1 <object-type> <object-name>
Values to fill in2
<object-type>
The kind of object this is
<object-name>
The object's name, as it appears on your firewall
Before you type it1
  • A configuration shows definitions and references, not traffic, so review this before you run it.

How to confirm the fix

  • Search Panorama and every other vsys for references before deleting.
  • Confirm the object is not staged for a planned change.

Limits

  • A firewall-only export cannot see Panorama references, and objects staged for a future change are legitimately unreferenced. Confidence is 0.8.

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