Coder Social home page Coder Social logo

Comments (10)

lociii avatar lociii commented on July 21, 2024 1

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.

lociii avatar lociii commented on July 21, 2024

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.

GitRon avatar GitRon commented on July 21, 2024

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.

costela avatar costela commented on July 21, 2024

yeah, SGTM too! 👍

from django-scrubber.

GitRon avatar GitRon commented on July 21, 2024

How should we proceed here?

from django-scrubber.

GitRon avatar GitRon commented on July 21, 2024

Hi @costela & @lociii - what do you think about my PR? 🙂

from django-scrubber.

lociii avatar lociii commented on July 21, 2024

Looks good. Would you mind adding documentation about the new feature? 😄

from django-scrubber.

GitRon avatar GitRon commented on July 21, 2024

Sure, will do 👌

from django-scrubber.

GitRon avatar GitRon commented on July 21, 2024

@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.

GitRon avatar GitRon commented on July 21, 2024

@lociii Thx!

from django-scrubber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.