Network report
See what agents asked to reach, how people decided, what runs actually reached, and what your workspace allows today.
The Network report shows the network side of your agent runs in one place. It answers four questions:
- What did agents ask to reach?
- How did people decide?
- What did runs actually reach?
- What does the workspace allow today?
The report only reads. It never allows or denies anything. To answer a request, use the approval screens in Network access approvals.
Where to find it
Open Reports, then Network report. The report covers this workspace and every workspace under it. For a group or an organization, the numbers are the sum of its workspaces.
Any member can read the report. No plan limit applies. A member of one workspace cannot read a sibling workspace or a parent group.
Choose a period
The picker offers “Rolling 24 hours”, “Rolling 7 days” (the default) and “Rolling 30 days”. Choose Custom range to set From and To. A custom range counts whole UTC days, from the first day to the last. The period reaches back 90 days at most.
The period applies to every section on the page.
Decisions
This section counts requests and how they ended. Decision totals shows six counts: Requested, Allowed for session, Allowed for workspace, Denied, Expired and Pending. Decisions by day shows the same counts for each UTC day. Decisions by decider shows who allowed or denied requests.
Each count lands on its own date:
- A request and a pending request count on the day CodeHerder first sees them.
- An allow or a deny counts on the day someone decides.
- An expiry counts on the day the request expires.
So one request can add to different days as it moves along. The report has no “allowed once” column, because the product has no such answer. See The three answers for what each one does.
Denials
This section ranks the targets that were denied most. Top denied targets lists the 50 hosts and ports denied most in the period. Top denied targets by workspace lists the 50 workspace and target pairs. Each row shows the denial count, the number of runs, the last denial and the open requests.
The report counts only denials that a person can approve. A connection that CodeHerder always blocks never appears here. The totals are not a count of every refused connection.
A row links to its newest request, with a pending request first. A pending request shows Review request. It opens the Requests list in that workspace’s network settings, where you decide. A request that someone already decided shows its status instead.
Traffic
This section shows what runs reached. It counts allowed connections only.
- Traffic shows the number of runs, how many reported traffic data, and the totals for connections and bytes.
- Top hosts by connections and Top hosts by bytes list the 50 busiest hosts and ports.
- Use Group by to rank hosts again for each workspace or each agent.
- Choose a host to list the runs that reached it, with their task, agent, stage and device.
Some runs report no traffic. A run on an older device does not report it, and neither does a local run. The report counts these runs apart and shows “No traffic data” for them. It never shows 0, because “no data” and “no traffic” are different facts.
The report keeps only the host, the port, the transport, counts and times. It does not keep a URL, a path, a header or a body. CodeHerder keeps traffic data for a limited time.
What the workspace allows today
This section lists what is open right now.
- Active approvals lists saved workspace rules and live session allowances. A row shows who created it, when, and why. It also shows its use in the period: connections and bytes sent and received. Last used looks at all the traffic data CodeHerder still keeps.
- Active deny rules lists the saved rules that refuse a destination for every run.
A Flags column helps you prune the list:
- Unused. No connection used the row in the period.
- Never used. No kept traffic data names the row. Older traffic can have expired, so this means “never used in the data kept”.
- Malformed host. The host is not a real destination, for example a file name. The rule never matches real traffic.
A revoked rule and an ended session allowance never show. To remove a rule or an allowance, see Workspace rules, allowances and settings.
Export a table
Each table has an Export CSV button. The file holds the same columns as the table. A long list exports the rows you have loaded.
From the command line
ch egress report reads the same four sections. Add a workspace name or ID to read another workspace. Without one, the command uses your current workspace.
ch egress report decisions
ch egress report decisions platform --since 30d
ch egress report denials
ch egress report denials platform --since 30d --csv
ch egress report traffic --by workspace,agent
ch egress report traffic --host example.com --port 443 --csv
ch egress report inventory --since 30d
ch egress report inventory --deny --csv
Use --window or --since to set the period, and --until to end it. The default period is the last 7 days. Add --json for JSON, or --csv for CSV. You cannot use both together. Run ch egress report --help to see every flag. See Using the CLI for sign-in and output options.
In the text output, a denial row that has a pending request prints the ch egress approve and ch egress deny commands to answer it.
Instance operators
An instance operator can read a Network report for every workspace on the deployment. In the app, open Instance and choose Network report. In the CLI, add --instance. See Self-hosted operator access and changes for who runs the instance.
Related
Last updated