Join our Newsletter — 33% off our NHI Course
Home› Guides› Service Mesh Health Check: Recurring Checks for mTLS,…
Template Cloud & Workload Identity

Service Mesh Health Check: Recurring Checks for mTLS, Certificates and Policy

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

A service mesh that was set to strict mutual TLS and default-deny at rollout rarely stays that way: namespaces are left permissive for a migration, port exceptions pile up, allow-all policies are added to fix an outage, and the mesh certificate authority quietly approaches expiry. This health check turns those risks into a recurring, measurable review with 12 scored metrics, a cadence, the data to collect and a findings log. It is vendor-neutral: the controls apply to sidecar and sidecarless meshes alike, and you map each metric to your own mesh's configuration objects and telemetry. It is written for platform engineering, application security, audit and the CISO's office. For design and rollout guidance, see the Service Mesh Security Guide; this page assumes the mesh is already in production.

What this health check covers

  • Transport identity: mutual TLS mode per namespace and port, plaintext traffic in strict scopes, and workloads outside the mesh.
  • Certificates and trust: root, intermediate and workload certificate lifetimes, expiry headroom, trust bundle content across clusters, and certificate authority key protection.
  • Authorisation policy: default-deny coverage, allow-all and wildcard rules, policies keyed on network location instead of workload identity, and exceptions with no end date.
  • Control plane: version currency, admin access to mesh configuration, and configuration drift against version control.
  • Edge and egress: ingress and egress gateways, and outbound traffic that bypasses the mesh.

Out of scope: cluster hardening in general (see the Kubernetes Platform Health Check) and incident response (see If your service mesh is compromised).

Key takeaways

  • Measure what the data plane reports, not what the policy says. A strict mTLS policy proves intent; destination-side connection telemetry showing the security mode of each connection proves enforcement.
  • Treat permissive mode as debt with a due date. Every permissive namespace or port exception needs an owner and an end date, and the count should only go down.
  • Track certificate expiry at every layer. Workload certificates rotate automatically, but roots and intermediates often do not, and an expired mesh root takes down every service at once.
  • Default-deny is only as good as its exceptions. Count allow-all, wildcard principal and namespace-wide rules, because one broad rule can undo a namespace's default-deny.
  • Every percentage comes with its count. 98% strict coverage can still mean one plaintext path into the payments service.

How to use this template

  1. Map the metrics to your mesh: for each metric below, write down the configuration object, command or telemetry query that produces it in your environment, and keep that mapping with the template so the next reviewer gets the same numbers.
  2. Agree the scope: list the clusters, meshes and namespaces in scope. Namespaces holding personal data, payment data, secrets or identity services are marked critical.
  3. Collect the data: pull configuration exports and at least 7 days of connection telemetry (30 days for the quarterly review) as described in "How to collect the data".
  4. Score: rate each metric green, amber or red using the thresholds. These thresholds are NHI Mgmt Group recommendations: adjust them to your risk appetite and record any change. A single red item in a critical namespace makes that metric red, whatever the overall percentage.
  5. Log findings: every amber or red result becomes a line in the findings log with an owner, a due date and the evidence file name.
  6. Sign off and compare: the platform owner and security lead sign the review. Compare with the previous review and explain any metric that got worse.

Cadence and sign-off

ActivityFrequencyOwnerEvidence kept
Configuration validation and policy linting in the deployment pipelineEvery changePlatform engineeringPipeline results per change
Plaintext-in-strict-scope and certificate expiry alertsContinuous, reviewed weeklyPlatform on-callAlert history export
Exception register review (permissive scopes, port exceptions, broad allow rules)MonthlyPlatform owner with application securityRegister snapshot with changes highlighted
Full metrics review (SM-01 to SM-12) and findings log updateQuarterlyPlatform owner, signed by security leadMetrics table with raw exports and queries used
Root and intermediate rotation rehearsal in a non-production meshAnnually, and before planned rotationPlatform engineeringRunbook, timings, issues found
Independent sample test of policy enforcementAnnuallyInternal audit or security testingTest plan and results
Event-driven reviewAfter mesh upgrade, new cluster joined, CA change or mesh-related incidentPlatform ownerBefore and after metrics

Metrics

IDMetricFormulaData source typeGreenAmberRed
SM-01Strict mTLS coverageIn-scope namespaces whose effective mTLS mode is strict ÷ all in-scope namespaces; report countsMesh authentication policy export (mesh-wide, namespace and workload level)100% of critical, 95% or more overallBelow 95% overall with dated exceptionsAny critical namespace not strict
SM-02Plaintext connections in strict scopesCount of connections reported by the destination proxy without mutual TLS, into workloads whose policy is strict, over the review windowData plane connection telemetry (security mode or principal field per connection)0Explained and below 10 connections, health checks onlyAny unexplained, or any into a critical namespace
SM-03Port-level mTLS exceptionsCount of workload or port overrides that disable or relax mTLS; with age and ownerAuthentication policy exportAll have owner and end date in the futureAny past end date by under 30 daysAny without owner or end date, or past end date by 30 days or more
SM-04Workloads outside the meshRunning workloads in in-scope namespaces with no proxy or mesh enrolment ÷ all running workloadsCluster workload inventory compared with mesh proxy status0 unregisteredRegistered exclusions onlyAny unregistered
SM-05Root and intermediate expiry headroomDays until the earliest expiry among mesh roots, intermediates and issuers, per trust domainCA certificate inspection, certificate inventoryMore than 180 days, rotation planned90 to 180 daysUnder 90 days without a scheduled rotation
SM-06Workload certificate rotation healthProxies serving a workload certificate older than the configured rotation point, plus certificate signing failures in the windowProxy certificate status, control plane CA metrics and logs0 stale, failures under alert thresholdStale certificates on non-critical workloads, resolved in the windowStale certificates on critical workloads, or repeated signing failures
SM-07Default root still in useTrust domains whose root is the mesh's self-generated default rather than an organisation-controlled CACA configuration, root certificate subject and issuer0 in productionNon-production onlyAny production trust domain
SM-08Default-deny authorisation coverageNamespaces with a deny-by-default authorisation baseline ÷ in-scope namespacesAuthorisation policy export100% of critical, 90% or more overallBelow 90% with planAny critical namespace allow-by-default
SM-09Broad allow rulesCount of authorisation rules that allow any source, any principal, a wildcard namespace or all methods and pathsAuthorisation policy export, policy linting output0 outside registered public entry pointsRegistered with owner and end dateAny unregistered
SM-10Identity-based policy shareAllow rules keyed on workload identity (service account or SPIFFE ID) ÷ all allow rules; rules keyed only on IP ranges counted separatelyAuthorisation policy export90% or more70% to 89%Below 70%
SM-11Control plane version currencyMesh control plane and proxy versions within the project's supported releases, and days since last security patch was available but not appliedControl plane version output, proxy version inventory, project release notesSupported, security patches applied within 30 daysSupported, patch older than 30 daysUnsupported release, or proxies on mixed unsupported versions
SM-12Configuration drift and change authorityLive mesh configuration objects that differ from version control; number of human identities able to change mesh-wide policyConfiguration export compared with repository, cluster RBAC bindings0 drift, mesh-wide write limited to pipeline and named adminsDrift explained by emergency change with ticketUnexplained drift, or broad groups with write access

How to collect the data

  • Effective mTLS mode (SM-01, SM-03): export authentication policy at mesh, namespace, workload and port level and resolve the most specific one that applies. Most meshes have a command or dashboard that shows the effective mode for a workload; use it on a sample to confirm your resolution logic.
  • Connection telemetry (SM-02): use destination-reported metrics or access logs, because the destination proxy knows whether the inbound connection used mutual TLS and which peer identity it presented. Source-reported data can miss traffic from workloads outside the mesh. Filter out known health check paths, and treat everything else as a finding.
  • Mesh enrolment (SM-04): list running pods or workloads per namespace and compare with the proxies registered to the control plane. Workloads excluded by annotation or label must appear in the exclusion register.
  • Certificates (SM-05 to SM-07): read the root and intermediate certificates from the CA configuration or secret store, record subject, issuer, not-after date and key algorithm, and check signing failures in control plane logs. Where workload identities follow SPIFFE, the X.509-SVID specification expects exactly one URI SAN carrying the SPIFFE ID and leaf certificates with the CA flag set to false; spot-check a few leaf certificates against that.
  • Authorisation (SM-08 to SM-10): export authorisation policies and parse them for empty rule sets, wildcard sources and principals, and IP-only sources. Policy linting in the pipeline should already flag these; the quarterly review checks that nothing reached production by another route.
  • Control plane (SM-11, SM-12): record control plane and proxy versions, compare with the project's supported release list, diff live configuration against the repository, and list role bindings that grant write access to mesh configuration resources.
  • Multi-cluster trust: where clusters share a trust domain or federate trust bundles, record which roots each cluster trusts. A cluster still trusting a retired root is a finding under SM-05. See the SPIFFE and SPIRE Guide for federation concepts.

Red flags that need action now

Do not wait for the quarterly review if any of these appear. Raise an incident or a priority change.

  • Plaintext connections into a critical namespace that is configured as strict.
  • Mesh root or intermediate expiring within 30 days with no tested rotation plan.
  • An allow-all or any-principal rule in a critical namespace that nobody can explain.
  • Mesh-wide authentication policy changed to permissive or disabled outside a change.
  • The CA signing key stored unprotected (for example in a widely readable secret) or accessible to identities outside the platform team.
  • Control plane on a release that no longer receives security fixes.
  • Admin audit events for mesh configuration changes missing from the SIEM.

Findings log

Finding IDMetricScope (cluster, namespace, workload)RatingDescription and evidence fileOwnerDue dateStatus
[YYYY-Qn-01][SM-03][cluster / namespace / port][Red][Port 9090 mTLS disabled since migration, no end date; export file name][Name][Date][Open / In progress / Closed / Risk accepted]
[YYYY-Qn-02][SM-05][trust domain][Amber][Intermediate expires in 120 days; rotation not scheduled][Name][Date][Status]

Risk acceptance requires the security lead's signature, a review date no more than 6 months out, and a compensating control (for example network policy at the cluster layer while the mesh exception stands). See Kubernetes Network Policies vs Service Mesh Policies for how the two layers combine.

Remediation map

MetricTypical fixTest before enforcingFramework anchor
SM-01, SM-02, SM-03Move namespace to strict, enrol or replace plaintext clients, retire port exceptionsWatch destination telemetry for non-mTLS traffic for a week in permissive mode first; roll back by restoring the previous policy objectNIST SP 800-53 SC-8, IA-9
SM-04Enrol workload or register a justified exclusion with compensating network policyEnrol in a canary replica firstNIST SP 800-53 CM-8
SM-05, SM-06, SM-07Replace default root with an organisation-controlled CA, schedule rotation with overlapping trust bundles, fix signing errorsRehearse rotation in non-production; distribute the new root before switching issuanceNIST SP 800-53 SC-12, SC-17
SM-08, SM-09, SM-10Add namespace deny baseline, replace broad rules with identity-scoped allows, replace IP-only rulesUse the mesh's audit or dry-run policy mode where available, and compare denied-request logsNIST SP 800-53 AC-3, AC-4, AC-6
SM-11Upgrade control plane, then proxies, within supported versionsCanary upgrade path per the project's upgrade documentationNIST SP 800-53 SI-2
SM-12Restore configuration from repository, restrict write roles to the pipeline and named adminsDry-run apply and diffNIST SP 800-53 CM-3, CM-5

In NIST CSF 2.0 terms the review supports PR.AA-05 (access permissions managed and reviewed), PR.DS-02 (data in transit protected), PR.PS-01 (configuration management) and DE.CM-01 (networks monitored). NIST SP 800-204A and SP 800-204B describe the mesh security model these checks test: mutual authentication between every pair of services and attribute-based access control enforced in the mesh rather than in application code.

Where identity fits

Every mesh workload certificate is a non-human identity, issued automatically and usually short-lived, but rooted in a CA key that is long-lived and highly privileged. The health check treats that CA key, the issuer credentials and the service accounts that map to mesh identities as part of the NHI inventory. See the Cloud Workload Identity Guide and the mTLS Guide.

References

Related NHI Mgmt Group resources: Service Mesh Security Guide · mTLS Guide · SPIFFE and SPIRE Guide · Kubernetes Platform Health Check · API gateway health check

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.