OpenFn / unicef-cambodia

UNICEF Cambodia - Primero Interoperability
https://openfn.github.io/unicef-cambodia/
1 stars 2 forks source link

Primero logs still show sensitive data on create --> Primero LP updates? #45

Closed aleksa-krolls closed 4 years ago

aleksa-krolls commented 4 years ago

When we create (not update) cases in Primero, the run logs should Primero's full response, which includes sensitive data. See L519 in this run.


No case found. Performing create.
Post succeeded. Response body from server: {
  "case_id_display": "e4deaf4",
  "sex": "other",
  "date_of_birth": "2011/05/12",
  "transitions": [
    {
      "unique_id": "438ba599-6c0b-4fc4-963a-4e2638e27a4c",
      "type": "referral",
      "service": "family_based_care",
      "service_section_unique_id": "11226c6d-d7b8-4272-b45e-85cf635b9fba",
      "created_at": "2020/07/21",
      "id": "317673c2-20dd-4a5d-97aa-93888fed9ad4"
    }
  ],
  "case_id": "cdbdd4f0-e0b2-4bae-b6bc-d54b0e4deaf4",
  "owned_by": "agency-cif-user",
  "owned_by_agency": "agency-cif",
  "module_id": "primeromodule-cp",
  "oscar_number": "01EDQTPCV6BYVVF5TR10FK9M20",
  "oscar_short_id": "cqls-1774",
  "oscar_status": "Active",
  "name_first": "OSCAR",
  "name_last": "jul21",
taylordowns2000 commented 4 years ago

Just release a new version of the lp to address this. Will be deployed onto production in ~30 minutes.