Key takeaway
- Cloud native security and observability explained: what to collect across build, deploy and runtime, which tools to start with, and how to adopt them.
Cloud native security and observability work best as one practice. Security controls such as policy, identity and scanning define what should happen in a Kubernetes platform. Observability, built on traces, metrics and logs, shows what is actually happening, so you can spot misuse, investigate it and tighten the controls.
For enterprise leaders, the practical aim is simple: be able to answer, for any running workload, who built it, what it is allowed to do, and what it did. This guide sets out the challenges, a coverage model across build, deploy and runtime, the telemetry to collect first, and an adoption sequence. It builds on our guides to cloud native observability tools and zero trust security architecture.
Why do cloud native platforms need security and observability together?
Classic client-server estates ran on long-lived virtual machines with stable addresses, so network location was a usable identity. Containerised workloads on an orchestrator are created, moved and destroyed continuously, and many services share one network. A firewall rule tied to an IP address says little about which workload is talking.
Security teams are also further from the delivery path than before. CI/CD automation ships changes many times a day, so reviews that happen after release arrive too late. Shift-left practices move checks earlier, but they still need runtime evidence to confirm that what was approved is what is running.
What are the main challenges of cloud native security?
| Challenge | Why it happens | What helps |
|---|---|---|
| Weak workload identity | Short-lived containers and shared networks make IP-based rules unreliable | Service identity, mutual TLS and policy by workload label, as in a zero trust model |
| Security outside the delivery path | Automated pipelines release faster than manual review | Policy checks and signing inside CI/CD, with deploy-time verification |
| Blind spots in managed compute | Agents may not run on serverless or managed services | Provider logs, API audit trails and OpenTelemetry instrumentation in code |
| Too much telemetry, too little context | Logs from many layers are hard to correlate | Common identifiers, a baseline of expected behaviour and a clear owner per alert |
How do you build a cloud native security and observability strategy?
Cover each layer of the platform and agree who owns the data. A workable scope has five layers, from the control plane down to storage.
| Layer | What to observe | Why it matters |
|---|---|---|
| Control plane | Kubernetes API server audit logs, admin and role changes | Shows who changed cluster state |
| Network | Flow data between services, ingress and egress | Reveals unexpected connections and lateral movement |
| Application | Traces, metrics and application logs, authentication events | Links user requests to service behaviour; feeds your SIEM |
| Container and node | Image provenance, runtime process and file events, configuration drift | Detects tampering and unapproved images |
| Storage and data | Access logs for databases and object storage | Shows who read or changed sensitive data |
Telemetry standards help here. According to the OpenTelemetry documentation, OpenTelemetry supports traces, metrics, logs and baggage as signals, with profiles still in development. Using one instrumentation standard lets application and platform teams share the same identifiers when they investigate. The CNCF Technical Advisory Group for Security also publishes a cloud native security whitepaper that frames security across the lifecycle; confirm the current edition on its official page.
What should you observe across build, deploy and runtime?
Build: can you trust the artefact?
Record who changed the source and the pipeline, scan dependencies and images, and sign what you ship with recorded provenance. Our guide to supply chain security best practices sets out the controls in more detail.
Deploy: is only approved software admitted?
Use admission policy to check signatures, image sources and configuration before a workload starts, and log every allow and deny decision so exceptions can be reviewed.
Runtime: is behaviour what you expect?
Observe the cluster first to learn expected behaviour, then apply controls, then investigate anything unexpected and fix the cause. Mapping detections to a shared catalogue such as MITRE ATT&CK gives security and platform teams a common language.
Which cloud native observability signals and tools matter first?
| Signal or source | Use for security | Note |
|---|---|---|
| Kubernetes audit logs | Who did what to the cluster | Start here; low effort, high value |
| Network and system logs | Unexpected connections, process activity | Agent-based tools may not run on serverless or managed compute |
| Traces | Follow one request across services | OpenTelemetry signal |
| Metrics | Spot unusual rates or resource use | OpenTelemetry signal |
| Application logs | Authentication failures, errors | Send to your SIEM |
| Configuration assessment | Find drift from approved settings | Run in CI and in the cluster |
Tool choice depends on your stack; see our review of cloud native observability tools for how the options compare.
What does an integrated approach look like in practice?
Treat the four steps as a loop. Observe expected behaviour. Apply controls such as network policy, least-privilege roles and admission checks. Investigate unexpected events with the telemetry you already collect. Fix the root cause in code, pipeline or policy, then observe again.
Where AI agents operate clusters or pipelines, the same loop applies to them. ElixirData Context OS keeps governed context, versioned policy and decision traces in one decision layer above AI agents, and Elixir Govern (formerly AgentGRC) keeps autonomous agent actions inside policy, with the audit trail risk teams need. ElixirClaw is an agentic OS platform to build, orchestrate and govern AI agents and automation workflows while keeping humans in control.
What is a sensible adoption sequence, and when should you hold back?
| Step | Action | Exit check |
|---|---|---|
| 1 | Turn on Kubernetes audit logs and central log storage | Can you answer who changed a role binding last week? |
| 2 | Instrument key services with OpenTelemetry traces and metrics | One request can be followed end to end |
| 3 | Add signing and provenance in CI/CD, then admission checks | Unsigned images are rejected, and the decision is logged |
| 4 | Baseline runtime and network behaviour, then add detections | Alerts have an owner and a runbook |
| 5 | Extend the same evidence trail to agents and automation | Every agent action can be traced to a policy and an approver |
Trade-offs are real. Full telemetry has storage and processing cost, so sample traces and keep long retention for audit logs only. Do not add runtime agents everywhere before you have owners for the alerts. Small estates may be better served by managed provider tooling than a bespoke stack.
To map one cloud native security decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
Frequently asked questions
What is cloud native security and observability?
It is the practice of collecting telemetry (traces, metrics and logs) from containerised workloads, the cluster and the delivery pipeline, and using it to detect, investigate and prevent security problems. Security controls tell you what is allowed; observability tells you what is actually happening.
Why is observability needed for cloud native security?
Workloads in Kubernetes are short lived and share networks, so IP addresses and host names are weak identities. Telemetry gives you the behaviour baseline you need to tell normal activity from an attack, and the evidence to investigate afterwards.
Which telemetry should a platform team collect first?
Start with Kubernetes audit logs, container runtime and network flow data, and application traces and metrics. Add CI/CD pipeline events and artefact provenance so you can trace a running workload back to its build.
Does OpenTelemetry cover security data?
OpenTelemetry defines traces, metrics, logs and baggage as supported signals, and lists profiles as still in development, according to its documentation. It is a common way to collect and route telemetry, but it does not replace runtime detection or policy tools.
How do you secure the software supply chain in CI/CD?
Treat the pipeline as production: restrict who can change it, scan and sign artefacts, record provenance, and check signatures at deploy time. See our guide to supply chain security best practices for the control list.
Where do AI agents fit in cloud native operations?
Agents that act on clusters or pipelines need the same identity, least privilege and audit trail as people. Governed context and decision traces let a security team review why an agent acted, not only what it did.
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE