How to audit commands run inside Pods' containers on OCP?

Solution In Progress - Updated -

Issue

  • Is there some way to audit activities inside Pods' containers?

  • I would like to audit what commands (authorized) users run after they get into Pods' containers using oc subcommands, such like:

    • oc rsh

    • oc exec

    • oc debug

  • Red Hat Openshift Container Platform (RHOCP) has API Audit logging and worker nodes are attached to an audit system, but I still can't audit what is going on inside Pods' containers

Environment

  • Red Hat Openshift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content