Best Practices
Firewall Change Monitoring and Drift Detection: Catch Unauthorized Changes

Firewall change monitoring means capturing every configuration change on every firewall as it happens (who, what, when, from which console) and matching it to an approved change ticket. Policy drift detection is the second half: comparing the running configuration to an approved baseline to catch what the event stream missed. You need both, because each one catches what the other misses.
In most estates the change log exists but nobody reads it. The audit finding is rarely "no logging"; it is "logged changes with no ticket". Emergency rules added at 2 a.m. during an incident and never removed are the classic case. This guide covers both halves: real-time change monitoring first, then drift detection against a baseline.
What is firewall change monitoring?
Firewall change monitoring is the continuous capture of configuration change events from each firewall or its management server, enriched with the admin account and timestamp, and correlated to change tickets. A usable change monitor answers one question for every change: was this approved? To answer it, each change record needs four fields:
- Who: the named admin account, not a shared "admin" login.
- What: the rule, object or NAT difference, with before and after values.
- When and where: the timestamp, the device, and whether the change came from the management console or the local CLI.
- Why: the ticket ID. A change without one is an audit finding.
Shared admin accounts make the "who" field useless. Fix that before you buy any tool.
Change monitoring vs drift detection: what is the difference?
Firewall change monitoring is event-based and runs in real time; drift detection is state-based and runs on a schedule. Monitoring tells you a change happened. Drift detection tells you the result no longer matches what was approved. Change events get lost when log forwarding breaks, when someone changes a device outside central management, or when a local CLI change is later overwritten. A baseline comparison still catches those changes.
| Change monitoring | Drift detection | |
|---|---|---|
| Works on | Change events and logs | Running config vs approved baseline |
| Timing | Real time, within minutes | Scheduled (daily) or on demand |
| Catches | Who changed what, and when | Any difference, including changes the logs missed |
| Misses | Changes made while log forwarding was broken; out-of-band device changes | The who and when, if the change left no event |
| Audit question it answers | "Was this change approved?" | "Is the firewall still in the approved state?" |
In our experience, auditors working to ISO 27001, PCI DSS or NIS2 ask both questions, so running one without the other leaves a gap in the evidence.
How do you monitor firewall changes in real time?
To monitor firewall changes in real time, forward each vendor's configuration-change log to one central collector (a SIEM or a change-management tool), normalise the records into the four fields above, and alert on any change that has no matching ticket. The vendor logs already exist; what most teams lack is the correlation to tickets.
Where each vendor records changes
- Palo Alto Networks: the Config log, on the firewall and in Panorama, records each configuration change with the admin, the command, the configuration path and the values before and after the change. It can be forwarded over syslog, but the before and after fields only go out in a custom syslog format, not the default one.
- Fortinet FortiGate: configuration changes appear as system event logs under Log & Report > System Events; FortiManager keeps a revision history of every configuration per device.
- Check Point: the SmartConsole audit logs (Logs & Monitor; Logs & Events in R82) record administrator actions on the management server, including object changes and policy installations.
- Cisco ASA: syslog messages 111008 and 111010 record the commands a user executed: 111008 covers any command except
show, 111010 a configuration change.
Three alert rules that pay for themselves
- A change with no ticket reference.
- A change outside the approved change window (nights, weekends) that is not marked as an emergency.
- A new or widened "any/any" or broad allow rule.
Alert on missing tickets, not on every change. Alerting on every change trains people to mute the channel within a week.
The event stream will still miss changes. Drift detection against an approved baseline catches them, starting with what drift actually is.
What Is Policy Drift?
Policy drift is the difference between the approved (baselined) configuration of a firewall and its current running configuration. In a perfect world, every change goes through a formal change management process, requested, reviewed, approved, implemented, and documented. In the real world, changes happen outside the process: emergency access during an incident, a quick fix during a maintenance window that was never documented, a well-intentioned engineer who adds a rule directly on the firewall instead of going through the workflow.
Each of these out-of-band changes creates drift. Individually, they may be minor. Collectively, over months or years, they transform the firewall configuration into something that no longer matches what was reviewed and approved. This is a compliance problem, a security problem, and an operational problem all at once.
Why Does Policy Drift Matter for Compliance?
Every major compliance framework requires controlled change management for network security devices. When an auditor compares your documented change history against the actual firewall configuration and finds discrepancies, those discrepancies become audit findings.
Drift and Compliance Frameworks
- PCI-DSS 4.0: Requirement 1.2.7 mandates review of configurations at least every 6 months. Drift between reviews is a direct finding.
- ISO 27001: Annex A control 8.32 (Change management) in the 2022 edition, formerly A.12.1.2, requires change management procedures. Unauthorized changes violate this control.
- NIS2: Article 21 requires appropriate measures for incident handling and security maintenance. Undetected drift undermines both.
- KRITIS: BSI requirements include documented configuration management (for firewalls: IT-Grundschutz module NET.3.2). Drift represents undocumented configuration changes.
The auditor does not care why the drift happened. They care that it happened and that you did not detect it. Having a drift detection system that runs continuously demonstrates proactive governance, the opposite of waiting for an auditor to find your problems. For more on PCI-DSS firewall compliance and KRITIS requirements, see our dedicated guides.
Baseline Management
Drift detection starts with a baseline: a snapshot of the approved firewall configuration at a specific point in time, in line with how NIST SP 800-128 defines a baseline configuration. The baseline captures the complete state of the firewall, rules, objects, NAT entries, and system configuration, and marks it as the “known good” state.
Creating a baseline is a deliberate act. You review the current configuration, confirm it matches your approved state, and save it. From that point forward, any deviation from the baseline is drift. Baselines should be updated after approved changes go through your change management process, so the comparison always reflects the latest approved state.
8 Types of Drift
FwChange detects 8 distinct types of configuration drift, covering the full range of changes that can happen on a firewall:
Rule Added
A new firewall rule exists in the current configuration that was not present in the baseline. This could be an emergency rule, an unauthorized addition, or a rule added through a parallel workflow.
Rule Removed
A rule that existed in the baseline is no longer present. Someone deleted it without going through the change process. This can be as dangerous as an unauthorized addition if a critical security rule was removed.
Rule Modified
A rule exists in both baseline and current configuration, but its properties have changed, source, destination, service, action, or other attributes were modified.
Object Added
A new network object (address group, service group) was created. Objects define what rules reference, so new objects may indicate upcoming rule changes.
Object Removed
A network object from the baseline was deleted. If rules still reference it, this could cause policy errors or unintended traffic behavior.
Object Modified
An existing network object was changed, members added or removed from address groups, service definitions altered. This can silently expand or restrict rule scope.
NAT Changed
NAT (Network Address Translation) rules were added, removed, or modified. NAT changes can redirect traffic in ways that bypass security policies.
Config Changed
General system configuration changed, logging settings, interface assignments, routing, or other device-level settings that affect security posture.
Severity Classification
Not all drift is equally urgent. FwChange classifies drift events into 5 severity levels based on the type of change and its potential security impact:
- Critical: Changes that directly impact security, removing deny rules, adding broadly permissive rules, modifying zone boundaries.
- High: Significant unauthorized changes, new rules allowing external access, removal of logging, NAT modifications affecting critical services.
- Medium: Moderate risk changes that need review, rule modifications, object changes that affect rule scope, configuration adjustments.
- Low: Low-risk changes, minor object additions, disabled rule removals, cosmetic changes.
- Info: Informational changes, description updates, comment modifications, non-security configuration changes.
3 Resolution Workflows
When drift is detected, it needs to be resolved. FwChange provides 3 resolution workflows for each drift event:
Approve (Update Baseline)
The change was legitimate but bypassed the normal process. Perhaps it was an emergency fix that needs retroactive documentation. Approving the drift event updates the baseline to include the change and creates a record that the deviation was reviewed and accepted. This is the most common resolution for changes made during incident response.
Ignore
The drift is acknowledged but does not require action or baseline update. This is appropriate for known temporary states, a maintenance window in progress, a planned migration that has not completed, or a configuration that will be updated again soon. The drift event is marked as reviewed but the baseline remains unchanged.
Revert
The change was unauthorized and needs to be reversed. Reverting restores the firewall configuration to match the baseline. This is the appropriate response when someone made an unsanctioned change that was not approved through any process. In practice, revert is used sparingly because it requires confirming that reverting will not break active services.
Automated Detection
Manual drift checks are impractical. By the time you manually compare configurations, the information is already stale. FwChange runs drift detection on an automated schedule, hourly by default, via a cron job that compares the current firewall configuration against the active baseline.
When drift is detected, the system creates drift events with full details: what changed, when it was detected, the severity classification, and the specific differences between baseline and current state. Administrators are notified for high and critical severity events so they can investigate and resolve promptly.
Best Practices
- Create baselines after every approved change window. Keep the baseline current so you are comparing against the latest approved state, not a stale snapshot from months ago.
- Review drift events weekly. Even low-severity drift accumulates. A weekly review prevents drift from building up between audit cycles.
- Document emergency changes retroactively. When emergency rules bypass the normal process, use the approve workflow to document and baseline them. The goal is a complete record, not a perfect process.
- Track drift metrics over time. The number of drift events per firewall per month tells you how well your change management process is working. Rising drift indicates process gaps; falling drift indicates adoption.
- Integrate drift detection with change management. Drift detection is most effective when it is part of your overall governance framework, not a standalone tool. Every drift event should link back to the question: “Why did this change not go through the process?”
Policy drift is inevitable. Unauthorized changes will happen, during incidents, during maintenance, and through human error. The question is not whether drift will occur but whether you will detect it. Automated drift detection with baseline management, severity classification, and resolution workflows gives you the visibility and control that auditors expect and that security operations require.


