-
Notifications
You must be signed in to change notification settings - Fork 78
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
DynamoDB Connector - Consent Policy Spike #2938
Comments
This is an interesting one. Not only do we need a new database connector, but that database connector needs to propagate consent preferences. We don't have this scenario covered at all yet. Saas Connectors have the ability to define consent endpoints but there's no parallel concept for database connectors. The thing is that saas connectors don't really use a dataset/datasetconfig at all yet: the consent saas connectors do have a dummy dataset created for them, but the email saas connectors don't have a dataset/datasetconfig. Anything related to consent has not yet been needed to be defined on the dataset. So if we are defining a dataset now, we need a way to specify which fields should be updated for consent, especially is this same dataset is shared w/ DSR's later. It's just a concept we don't have in the dataset yet. Additionally, will need to do the typical figuring out how to connect to dynamo (ConnectionConfig/connection_secrets) and how to query dynamo (see QueryConfig), just like we did for setting up mongo, for example. And then we'll need to add a |
FYI @SteveDMurphy this was one of the last db connectors I did, Timescale. I think it's a good reference because it shows the pieces that generally tend to be added for a database connector. The thing that was easy with Timescale is that it was basically postgres so we didn't need special querying logic (see queryconfig). Your connector would likely need custom querying logic in the queryconfig. So this database connector just does DSR (access and erasure) |
Some more background related to Adrian's proposal of using Policies: For determining which types of fields we target on database connectors for DSR's, we look at the Policy > Rule > Rule Target. The "consent" concept currently only has a Policy and a Rule, no Rule Target. I briefly explored it here: #2125 (comment) (in the form of a different table), but it ended up being overkill for the initiation simplifications we were asked to include at the time. We didn't need so much configuration overhead. |
moving to done |
Description
Fides needs to be able to integrate with DynamoDB for the purposes of consent management (DSR support will come later).
Datastore consent management most commonly involves storing a list of consent records that the owner of the datastore can then query later on to ascertain what's permissible for user data. This ticket is to suggest a path to the storing of consent preferences dynamically within DynamoDB, and to build tickets + start implementing the feature once design is signed off.
Acceptance Criteria
Questions
The text was updated successfully, but these errors were encountered: