Narrowing Wildcard Segments
Wildcard segments are how most ZPA rollouts start, and how many of them stay. This guide is the method we use to narrow them: what the logs give you, what only the application owner can give you, and how to turn both into segments that match real applications. ZHERO does the reading and the measuring; the conversations are yours.
When to use it
- A wildcard such as
*.company.comstill carries a large share of your ZPA traffic. - Zero Trust Coverage shows broad-scope segments above target.
- You are asked to prove least privilege, or to show how lateral movement is contained.
- Specific segments exist but nobody remembers why they contain what they contain.
The method in six steps
- Pick the wildcard that matters. Start from traffic, not from the segment list: the broad segment that carries the most bytes is the first project. See Measuring segmentation progress.
- Read it from the bottom. List the hostnames and addresses it carries, the ports, the outcomes and the users behind each destination. Group the results by application.
- Find the owner. Work back from hostnames to the application and its owner, using the CMDB and the naming convention. See Preparing the application owner interview.
- Ask from the top. Get the complete inventory of the application for each environment: hostnames, server addresses, virtual IPs, aliases, ports. The logs only show what was used in the window you queried.
- Split public from private. Front end to the users who need the application, back end to the administrators’ group. See Public and private segments.
- Name it and move it. Create the segments with a name and description that record what you learned, move the hostnames out of the wildcard, write the access rules on groups. See Naming and describing segments.
Then measure, and pick the next application.
The bottom front with ZHERO
- Open Dashboards, tab ZPA, Zero Trust Coverage. KPI 1 lists the broad-scope segments by class, KPI 2 the share of ZPA traffic through them in the last 14 days.
- Next to a broad segment, press Investigate traffic. It opens ZPA Diagnostics on that segment, over 14 days, with the Domains + Ports drilldown already running.
- Read the result: every hostname or address with its server IP, application, ports and outcome breakdown. A destination with many errors or timeouts is a misconfiguration, not usage.
- To see who reaches one destination, add a Domain filter with that hostname on the ZPA diagnostics page of the console, press Refresh on the ZHERO banner that says the page filters changed, and run the Users discovery type. The Domain chip can be switched to the Server IP of the same destination. The result lists each username with its last known IP and request count.
- Excel exports the lot: this is the sheet you bring to the owner.
- The Usage tab of the segment drawer gives the same picture without running a search: the hosts seen behind the segment, the rules that actually serve it, the top ports and client types.
- Once the owner has confirmed the inventory, tick the hosts and ports of the application in the Domains + Ports results and press Prepare segment. ZHERO prepares a new segment carved out of the wildcard with those hosts and only the ports seen, lists the ports seen but left out, checks port conflicts and offers to add the new segment to the access rules that name the source segment. Everything stays in Pending Changes until you apply it. See Prepare a segment from the results.
What stays human
ZHERO does not know who owns an application, whether a host is a back end, or which group should reach it. The inventory from the owner, the reverse engineering from the CMDB, the public and private split, the naming and the agreement on groups are the work this guide describes.
The AI-powered segmentation in the ZPA console, which groups destinations by the users who reach them, is a useful hint for where an application’s boundary might be. It can also merge two applications used by the same team. Confirm every boundary with the owner.
Limits and notes
- The window is what you queried. A host that saw no traffic in 14 days is not in the enumeration. That is why the owner’s inventory is needed.
- Narrowing changes access. Moving hostnames out of a wildcard changes who reaches them. Stage the change, check the port conflicts, and agree a test window with the owner.
- Specific segments deserve the same pass. A segment with precise hostnames can still mix front end and back end.