Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14236

ListGroups request produces too much Denied logs in authorizer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 3.4.0
    • core

    Description

      Context

      On a multi-tenant secured cluster, with many consumers, a call to ListGroups api will log an authorization error for each consumer group of other tenant.

      Reason

      The handleListGroupsRequest function first tries to authorize a DESCRIBE CLUSTER, and if it fails it will then try to authorize a DESCRIBE GROUP on each consumer group.

      Fix

      In that case neither the DESCRIBE CLUSTER, nor the DESCRIBE GROUP of other tenant were intended, and should be specified in the Action using logIfDenied: false

      Attachments

        Issue Links

          Activity

            People

              agriffaut Alexandre GRIFFAUT
              agriffaut Alexandre GRIFFAUT
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: