Loki Log-Based Alerts for Application Tenants Not Filtering by Namespace under Developer Console in RHOCP 4

Solution Verified - Updated -

Issue

  • Non-admin users can view alerts from namespaces outside of their assigned scope under Observe > Logs in the Developer Console.
  • Namespace Filtering Not Working for Loki Log Alerts in Developer Console.
  • In the following scenario, a non-admin user omega can view alerts from other namespaces, including those to which he does not have access:

    omega-user-can-see-alert-from-different-namespaces
    omega-user-can-see-alert-from-different-namespace

Environment

  • Red Hat OpenShift Container Platform
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5.8.z
    • 5.9.z
    • 6.0.z
    • 6.1.z
    • 6.2.z
  • LokiStack

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