Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be able to update other keys in json to null #249

Open
venkaa6 opened this issue May 10, 2021 · 3 comments
Open

be able to update other keys in json to null #249

venkaa6 opened this issue May 10, 2021 · 3 comments

Comments

@venkaa6
Copy link

venkaa6 commented May 10, 2021

Sometimes we want to keep a record of that json record even if our customer requests to delete that data. So instead of removing that full record from the json document, can we update the json keys partially to null?
example:
so current json record:

{
  "customerId": 123, 
  "createdAt": "2021-05-10",
  "email": "[email protected]",
  "phone": "456-789-0299"
}

instead of fully removing the record, we would want the s3 file to look like below:

{
  "customerId": 123, 
  "createdAt": "2021-05-10",
  "email": "",
  "phone": null
}
@matteofigus
Copy link
Member

Thanks @venkaa6 - I worked on a redaction POC that is still on a dedicated branch here but we temporarily stopped development on that side, sounds like we can reconsider.

The previous POC may work for you, it was based on keeping the record as is, and override only a number of particular fields declared on each Data Mapper, for instance like this:
https://github.com/awslabs/amazon-s3-find-and-forget/blob/redaction-poc/redaction-samples/config.json#L7-L8

If that would be the case, we can think of bringing that branch up to date.

@venkaa6
Copy link
Author

venkaa6 commented Jan 29, 2024

hey Matteo! lmk if this is still being developed on

@matteofigus
Copy link
Member

Hi, we aren't currently working on any redaction feature as the previous work wasn't needed anymore. While we aren't able to allocate any time to prioritise this, we would be open to external contributions. Would it be something you would be interested about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants