$ oc edit flowcollector cluster
Monitor TLS traffic to identify insecure protocols, detect security risks, and maintain compliance without decrypting traffic.
Transport Layer Security (TLS) traffic monitoring identifies security risks and maintains compliance by analyzing encrypted traffic metadata without decryption.
As a network administrator or security practitioner, you must verify that encrypted traffic uses secure protocols and cipher suites. Monitoring TLS usage identifies security risks, such as workloads that use deprecated TLS versions, and helps maintain compliance with cluster security policies.
The Network Observability Operator captures TLS metadata from handshake messages without decrypting traffic, providing visibility into encryption protocols while maintaining data privacy. This approach enables the following improvements:
Identifies workloads using deprecated TLS versions (1.0, 1.1) or weak cipher suites by capturing TLS version, cipher suite, and group information. You can configure Prometheus alerts to automatically report deprecated TLS configurations.
Audits TLS configurations to meet regulatory requirements through metric aggregation in dashboard charts and overview panels. You can filter flows by TLS fields to isolate specific protocol versions or cipher suites for compliance reporting.
Visualizes encrypted network traffic with lock icons in the topology view and identifies unencrypted communications across your cluster. You can analyze TLS usage patterns to evaluate your overall security posture.
Targets workloads using deprecated protocols for updates by filtering and analyzing TLS fields to isolate problematic connections requiring immediate attention.
Enable Transport Layer Security (TLS) tracking to monitor encryption protocols and identify security risks in the cluster.
|
TLS fields only appear in flows for connections that perform a TLS handshake after the feature is enabled. |
The Network Observability Operator is installed.
The FlowCollector custom resource (CR) is configured with spec.agent.type: eBPF.
Access to the cluster with cluster-admin privileges.
Edit the FlowCollector CR by running the following command:
$ oc edit flowcollector cluster
Add TLSTracking to the spec.agent.ebpf.features list:
apiVersion: flows.netobserv.io/v1beta2
kind: FlowCollector
metadata:
name: cluster
spec:
agent:
type: eBPF
ebpf:
features:
- TLSTracking
# ...
where:
spec.agent.ebpf.featuresSpecifies the list of eBPF agent features to enable. Add TLSTracking to this array to enable TLS metadata capture from handshake messages.
Save and exit your editor.
Confirm that the eBPF agent pods have restarted by running the following command:
$ oc get pods -n netobserv-privileged
NAME READY STATUS RESTARTS AGE
netobserv-ebpf-agent-abc12 1/1 Running 0 2m
Verify the TLS tracking feature is active by running the following command:
$ oc logs -n netobserv-privileged ds/netobserv-ebpf-agent | grep "EnableTLSTracking"
EnableTLSTracking:true
The output confirms that the TLS tracking feature has been initialized in the eBPF agent.
View and filter Transport Layer Security (TLS) metadata to identify deprecated configurations and verify encryption compliance in the cluster.
The Network Observability Operator is installed.
TLS tracking is enabled in the FlowCollector custom resource (CR).
Access to the OKD web console.
Navigate to Observe → Network Traffic in the OKD web console and click the Traffic flows tab.
|
The TLS Version column is enabled by default. If the default TLS version column is not visible after enabling TLS tracking, click Restore default columns in Manage columns to refresh the table. |
Add TLS-specific columns to the traffic table:
Click Manage columns.
Select the TLS Cipher Suite, TLS Group, and TLS Types checkboxes.
Click Save.
Filter traffic by message type to view complete TLS metadata:
In the filter bar, select TLS Types and choose ServerHello from the dropdown menu.
ServerHello messages contain negotiated TLS metadata such as cipher suite and cryptographic group information.
Filter traffic by TLS version to identify deprecated configurations:
In the filter bar, select TLS Version.
Select the versions you want to review:
1.0: Deprecated
1.1: Deprecated
1.2: Legacy
1.3: Current standard
To identify all deprecated connections, filter for TLS versions 1.0 and 1.1.
Analyze TLS metrics in the overview panel:
Click the Overview tab.
Review the default TLS panels, which include TLS usage (network flows per second) and TLS per version (network flows per second).
Optional: To view additional TLS metrics, click Manage panels to select and display additional panels, such as TLS per group (network flows per second) or TLS per cipher suite (network flows per second).
Identify secure connections in the Topology view:
Click the Topology tab.
Connections secured with TLS are marked with a lock icon. The color of the lock icon indicates the security level:
Red: Deprecated TLS versions (1.0 or 1.1)
Yellow: Legacy configurations (TLS 1.2)
Green: Secure connections (TLS 1.3)
Blue: Post-Quantum Cryptography (PQC) compliant
Select a connection node to view its specific TLS version and cipher suite details.
View TLS metrics in the Network Observability dashboard:
Navigate to Observe → Dashboards.
Search for NetObserv and review the available metrics:
TLS Traffic: Displays overall TLS traffic metrics.
Flows rate per TLS version: Displays traffic trends by TLS version over time.
Flows rate per TLS group: Displays traffic by TLS group over time.
Transport Layer Security (TLS) metadata fields track and define encryption protocols, protocol versions, and cipher suite data to help you analyze secure network flows.
| Field | Description | Possible values | Availability |
|---|---|---|---|
TLS Version |
Negotiated TLS protocol version. |
|
|
TLS Cipher Suite |
Cryptographic algorithm suite negotiated between the client and server. |
Examples:
|
Displays as |
TLS Group |
Elliptic curve used for key exchange. |
Examples:
|
Displays as |
TLS Types |
Type of TLS handshake message captured. |
|
All TLS flows |