Subscribe to the Non-Human & AI Identity Journal

How should security teams use observability data to investigate access issues in distributed systems?

Security teams should use metrics to detect anomalies, logs to reconstruct the identity trail, and traces to understand request flow across services. The key is correlation. Without shared request IDs, central log aggregation, and workload identity context, observability data becomes a collection of disconnected signals rather than evidence of who accessed what and through which service path.

Why This Matters for Security Teams

Access investigations in distributed systems often fail because the evidence is fragmented across services, clusters, and identity layers. Metrics can show that something is wrong, but they rarely explain who acted, what token was used, or whether a service account was impersonated. Logs and traces only become reliable evidence when they are correlated with workload identity and consistent request IDs, which is why guidance from the OWASP Non-Human Identity Top 10 and NHI Management Group’s Ultimate Guide to NHIs both emphasise identity context as part of observability, not an afterthought.

Without that context, teams end up chasing symptoms such as rate spikes, retries, or unusual east-west traffic while missing the underlying access path. This is especially important for non-human identities, where a single credential can be reused across many services and environments. NHI Mgmt Group research shows that only 5.7% of organisations have full visibility into their service accounts, which explains why access issues so often survive initial triage and become incident response problems instead of routine troubleshooting. In practice, many security teams discover the identity trail only after lateral movement or misuse has already occurred, rather than through intentional monitoring.

How It Works in Practice

Effective investigations start with a shared correlation strategy. Security teams should use metrics to identify anomaly windows, then pivot into logs and traces using a common request ID, session ID, or trace ID. The purpose is to reconstruct the sequence of actions across services and determine whether the request was authorized, proxied, or replayed. Where possible, identity data should be attached at ingress and propagated through the call chain so that each event includes workload identity, token subject, source workload, and policy decision outcome.

In practice, that means collecting three layers of evidence:

  • Metrics to detect unusual authentication failures, token refresh bursts, or service-to-service traffic changes.
  • Logs to preserve identity claims, authorization results, and gateway decisions.
  • Traces to map the exact request path through microservices, queues, and sidecars.

This approach aligns with current zero-trust guidance and identity-centric observability patterns described by CISA Zero Trust Maturity Model and the SPIFFE workload identity model, where cryptographic identity is used to prove what the workload is rather than relying on network location. For distributed systems, that distinction matters because access issues are often caused by expired tokens, mismatched service identities, or over-broad credentials that still look valid from a network perspective. The Ultimate Guide to NHIs — Key Research and Survey Results also notes that 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, which is why investigation must treat identity data as first-class evidence.

Security teams should also normalise timestamps, preserve original token claims, and verify whether the observed access came from a human, an agent, or an automated service path. These controls tend to break down when logs are incomplete at the edge because the first hop never records the identity context needed to tie the request back to a specific workload.

Common Variations and Edge Cases

Tighter correlation usually improves investigative accuracy, but it also increases instrumentation overhead and raises the bar for consistent implementation across services. Organisations must balance richer identity telemetry against performance, storage, and privacy constraints. Best practice is evolving, but there is no universal standard for how much identity context every service should emit, especially in mixed environments that combine legacy apps, serverless functions, and short-lived containers.

One common edge case is asynchronous processing. A request may start in one service, continue through a queue, and finish in a worker long after the original trace has aged out. Another is token exchange, where the presenting identity differs from the downstream identity after delegation or impersonation. In both cases, teams need policy-aware logging that preserves both the original caller and the effective workload identity.

This is also where many incident teams over-rely on SIEM correlation rules alone. Current guidance suggests pairing central log aggregation with policy-enforced identity propagation, because a SIEM cannot reconstruct missing context that was never captured. The State of Non-Human Identity Security shows that inadequate monitoring and logging are already cited by 37% of organisations as a cause of NHI-related attacks, reinforcing the operational cost of weak telemetry. Access investigations break down most often in multi-cluster, multi-cloud, and cross-tenant systems where identity claims are rewritten or dropped between trust boundaries.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-02 Identity context in logs and traces helps detect misuse of service credentials.
NIST CSF 2.0 DE.CM-01 Continuous monitoring depends on correlating telemetry into actionable evidence.
NIST AI RMF GOVERN AI and automated workloads need accountable observability and traceability.

Correlate metrics, logs, and traces to detect and investigate anomalous access.