Skip to content

Conversation

elliottslaughter
Copy link
Contributor

@elliottslaughter elliottslaughter commented Aug 27, 2024

This PR demonstrates one possible way to strip proprietary information out of profiles. It provides an adapter for the DataSource interface that takes another DataSource and then filters all the resulting ItemMetas to redact all the string contents of those profiles. At the moment it's a pretty heavy hammer so it just strips out everything.

@elliottslaughter
Copy link
Contributor Author

If you want something that is not quite a drastic hammer (e.g., being more specific about what gets stripped instead of taking out essentially every human-readable string), then it will probably need to be implemented at the StateDataSource level instead of as an adapter on the DataSource. But what's in this PR is definitely the fastest way to get this done.

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

Successfully merging this pull request may close these issues.

1 participant