← Lab /Security & privacy

Elastic Agent Builder gives fleet-wide root-cause view of OpenShift compliance failures

Elastic Agent Builder can centrally collect OpenShift compliance data and automatically trace the root cause of failed controls across a fleet.

Security & privacy Elastic Security Labs 19 Nov 2026 Tooling Prototype evidence

Published as “From posture to root cause: Investigate OpenShift compliance with Elastic Agent Builder”

Why it matters

Centralizing compliance data and adding an AI agent enables fleet-wide visibility and root-cause investigation without manual logins or spreadsheet tracking.

Summary

The post describes a custom Elastic integration that polls each OpenShift cluster’s Compliance Operator API every 60 seconds and ships scan results to Elasticsearch. An Elastic Agent Builder AI agent then lets users query compliance posture in plain English, investigate why a control failed, and trigger remediations with human approval. The authors demonstrate the workflow on a PoC using OpenShift Local 4.22 and report that the system can identify the exact pod and user that caused a policy drift. Evidence is limited to a single-cluster proof-of-concept, but the architecture is presented as applicable to fleet-scale deployments.

What they found 2

  1. Elastic Agent polls each cluster every 60 seconds for compliance data.

    “A single Elastic Agent on each cluster polls OpenShift Compliance Operator APIs every 60 seconds.”

  2. Proof of concept tested on OpenShift Local 4.22, Compliance Operator 1.10.0, and Elastic Serverless.

    “Note: The proof of concept (PoC) in this solution has been tested with OpenShift Local version 4.22, Compliance Operator 1.10.0, and Elastic Serverless.”

Caveats 5

  • The integration is a custom-built package and isn’t officially supported by Elastic Support.
  • The solution requires an Elastic Enterprise subscription and specific version (9.5 or later).
  • This is a custom-built integration and isn’t officially supported by Elastic Support.
  • PoC tested only with OpenShift Local version 4.22, Compliance Operator 1.10.0, and Elastic Serverless.
  • Requires Elastic Enterprise subscription (version 9.5 or later).

What’s new here 4

  • Centralizes OpenShift compliance scan results from multiple clusters into Elasticsearch.
  • Adds an AI agent (Agent Builder) that answers natural-language queries about compliance posture and root cause.
  • Introduces CEL-based custom rules to automate evaluation of manual compliance checks.
  • Provides deterministic Elastic Workflows for safe, human-in-the-loop remediation actions.

In the news