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

StripDataSource #62

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

StripDataSource #62

wants to merge 2 commits into from

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