-
Notifications
You must be signed in to change notification settings - Fork 72
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
fides support for privacy declarations in datamap export #3184
Conversation
Passing run #1642 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
680f952
to
eab3bdf
Compare
…roperly disregard taxonomy custom fields for now eventually we may want to include taxonomy custom fields in the datamap export, but for now we will disregard them entirely. previously, they'd been included in the column header row, but their values were not being included, which misaligned the export. now, they will not be included in the column header row. also some related cleanup of code to make it a bit easier to follow.
eab3bdf
to
5fd1a22
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3184 +/- ##
==========================================
- Coverage 87.62% 87.41% -0.21%
==========================================
Files 313 313
Lines 18178 18225 +47
Branches 2347 2360 +13
==========================================
+ Hits 15928 15931 +3
- Misses 1823 1863 +40
- Partials 427 431 +4
☔ View full report in Codecov by Sentry. |
i threw too many reviewers on here just to increase visibility and hopefully someone has the time to look this over relatively quickly since there's a @SteveDMurphy i think you're most familiar with the export code at this point, maybe @ThomasLaPiana too? @TheAndrewJackson also included you since this relates to the current custom fields push and because i know you've also gotten dirty with the export code somewhat recently! @pattisdr i also included you on here since you've gotten more exposed to the custom fields world recently, and also because a decent chunk of this is a fun SQLalchemy query that you may have good insight on! currently there are a fair number of codecov misses, a lot of which are explained by test coverage coming for this on the |
@adamsachs I decided to go ahead and make some refactors here, but everything looks good to me from a logic standpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with the assumption testing with the plus branch goes smoothly
thank you @ThomasLaPiana! appreciate being proactive. i'll look over your changes more closely, but generally they look great - appreciate the cleanup. i'll also go ahead and push a tag to give this an integrated test with |
@ThomasLaPiana - testing looked generally good on @SteveDMurphy @pattisdr any objections to me merging once i've tested this? |
Co-authored-by: Thomas <[email protected]>
partially closes https://github.com/ethyca/fidesplus/issues/821
2.12.0
release branch after merging intomain
Code Changes
privacy_declaration
custom field data to the export tabledata_use
anddata_subject
custom fields to the column header row, but did not populate their values in the data rows, which led to offset issues if someone had created a custom field definition ondata_use
ordata_subject
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
Updates on the
fides
side to support exportingprivacy_declaration
(i.e.system:data_use
) custom fields in the datamap export API. Requires integration with thefidesplus
datamap export API code.Also includes a bug fix where the datamap export got messed up when a
data_use
ordata_subject
custom field definition had been created.