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

Add anonymize db utility. Fixes #2413 #2414

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Add anonymize db utility. Fixes #2413 #2414

merged 1 commit into from
Sep 20, 2024

Conversation

plorenz
Copy link
Member

@plorenz plorenz commented Sep 18, 2024

No description provided.

@plorenz plorenz requested review from a team as code owners September 18, 2024 16:20
@dovholuknf
Copy link
Member

can this get a readme or anything that might tell the person what it will do (ideally enumerating the actions it'll take)? anything like that? also i feel like it should come with a warning like "we don't guarantee that this is 100% bug free" or somesuch...

Feels like it needs some 'legalize' even though IANAL.... stuff... just me?

@plorenz
Copy link
Member Author

plorenz commented Sep 18, 2024

can this get a readme or anything that might tell the person what it will do (ideally enumerating the actions it'll take)? anything like that? also i feel like it should come with a warning like "we don't guarantee that this is 100% bug free" or somesuch...

Feels like it needs some 'legalize' even though IANAL.... stuff... just me?

Add this text to the help:

This utility attempts to remove any personal information from the db. It does the following
1. Renames all identities, services, edge-routers, policies and configs with generic names 
2. Makes all role attributes generic 
3. Replaces host.v1, host.v2 and intercept.v1 configs with generic versions
4. Deletes authenticators and enrollments.

WARNINGS:
* There may be personal information in other database fields, as this doesn't cover every field in every type.
* This works in place on the provided database. Make sure to run this on a copy of your database

Let me know if there's anything I should add to that

@plorenz plorenz force-pushed the anonymize-db branch 2 times, most recently from 17c43cf to 26601d5 Compare September 18, 2024 22:34
@plorenz plorenz merged commit 87a866d into main Sep 20, 2024
37 checks passed
@plorenz plorenz deleted the anonymize-db branch September 20, 2024 19:35
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.

4 participants