Bug 2017752 - (release-4.10) obfuscate identity provider attributes in collected authentication.operator.openshift.io resource
Summary: (release-4.10) obfuscate identity provider attributes in collected authentica...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Tomas Remes
QA Contact: Dmitry Misharov
URL:
Whiteboard:
Depends On:
Blocks: 2017773
TreeView+ depends on / blocked
 
Reported: 2021-10-27 11:41 UTC by Tomas Remes
Modified: 2022-03-10 16:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2017773 (view as bug list)
Environment:
Last Closed: 2022-03-10 16:22:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 520 0 None open Bug 2017752: Anonymize identity provider attributes in the 2021-10-27 11:41:51 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:22:25 UTC

Description Tomas Remes 2021-10-27 11:41:03 UTC
The gathered resource (in config/clusteroperator/operator.openshift.io/authentication/cluster.json) can include some potentially sensitive data about identity providers. Examples are LDAP domain names, client IDs, issuers domain and similar.

This BZ is to obfuscate (replace with "X" characters) these attributes by default.

Comment 2 Dmitry Misharov 2021-11-01 16:29:41 UTC
Verified on 4.10.0-0.nightly-2021-10-31-210828

Verification steps:
1. Enable Github identity provider https://docs.openshift.com/container-platform/4.9/authentication/identity_providers/configuring-github-identity-provider.html
2. Restart the Insights Operator
3. Wait until an insights archive will be created
4. Download the archive
5. Check the content of config/clusteroperator/operator.openshift.io/authentication/cluster.json

"clientID" field is obfuscated.

Comment 5 errata-xmlrpc 2022-03-10 16:22:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.