TIS0401 - Mesh-Wide DestinationRule Enabling mTLS is Missing
A mesh-wide DestinationRule enabling mTLS is missing.
DestinationRule to Enforce mTLSTo ensure secure communication between services, add a mesh-wide DestinationRule that sets the tls traffic policy to ISTIO_MUTUAL for all services in the mesh.
Examples
- 
No Mesh-Wide DestinationRuleConfigured# No mesh-wide `DestinationRule` present in the mesh configurationExplanation: Without a mesh-wide DestinationRulespecifying mTLS, secure communication between services in the mesh is not enforced. This may lead to plaintext traffic between services, which compromises security.
Recommendation
Add a DestinationRule with a *.cluster host and ISTIO_MUTUAL as the tls traffic policy mode to enforce mTLS across the mesh.
- 
Add Mesh-Wide DestinationRuleto Enforce mTLSCreate a DestinationRulein theistio-systemnamespace that applies to all services in the mesh, enablingISTIO_MUTUALmode for mTLS.apiVersion: networking.istio.io/v1beta1
 kind: DestinationRule
 metadata:
 name: mesh-wide-mtls
 namespace: istio-system
 spec:
 host: "*.cluster.local"
 trafficPolicy:
 tls:
 mode: ISTIO_MUTUALExplanation: This DestinationRuleenforces mTLS for all services within the mesh by applying the rule to any host ending in.cluster.local. Setting thetlsmode toISTIO_MUTUALensures that all services use mutual TLS for secure communication.