Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-191

anon: Exported report file names are not good parseable tokens

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 1.5.0
    • Fix Version/s: PDB 2.0.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      3
    • Sprint:
      20140409 to 20140423, 20140423 to 20140507

      Description

      As shown with bugs like this: <https://github.com/kbarber/puppetdb/commit/a1c73530009c876300f3d6c5c474ea99d68ade2d> relying on the parseability of hostnames (and other metadata) from report export files is not reliable.

      There are perhaps two issues here:

      • The report file name uses hyphens as delimiters, but it is valid for the content to also contains hyphens. Thus the delimiter is ineffective.
      • The anonymizer tool should probably not rely on the file name inside an export tarball as canonical, but instead should look inside the content?

      Right now we've sold our immediate issues with a regex, but I anticipate the regex won't catch all situations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ken Ken Barber
                Reporter:
                redmine.exporter redmine.exporter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support