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

anonymize path and value independently for structured facts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      We have a bug in our structured facts anonymization that causes anonymized data to have more paths than input data.

      We think of structured facts as aggregations of (path, value) keypairs, where the value is the leaf and the path is everything else. In our wire-format and anonymization though, we use (name, value) keypairs, where value is a structured object and name is the first path element (the rest are determined by the branches of the value.)

      This means that when two nodes have the facts "foo": {:a {:b 1}} and "foo": {:a {:b 2}}, the paths are anonymized differently due to the different leaf values, even though in reality the paths are the same and should be anonymized the same.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: