Uploaded image for project: 'Red Hat Insights Engineering'
  1. Red Hat Insights Engineering
  2. RHINENG-8898

file-redaction commands not being redacted from reports

XMLWordPrintable

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      What were you trying to do that didn't work?

      Redact output from `insights-client`

      insights-client --version
      Client: 3.2.2
      Core: 3.3.12-1
      # cat /etc/insights-client/file-redaction.yaml
      ---
      commands:
        - /usr/bin/sudo
        - /usr/bin/psql
        - sudo
        - /bin/ls
      insights-client --validate
      /etc/insights-client/tags.yaml loaded successfullyBlacklist configuration parsed contents:{    "commands": [        "/usr/bin/sudo",        "/usr/bin/psql",        "sudo",        "/bin/ls"    ]}Parsed successfully.

       
      Still, all previous runs of sudo, psql, and ls are being run and found in the resulting archive.

              rhn-support-xialiu Xiangce Liu
              rhn-support-pdudley Paul Dudley
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: