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

Fidesops merge to unified fides 2 #1214

Merged
merged 34 commits into from
Oct 4, 2022

Conversation

chriscalhoun1974
Copy link
Contributor

@chriscalhoun1974 chriscalhoun1974 commented Oct 4, 2022

Closes #1215

Code Changes

  • Merge fidesops/main into unified-fides-2 git branch
  • get the server up and running
  • get the tests collecting & running
  • get the frontend up and running
  • frontend tests are working

Steps to Confirm

  • automated tests pass (all that can, doesn't include mypy)
  • server spins up and runs
  • UI is usable

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation Updated:
    • documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
    • documentation issue created (tag docs-team to complete issue separately)
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md

Description Of Changes

Merging fidesops main into unified-fides, as of version 1.8.1 of fidesops

dependabot bot and others added 21 commits September 27, 2022 09:43
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.9.3 to 2.20.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.9.3...v2.20.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ss subject request (#1377)

*  On successful connector creation the empty yaml text input displays a validation error

* Updated caniuse-lite NPM dependency

* Added min/max character limitation validation for Manual Webhook DSR Customization

* Prevented Chakra Divider component opacity from being overridden at runtime. User could not see visible horizontal line on UI before.

* Updated the Manual Processing detail form to not be submitted until the form is dirty.

* Removed form dirty check on ManualProcessingDetail component

* Update URL when user is navigating to DSR Customization screen when creating a Manual Webhook
…vel (#1376)

* Add decorator to send method that retries throttles

* Fix black/mypy

* Fix pylint

* Add tests for authenticated client

* Small fixes and typos

* Update CHANGELOG.md

* Small changes. Update retry logic to not retry general exceptions

Co-authored-by: Eduardo Armendariz <[email protected]>
Co-authored-by: Paul Sanders <[email protected]>
* Add new template for consent requets emails

* Remove analytics id

* Update subject

Co-authored-by: Paul Sanders <[email protected]>
* If a manual webhook is deleted or disabled, check if there are any remaining active manual webhooks configured. If not, queue any Privacy Requests stuck in "requires_input" for processing.

* In the "view_uploaded_manual_webhook_data", load cached webhook data for a privacy request in strict mode. If it fails (no data saved, extra field saved, field missing), return checked=True, so the user knows they need to reupload data for this webhook before it can be submitted.

Return the data in non-strict mode, so we just show the overlap between the data saved and the fields defined.

* Update changelog.

* Move queue_requires_input_requests to the connection_endpoints where this is the only module it's being called - both where you update and delete a connection config.

* Clarify docstring.
)

* add sane defaults

* make subsections of config with complete defaults optional

* lowercase database.enabled, set defaults for optional configs

* update return type

* updates changelog

* make PORT an env var

* cast env var to int

* remove unnecessary unpinned dependency

* bump fideslib version

* bump fideslib to 3.1.4

* add defaults for the non optional config subclasses

* set empty dict to default for config subclasses that require some fields

* use .get() in assemble URL for correct error message, correct comment

* update jwt_key type annotation
removing the typo ` . at the end of the command so that the command works.
* Add consent UI back in

* Finish initial integration with consent api

* WIP consent page

* Get initial consent updating working

* Improve button look and feel

* Add untracked files

* Format VerificationForm.tsx

* Remove comments

* Rename Privacy modal variables

* Rename variable
* 1401 - Admin UI: Persist Redux store to localStorage

* Resolved React memory leak when user attempts to logout via the Subject Requests landing page

* Resolved UI unit test failure

* Rollback previous change

* Removed blacklist property from Redux store config

* Refactored due to recommended code review feedback
* update footer links

* changelog

* Update CHANGELOG.md

Co-authored-by: Paul Sanders <[email protected]>

Co-authored-by: Sean Preston <[email protected]>
Co-authored-by: Paul Sanders <[email protected]>
* Initial implementation of firebase auth connector

Introduces firebase_admin sdk as a fidesops dependency
Leverages request overrides to define custom functionality

* Update changelog

* Minimize unused client config in firebase auth config

* Add user.photo_url as a supported Firebase Auth field

Improve readability in access implementation

* Fix field name to be more consistent with python SDK properties

* Add clarifying comment to unused function docstring

* Add photo_url field to firebase auth dataset

* Properly test provider data in firebase auth integration.

Also include test coverage for delete function, even thought it's
not being invoked by default saas config.

* Only add fields to result if popluated

* Fix empty attribute logic within provider data block

* Ignore pylint error for too many variables

* fix up provider data check

Co-authored-by: Adam Sachs <[email protected]>
* Braze SVG added

* Fixing change log message

Co-authored-by: Adrian Galvan <[email protected]>
Co-authored-by: Adam Sachs <[email protected]>
* updates changelog

* add UI testing steps to release checklist
* stop swallowing integrity errors on dataset update

* dont attach logging middleware if analytics opt_out is true

* handle diff correctly

* disable consider-using-f-string as we need this for logging statements to work effectively in fideslog
@chriscalhoun1974 chriscalhoun1974 requested a review from a team October 4, 2022 14:52
@chriscalhoun1974 chriscalhoun1974 marked this pull request as draft October 4, 2022 14:52
@chriscalhoun1974 chriscalhoun1974 marked this pull request as ready for review October 4, 2022 15:18

return decorator

@retry_send(retry_count=3, backoff_factor=1.0) # pylint: disable=E1124
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Kelsey-Ethyca, we have similar systems for retrying nodes in the traversal albeit with one major difference, that we're able to set the values with these config. variables. This comes with the added benefit of being able to moderate the values during testing — ie. the tests don't waste time waiting around for requests to retry that are always destined to fail.

Can we fast-track a change for this please?

@ThomasLaPiana
Copy link
Contributor

got the webserver up and running! now going to update the tests where needed

@ThomasLaPiana
Copy link
Contributor

@chriscalhoun1974 @TheAndrewJackson what's the status of the frontend at this point?

@ThomasLaPiana
Copy link
Contributor

going to add the new dataset tables now to get fides checks passing

@TheAndrewJackson
Copy link
Contributor

@ThomasLaPiana The frontends have been merged. Now we're going through and making sure everything runs/builds.

@ThomasLaPiana
Copy link
Contributor

awesome, I'm just about done fixing up the backend and tests

@TheAndrewJackson
Copy link
Contributor

@ThomasLaPiana I got everything running. Now we just need to fix 2 failings tests and do a once through on the UI to make sure nothing weird snuck in and we should be good!

@ThomasLaPiana
Copy link
Contributor

@TheAndrewJackson excellent! ping me when its good to go and I'll merge once I'm done with the backend too! Thanks so much 🙏

@ThomasLaPiana
Copy link
Contributor

seeing lots of green! going to fix these conflicts

@TheAndrewJackson
Copy link
Contributor

@ThomasLaPiana Just confirmed with Chris that the UI passed his smoke test and that all of the tests are passing. Everything looks good on the UI side

@ThomasLaPiana
Copy link
Contributor

all expected checks passing, shipping it

@ThomasLaPiana ThomasLaPiana marked this pull request as ready for review October 4, 2022 21:30
@ThomasLaPiana ThomasLaPiana merged commit 2463c82 into unified-fides-2 Oct 4, 2022
@ThomasLaPiana ThomasLaPiana deleted the fidesops-merge-to-unified-fides-2 branch October 4, 2022 21:30
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.