Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-3386

Document how to configure prometheus-adapter audit logs in OpenShift Monitoring

    XMLWordPrintable

Details

    • devex docs #216 Mar 17-Apr 7, devex docs #217 Apr 7-Apr 28
    • 5
    • Documentation (Ref Guide, User Guide, etc.)
    • Low

    Description

      We need to document how to configure audit logs in Prometheus. 4.10 and above.

      Users can enable audit logs in the Prometheus Adapter by applying the following config-map:

      apiVersion: v1
      kind: ConfigMap
      metadata:
      name: cluster-monitoring-config
      namespace: openshift-monitoring
      data:
      config.yaml: |
        k8sPrometheusAdapter:}}}}
          auditLevel: Metadata  ### Request, RequestResponse (default None)

      The CMO picks up the change and (re)deploys prometheus-adapter with appropriate -audit flags.

      Probably should also include a link to the api server audit log docs: https://docs.openshift.com/container-platform/4.8/security/audit-log-view.html

      Attachments

        Activity

          People

            rhn-support-bburt Brian Burt
            rhn-support-bburt Brian Burt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: