AI agents connect to the OpenShift API to analyze pod specifications, service accounts, and existing SCC bindings across namespaces and projects. The primary integration surfaces are:
- Admission Control: Analyzing pod creation requests (via
ValidatingAdmissionWebhookorMutatingAdmissionWebhook) to recommend or enforce the most restrictive, compatible SCC before deployment. - Continuous Compliance: Scanning running workloads against the cluster's SCC library (
anyuid,hostnetwork,privileged, etc.) to detect privilege escalation risks, such as pods running asrootwhere a custom SCC with arunAsUserrange would suffice. - Policy Generation: Translating high-level security intents (e.g., "this service needs to write to a hostPath") into concrete, minimal SCC YAML definitions and corresponding
RoleandRoleBindingresources for targeted application.




