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

Remove the action field from Policy manifests, add an OTHER match type #291

Merged
merged 5 commits into from
Dec 22, 2021

Conversation

PSalant726
Copy link
Contributor

Closes #150

Code Changes

  • Remove the action field from Policy manifests
  • Rename inclusion --> matches (including the InclusionEnum --> MatchesEnum)
  • Add an OTHER match type to MatchesEnum

Steps to Confirm

  • Build a test policy using matches: OTHER, and determine that evaluations pass/fail as expected

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation Updated

Description Of Changes

Completely removes the action field from Policy manifests, since only REJECT was ever a valid value. Going forward, all policies will be assumed to REJECT. Also enables the OTHER match type, for privacy declarations not included in the list for the given Policy.

@PSalant726 PSalant726 requested a review from a team December 21, 2021 00:31
@PSalant726 PSalant726 changed the title Ps/remove action add extra Remove the action field from Policy manifests, add an OTHER match type Dec 21, 2021
@PSalant726 PSalant726 self-assigned this Dec 21, 2021
@PSalant726 PSalant726 added dev experience Targets the developer experience documentation Improvements or additions to documentation enhancement labels Dec 21, 2021
@PSalant726 PSalant726 added this to the fidesctl 1.2 milestone Dec 21, 2021
@PSalant726 PSalant726 requested a review from earmenda December 21, 2021 16:49
@earmenda
Copy link
Contributor

nice!

@ThomasLaPiana ThomasLaPiana self-requested a review December 22, 2021 19:39
Copy link
Contributor

@ThomasLaPiana ThomasLaPiana left a comment

Choose a reason for hiding this comment

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

Pulled locally and tested, updated the fidesctl policy to use Other, all works great!

@ThomasLaPiana ThomasLaPiana merged commit a53db04 into main Dec 22, 2021
@ThomasLaPiana ThomasLaPiana deleted the ps/remove-action-add-extra branch December 22, 2021 20:53
ThomasLaPiana pushed a commit that referenced this pull request Aug 17, 2022
…] (#306)

* Allow the "after" param to be optionally specified on a saas config endpoint.

* WIP If a collection has grouped identity data, meaning it is dependent on other inputs, combine the seed data with the other grouped inputs when processing the data to be fed into the current collection.

* Add tests for "after" query param on saas configs and that identity data is grouped with other dependent fields if it is listed as a grouped_input.

- Pull identity data off from the data that is passed into the collection, instead of out of the cache for consistency.
- Revert a hardcoded static portion of a query param used in local testing.

* Make corresponding change to saas dataset.

* Remove double quotes.

* Fix bad docs merge.

* Fix missed import.

* Respond to CR.
ThomasLaPiana pushed a commit that referenced this pull request Sep 26, 2022
…] (#306)

* Allow the "after" param to be optionally specified on a saas config endpoint.

* WIP If a collection has grouped identity data, meaning it is dependent on other inputs, combine the seed data with the other grouped inputs when processing the data to be fed into the current collection.

* Add tests for "after" query param on saas configs and that identity data is grouped with other dependent fields if it is listed as a grouped_input.

- Pull identity data off from the data that is passed into the collection, instead of out of the cache for consistency.
- Revert a hardcoded static portion of a query param used in local testing.

* Make corresponding change to saas dataset.

* Remove double quotes.

* Fix bad docs merge.

* Fix missed import.

* Respond to CR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev experience Targets the developer experience documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the action field and add an "extra" inclusion enum
3 participants