Bug 1733563 - ipa-healthcheck: add a filter to anonymize output
Summary: ipa-healthcheck: add a filter to anonymize output
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa-healthcheck
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-26 14:12 UTC by François Cami
Modified: 2020-01-17 05:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description François Cami 2019-07-26 14:12:19 UTC
Description of problem:

ipa-healthcheck's output contains detailed information about the host (fqdn), realm, etc.

It would be nice to have a CLI option to anonymize the output


Version-Release number of selected component (if applicable):
ipa-healthcheck-0.2


How reproducible:
Always


Steps to Reproduce:
1. Launch ipa-healthcheck
2. Examine output


Actual results:

Output contains:
* hostname:
    {
        "source": "ipahealthcheck.meta.core",
        "check": "MetaCheck",
        "severity": 0,
        "uuid": "7cc97681-c30c-47ae-a1eb-a7f23d8974f8",
        "when": "20190726140932Z",
        "duration": "0.000108",
        "kw": {
            "fqdn": "f29-idm0.laptop.example.org",
            "ipa_version": "4.7.91.dev201906201640+git970af1346",
            "ipa_api_version": "2.232"
        }
    },
* realm:
    {
        "source": "ipahealthcheck.ipa.files",
        "check": "IPAFileNSSDBCheck",
        "severity": 0,
        "uuid": "7c67e7c5-a844-4fad-bf83-2721552313c9",
        "when": "20190726140931Z",
        "duration": "0.000056",
        "kw": {
            "key": "_etc_dirsrv_slapd-LAPTOP-EXAMPLE-ORG_cert9.db_mode",
            "type": "mode",
            "path": "/etc/dirsrv/slapd-LAPTOP-EXAMPLE-ORG/cert9.db"
        }
    },



Expected results:
With an appropriate filter, no IP addresses, no usernames, no hostnames, no realms, no DNS zone appears.


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