Comments (10)
SGTM.
This would make it easier to get a proper start with scrubber or make it a really hardened anonymizer while still allowing for a more relaxed approach as currently offered.
@costela any thoughts from your side?
from django-scrubber.
Great to hear from you again and thanks for the well-thought proposal.
We were discussing something similar in the company lately to use for GDPR anonymization. There it also only makes sense if we force our developers to think about how a field should be treated and not let them add one without defining the handling for it.
For larger systems, this will however impose a lot of work, so doing it optional definitely makes sense.
from django-scrubber.
Hi @lociii
thx for your feedback! We thought about two solutions. First, the strict mode will complain about all non-set fields (the scrubbers.Keep idea), Secondly, we thought about a "default" approach - meaning it for example will hash all undefined blacklisted field types unless you defined something more meaningful. So there is a quick fix for not exposing any data.
What do you think?
from django-scrubber.
yeah, SGTM too! 👍
from django-scrubber.
How should we proceed here?
from django-scrubber.
Hi @costela & @lociii - what do you think about my PR? 🙂
from django-scrubber.
Looks good. Would you mind adding documentation about the new feature? 😄
from django-scrubber.
Sure, will do 👌
from django-scrubber.
@lociii The docs are already there but I ran a formatter so there are quite a few changes in there and the file is shown "closed" in the PR.
Fixed the pipeline - anything stopping the release now?
from django-scrubber.
@lociii Thx!
from django-scrubber.
Related Issues (20)
- ProgrammingError when using Faker HOT 3
- How to activate logging HOT 10
- Problem with overritten `get_queryset()` method HOT 8
- Crash after scrubbing a second time
- Log what scrubber is doing HOT 2
- How to null a given field HOT 4
- Compat with Faker 3.0.0 HOT 7
- Using faker geo providers does not work HOT 4
- Drop py2 support
- Non-existing fields in scrubber definitions make the scrubbing fail HOT 2
- Broken for models with non-numeric primary key HOT 3
- faker major release 6.0.0 HOT 1
- Add support for faker 8.x
- Add support for faker 11.x
- Support for multiple / non-default database HOT 2
- Add support for faker 12.x
- Proposal: Integrate scrubber wrapper HOT 8
- Question: How to scrub django base user? HOT 5
- Simplify scrubber validation when using third-party libraries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-scrubber.