Dashboards often count injected proxies and call the mesh covered. This lesson tests capture rules, excluded ports and protocols, direct paths, proxy telemetry, destination evidence and defense in depth so a deployment label cannot substitute for non-bypassable enforcement. It measures coverage by verified paths and negative tests, which can fall even while the percentage of workloads with injected proxies remains unchanged.
This lesson continues The Gold Standard of Zero Trust, the Gold Standard of Education and the How X Works hub. Every service, identity, request, policy and trace in the worked examples is an original defensive teaching construction. It explains bounded reasoning and evidence checks rather than operating a real service mesh or exposing a live system.
Treat injection, traffic capture, policy evaluation, enforcement and resource outcome as separate claims. Prove the chosen path at the destination and test bypasses from the caller; proxy presence alone is only inventory evidence.
NIST SP 800-207A says policy enforcement infrastructure should be always invoked, verifiable and independent of application code. Istio security guidance documents traffic-capture limitations and recommends network-policy defense in depth rather than assuming unconditional capture.
THE GOLD STANDARD · ZERO TRUST
A deployed sidecar is not evidence that every packet crossed it
Sidecar injection shows that a proxy component exists beside a workload. Enforcement requires stronger evidence: the relevant traffic is captured, the proxy is invoked, the intended policy is loaded, bypass paths are constrained and the resource observes the expected identity and action.
Fast route
Start with the decisive rule.
Start this route
Measurement route
Build the access path and evidence.
Start this route
Comparison route
Separate the nearest lookalikes.
Start this route
Transfer route
Change the context and retest.
Start this route
Reporting route
State limits and continue reading.
Start this route
Chapter contents
Open the full chapter index
- 1. Give the short presence-and-path rule
- 2. Define always invoked for the scoped path
- 3. Separate injection from readiness
- 4. Inspect capture configuration
- 5. Test from both source and destination
- 6. Use a clean negative policy case
- 7. Test direct address and alternate names
- 8. Keep protocol limits explicit
- 9. Constrain application ability to alter capture
- 10. Do not treat permissive modes as enforcement
- 11. Verify policy arrival and selection
- 12. Handle established connections
- 13. Correlate proxy telemetry with resource evidence
- 14. Layer a network backstop
- 15. Solve a changed-context capture grid
- 16. Repair coverage shortcuts
- 17. Write a reproducible enforcement record
- 18. Use authoritative sources and continue the route
1. Give the short presence-and-path rule
Verify that the sidecar exists, the tested traffic crosses it, the correct policy is active and the destination sees the enforced result.
Original worked example. Pod A has proxy P. Request R produces P inbound/outbound events, policy D7 and destination receipt Q7. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Send the same request through an excluded port. Proxy events disappear, so injection alone cannot support the enforcement claim. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record workload, proxy, capture config, tuple, policy, decision and destination evidence. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep raw observations, derived identities, policy decisions and enforcement outcomes in separate fields so the first unsupported step stays visible.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
2. Define always invoked for the scoped path
Non-bypassable is a property of a defined traffic class and threat model, not a universal adjective. Name protocol, direction, port and caller capability.
Original worked example. Claim covers TCP east-west calls to service B on 8443 from ordinary workloads. It excludes host networking and documented admin paths. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change the test to UDP. The original claim no longer applies and needs another control. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. State scope, exclusions, attacker position, platform boundary and compensating controls. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable evidence is not a negative value; it means a required condition was not established.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
3. Separate injection from readiness
An injected container can be starting, misconfigured or disconnected from policy control. Require readiness and effective configuration evidence.
Original worked example. Proxy process runs but has no current authorization policy. Readiness gate blocks workload traffic until configuration version V8 arrives. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Restart control plane while cached policy remains. Record its age and declared fail behavior. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Keep injection time, proxy health, config version, control-plane status and workload readiness. If this check fails, mark the claim unavailable and repair the method before continuing.
Repeat the reasoning with labels hidden and event order changed. Record disagreement at the first obligation where it appears.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
4. Inspect capture configuration
Ports, interfaces, IP ranges and protocols can be excluded intentionally or accidentally. Read effective rules rather than assuming defaults.
Original worked example. Outbound 443 is captured, port 15090 is excluded for metrics and UDP is outside the declared path. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Add an excludeOutboundPorts annotation for 8443. The negative test must detect the new bypass. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Archive annotations, generated redirection rules, excluded ranges, protocols and change owner. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry a plausible alternative through the trace and choose the next check that separates the alternatives.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
5. Test from both source and destination
A caller may bypass its own sidecar, yet the destination sidecar can still be the security boundary. Observe both ends and the protected resource.
Original worked example. A sends directly to B IP. A-side event is absent, but B-side proxy authenticates and denies the unauthorised identity. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Call a destination port excluded from B capture. Both proxy and application evidence reveal the coverage gap. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Collect source proxy, network, destination proxy and application receipts. If this check fails, mark the claim unavailable and repair the method before continuing.
Write the expected result before observing the outcome, then preserve conflicts rather than smoothing them away.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
6. Use a clean negative policy case
A denied identity or action proves the intended PEP was invoked only when the denial and absence of resource side effect are both observed.
Original worked example. Unknown X calls B write endpoint. B sidecar logs deny D4 and B audit shows no write. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. X calls an unprotected health port. Success is expected only if that port is explicitly outside scope. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record expected PEP, denial reason, HTTP or transport result and side-effect check. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source records, mappings, calculations, policy versions and control receipts so the explanation remains reproducible.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
7. Test direct address and alternate names
Service discovery can hide direct pod IP, node port, localhost or alternate interface paths. Enumerate reachable routes.
Original worked example. Approved call uses service name B. Tests also try pod IP, node IP and alternate listener; network policy blocks routes outside proxy path. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. A debug listener appears on 9000. Inventory comparison flags it before it becomes an untested bypass. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Maintain listener inventory, DNS aliases, address paths, owners and test results. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep raw observations, derived identities, policy decisions and enforcement outcomes in separate fields so the first unsupported step stays visible.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
8. Keep protocol limits explicit
Capture mechanisms may cover TCP but not UDP or ICMP, and application upgrades can change protocols. Policy claims must follow actual traffic.
Original worked example. HTTP/TCP API is covered; new QUIC/UDP experiment is marked uncovered until a suitable enforcement design exists. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Switch a client from TCP to UDP without changing service name. Coverage changes even though inventory labels do not. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record protocol, transport, upgrade negotiation, capture support and fallback. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable evidence is not a negative value; it means a required condition was not established.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
9. Constrain application ability to alter capture
A workload sharing namespaces with its sidecar may modify routing or proxy state under some deployments. Reduce privileges and add destination-side or network controls.
Original worked example. Application runs without network-administration capability; network policy permits B only through controlled ports; destination proxy enforces identity. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Grant privileged debug capability. Threat model changes and bypass tests must be repeated. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Track Linux capabilities, namespace sharing, admission controls, network policy and exceptions. If this check fails, mark the claim unavailable and repair the method before continuing.
Repeat the reasoning with labels hidden and event order changed. Record disagreement at the first obligation where it appears.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
10. Do not treat permissive modes as enforcement
Dry-run, audit-only or permissive authentication can produce telemetry without blocking. Read the effective mode and verify outcome.
Original worked example. Policy logs would-deny for X but application returns data. Dashboard shows visibility, not enforcement. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Switch to enforce after tests. X receives deny and application confirms no data release. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record mode, policy version, expected decision, actual response and resource outcome. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry a plausible alternative through the trace and choose the next check that separates the alternatives.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
11. Verify policy arrival and selection
A correct central policy can miss a workload because of labels, revisions or selector mismatch. Inspect the proxy’s effective policy.
Original worked example. Policy P8 targets service B revision stable. Canary B2 lacks the label and has no P8; coverage report catches it. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Fix selector and confirm B2 effective config plus negative test. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Keep desired policy, selector, workload labels, effective config and decision. If this check fails, mark the claim unavailable and repair the method before continuing.
Write the expected result before observing the outcome, then preserve conflicts rather than smoothing them away.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
12. Handle established connections
New policy or capture changes may not affect existing connections immediately. Test both fresh and already-open sessions.
Original worked example. Connection C1 begins before deny policy; new C2 is denied. Declared control closes C1 within thirty seconds and verifies no later requests. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Leave C1 open without a closure rule. Report the exposure instead of claiming instant enforcement. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record connection start, policy activation, drain behavior, maximum lifetime and last request. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source records, mappings, calculations, policy versions and control receipts so the explanation remains reproducible.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
13. Correlate proxy telemetry with resource evidence
A proxy permit proves a decision, not that the application applied the intended action. A proxy deny needs absence of downstream side effects.
Original worked example. P permits read R9; application logs one read of Q9 with same trace. For denied write R10, no write receipt exists. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Application writes through a local path without proxy event. Correlation reveals a bypass or instrumentation gap. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Use trace IDs, clocks, action hashes, retries and authoritative resource audit. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep raw observations, derived identities, policy decisions and enforcement outcomes in separate fields so the first unsupported step stays visible.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
14. Layer a network backstop
Network policy can constrain paths so bypassing a caller proxy does not create unrestricted reachability. Test the combination and its limits.
Original worked example. Only destination proxy port is reachable from namespace A; direct database port is blocked. Identity policy then governs approved service actions. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove network policy in a staging test. Direct path becomes reachable and coverage alarm fires. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record network rule, sidecar rule, tested path, residual reachability and rollback. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable evidence is not a negative value; it means a required condition was not established.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
15. Solve a changed-context capture grid
Vary port, protocol, caller privilege, connection age and policy mode one at a time. Predict which evidence should disappear or change.
Original worked example. Captured TCP denies; excluded TCP bypasses source but destination denies; UDP is uncovered; old connection drains; audit-only logs without blocking. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Restore standard port and enforce mode. The full source-to-resource evidence chain returns. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Require expected capture, actual PEP, response, side effect and limit. If this check fails, mark the claim unavailable and repair the method before continuing.
Repeat the reasoning with labels hidden and event order changed. Record disagreement at the first obligation where it appears.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
16. Repair coverage shortcuts
Injected does not mean intercepted, telemetry does not mean blocked, and zero errors do not prove negative tests ran.
Original worked example. Report says 100 percent mesh because every pod has a sidecar. Repair measures effective policy and passing bypass tests per path. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Add a new listener. Injection percentage stays 100 while path coverage falls, exposing the better metric. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Replace container count with path inventory, effective config, negative tests and outcomes. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry a plausible alternative through the trace and choose the next check that separates the alternatives.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
17. Write a reproducible enforcement record
A reviewer should rebuild the capture claim, attempted bypasses and destination results without production secrets.
Original worked example. Record E44 includes effective redirect rules, policy V8, five test tuples, proxy logs and application receipts. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Later platform update changes capture defaults. Preserve E44 and open a new verification run. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Archive config, environment, commands or harness, outputs, hashes and correction history. If this check fails, mark the claim unavailable and repair the method before continuing.
Write the expected result before observing the outcome, then preserve conflicts rather than smoothing them away.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
18. Use authoritative sources and continue the route
NIST requires enforcement infrastructure to be always invoked and verifiable; Istio documents why sidecar capture needs scoped tests and defense in depth.
Original worked example. Continue through service authentication, tiered segmentation and ingress/east-west enforcement to test identity and topology together. The identifiers, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Other meshes use different mechanisms, but presence, capture, policy, bypass and outcome remain separate evidence obligations. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Save source versions, exact URLs, access date, platform version and verified scope. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source records, mappings, calculations, policy versions and control receipts so the explanation remains reproducible.
End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the identity, policy, topology or enforcement context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Grouped reading routes
Core route
Companion lessons
- Separating Service Authentication from Service-to-Service Authorization
- Separating Network-Tier Segmentation from Identity-Tier Segmentation
- Separating Ingress Gateway Approval from East-West Service Enforcement
Related specialist lessons
Sources and further study
NIST SP 800-207A. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
Istio security best practices. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
NIST SP 800-207A PDF. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
The worked examples and transfer checks are developed here and state their own assumptions. The linked sources support the underlying zero trust architecture, identity, policy and evidence principles.
Return to contents · Return to The Gold Standard of Zero Trust
