NUMBAT

Blog

How to Reduce Zscaler Rule Duplication at Scale

Reduce Zscaler rule duplication with policy inheritance, clear ownership and drift controls that keep managed customer environments consistent and auditable.

A single duplicate Zscaler rule rarely creates an immediate outage. Across dozens of customer tenants, however, duplicated URL filtering, firewall, SSL inspection or access-control rules become an operational liability. Teams trying to reduce Zscaler rule duplication are not merely cleaning up configuration. They are making managed security easier to change, verify, support and defend during an audit.

The issue is particularly acute for MSPs and MSSPs. Each customer may have legitimate variations in applications, identity sources, network ranges and risk tolerance. Without a disciplined operating model, those variations are handled by copying an existing rule, changing a few fields and moving on. Over time, the fleet accumulates policies that look similar but no longer behave predictably.

Why duplicate Zscaler rules create service-delivery risk

Duplication obscures policy intent. Two rules may share the same destination category and action but differ in rule order, user scope, time window, inspection profile or exception logic. An engineer investigating an access issue must then determine which rule actually matched, whether the other rule is still needed, and whether changing one will leave a security gap elsewhere.

It also makes changes expensive. A new threat-control requirement might need to be applied across a group of near-identical rules in every tenant. What should be one controlled policy change becomes a sequence of tenant-by-tenant edits, each with its own opportunity for error. The effort increases further when different engineers have created local naming conventions and exceptions.

For managed providers, the commercial effect matters as much as the technical effect. Time spent interpreting duplicate policy is time that cannot be spent improving service quality or onboarding the next customer. Duplicated rules also weaken the consistency of a managed offering. Customers may believe they receive a standard security baseline when, in practice, their configuration has drifted from it.

The goal is not to force every customer into one identical rule set. It is to separate what should be standard from what is genuinely customer-specific, then manage both deliberately.

Reduce Zscaler rule duplication through policy design

The most effective reduction work starts before an administrator deletes anything. First establish a policy model that explains where rules belong and who owns them. In most managed environments, this means defining a baseline layer, a customer-specific layer and a tightly governed exception layer.

The baseline contains controls that should apply consistently to a service tier or customer cohort. This may include common URL categories, sanctioned application controls, standard inspection positions, logging settings and general egress restrictions. These controls should be written once where possible and inherited or consistently deployed across the appropriate tenants.

The customer layer addresses requirements that are unique but stable. A customer may need an allow rule for a specific business application, source network or user group. It should be clearly identified as customer-owned configuration rather than a modified copy of a provider baseline. The exception layer is for temporary or unusual requirements, with an owner, business rationale and review date.

This structure avoids a common failure mode: treating every new request as a reason to clone an existing rule. A request for a new SaaS application should prompt a decision. Is it a recurring need that belongs in the standard service? Is it a customer-specific policy? Or is it a time-bound exception that should expire? Those decisions determine whether the rule set remains manageable six months later.

Design rules around intent, not just matching criteria

Rules that happen to have similar fields are not always duplicates. A policy allowing Microsoft 365 traffic for a defined operational group is materially different from a broader rule designed for all users, even if both reference the same application. De-duplication based only on technical attributes can remove necessary control boundaries.

Use a consistent rule description that captures intent: the service being protected, affected users or locations, action, policy owner and any expiry condition. A naming standard should make scope clear without forcing engineers to open every rule. For example, distinguish `BASE-Web-HighRisk-Block` from `CUST-ACME-PartnerPortal-Allow-Review2027`.

Descriptions do not replace documentation, but they give operations teams the context needed during incident response and change review. They also make it easier to identify rules that are functionally identical, rules that overlap, and rules that have outlived their purpose.

Build an evidence-led clean-up process

Deleting duplicate rules in bulk is risky because policy order and implicit dependencies matter. A safer approach is to identify candidates, validate their behaviour, consolidate in stages and retain evidence of each decision.

Start with a configuration inventory across every managed tenant. Compare rules using more than names. Assess action, scope, destinations, identity criteria, location or forwarding profile, order, inspection settings, logging, timestamps and ownership. A rule with a different name but identical operational behaviour is a strong consolidation candidate. Conversely, rules with the same name may require separate treatment if their scope differs.

Then use activity data to establish whether each candidate is being matched. An unused rule may be redundant, but it could also be a contingency control that only applies during a specific event. Before removal, confirm the rationale with the customer or service owner and check related change records. Zero-hit data is evidence, not automatic permission to delete.

Consolidation should generally happen in a controlled sequence. Create or confirm the surviving rule, verify that it covers the intended traffic, monitor policy hits, then retire the redundant rule through the normal change process. Record what was removed, which rule replaced it, who approved the change and how rollback would occur if an edge case appears.

This process is slower than a simple clean-up script, but it is faster than resolving a customer outage caused by an untested policy merge. It also creates an audit trail that demonstrates the difference between disciplined policy optimisation and undocumented configuration change.

Use inheritance without creating fleet-wide mistakes

Policy inheritance is the practical control that stops duplication from returning. It enables a managed provider to maintain a common baseline once and apply it consistently to the tenants that should receive it. When a standard changes, engineers update the parent policy rather than reproduce the change across each environment.

Inheritance needs guardrails. A fleet-wide baseline should only contain rules that have been validated for the relevant customer class. A broad block rule may suit a fully managed secure internet access offering but conflict with a co-managed customer that has retained control of selected business applications. Standardisation without segmentation simply moves the problem from duplicate rules to inappropriate shared rules.

Define customer cohorts before assigning inherited policy. Cohorts can be based on service package, industry constraints, identity architecture, geographic requirements or co-management model. Keep the number of cohorts low enough to operate, but not so low that every tenant needs local overrides.

Where an override is required, make it explicit. The operational team should be able to see that a tenant departs from its baseline, why it does so and whether the exception remains valid. Hidden overrides are duplication in another form: they leave a configuration that appears standard but behaves differently.

NUMBAT supports this operating model by giving service teams a central view of multi-tenant Zscaler administration, with fleet-wide policy inheritance, scoped customer self-service and visibility into configuration differences. The value is not simply faster rule deployment. It is retaining governance while allowing customers to manage approved parts of their environment.

Make drift detection part of normal operations

A clean rule base will not stay clean if teams only review it during a migration, audit or incident. Drift occurs through urgent customer requests, manual remediation, changing application requirements and handovers between engineers. The answer is continuous comparison against the intended policy state.

Drift detection should identify more than missing baseline rules. It should flag changes to rule order, action, scope, inspection settings and logging behaviour, because each can materially alter enforcement. The review process should distinguish approved variation from unauthorised change. Otherwise, teams create noise and lose confidence in their own alerts.

Operationally, assign a clear response path. Low-risk drift may create a scheduled review task. A change that weakens a mandatory control or creates an unapproved bypass should trigger immediate investigation. Every outcome should update the record of the tenant's intended state, whether that means remediating the change or formally approving an exception.

Automatically generated as-built documentation is useful here because it gives engineers and customers a current reference point. When the documented configuration, audit record and live policy view agree, change reviews move more quickly. When they do not, the discrepancy is visible before it becomes a support escalation.

Measure the operational result, not just the rule count

A lower number of rules is not automatically a better security posture. The meaningful measures are whether engineers can understand policy intent, make changes consistently and prove what happened. Track duplicated or overlapping rule candidates, approved exceptions, policy drift events, time to complete routine changes and the number of customer requests resolved through controlled self-service.

Also review the ratio of local overrides to inherited controls. If that ratio keeps increasing, the baseline may be too generic, the cohort design may be wrong, or customers may be receiving a service package that does not reflect their actual requirements. The right response is not always more centralisation. Sometimes it is a better-defined service boundary.

The strongest managed Zscaler operations treat every rule as a maintained control with a clear purpose, owner and place in the policy hierarchy. Start with one high-volume rule domain, prove the clean-up and inheritance model there, then extend it across the fleet with the same discipline.

All articles