Skip to content

Commit

Permalink
Update fideslang to 1.1.0 (#865)
Browse files Browse the repository at this point in the history
* [skip ci] changes for fideslang 1.0.0

These initial changes catch up to the proposed state of 1.1.0 (and 1.0.0) by adding the tags values and updating the demo_resources/

* [skip ci] adjust resources

* update .fides/ resources for fideslang 1.1.0

* fideslang docs changes

* test updates for fideslang changes

* clean up further test failures and visualize sort

* generzte front end changes

* changelog
  • Loading branch information
SteveDMurphy authored Jul 13, 2022
1 parent 7b6414d commit 3577f7e
Show file tree
Hide file tree
Showing 38 changed files with 290 additions and 201 deletions.
73 changes: 68 additions & 5 deletions .fides/dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: data_qualifiers
description: null
data_categories: null
Expand Down Expand Up @@ -150,6 +157,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: data_subjects
description: null
data_categories: null
Expand Down Expand Up @@ -221,6 +235,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: data_uses
description: null
data_categories: null
Expand Down Expand Up @@ -319,6 +340,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: datasets
description: null
data_categories: null
Expand Down Expand Up @@ -385,7 +413,7 @@ dataset:
description: Encrypted contact information for a joint controller (name, address,
email, phone)
data_categories:
- user.provided.identifiable.contact
- user.contact
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: End of joint controller agreement.
fields: null
Expand Down Expand Up @@ -454,6 +482,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: evaluations
description: null
data_categories: null
Expand Down Expand Up @@ -526,7 +561,7 @@ dataset:
description: Encrypted contact information for the controller (name, address,
email, phone)
data_categories:
- user.provided.identifiable.contact
- user.contact
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: 1 Year post-employment
fields: null
Expand All @@ -541,7 +576,7 @@ dataset:
description: Encrypted contact information for the Data Protection Officer (name,
address, email, phone)
data_categories:
- user.provided.identifiable.contact
- user.contact
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: 1 Year post-employment
fields: null
Expand Down Expand Up @@ -598,7 +633,7 @@ dataset:
description: Encrypted contact information for the representative (name, address,
email, phone)
data_categories:
- user.provided.identifiable.contact
- user.contact
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: 1 Year post-employment
fields: null
Expand All @@ -616,6 +651,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: policies
description: null
data_categories: null
Expand Down Expand Up @@ -678,6 +720,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: registries
description: null
data_categories: null
Expand Down Expand Up @@ -733,6 +782,13 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: systems
description: null
data_categories: null
Expand Down Expand Up @@ -800,7 +856,7 @@ dataset:
description: Encrypted contact information for a joint controller (name, address,
email, phone)
data_categories:
- user.provided.identifiable.contact
- user.contact
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: End of joint controller agreement.
fields: null
Expand Down Expand Up @@ -867,3 +923,10 @@ dataset:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
- name: tags
description: null
data_categories:
- system.operations
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: null
fields: null
1 change: 0 additions & 1 deletion .fides/policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ policy:
data_categories:
matches: ANY
values:
- account
- user
data_uses:
matches: ANY
Expand Down
2 changes: 1 addition & 1 deletion .fides/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ system:
- name: Store system data.
data_categories:
- system.operations
- user.provided.identifiable.contact
- user.contact
data_use: improve.system
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
data_subjects:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The types of changes are:
* Webserver dependencies now come as a standard part of the package [#881](https://github.com/ethyca/fides/pull/881)
* Initial configuration wizard UI view
* Refactored step & form results management to use Redux Toolkit slice.
* Remove the `obscure` requirement from the `generate` endpoint [#819](https://github.com/ethyca/fides/pull/819)
* Update `fideslang` to `1.1.0`, simplifying the default taxonomy and adding `tags` for resources [#865](https://github.com/ethyca/fides/pull/865)
* Remove the `obscure` requirement from the `generate` endpoint [#819](https://github.com/ethyca/fides/pull/819)

### Docs
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/DataCategory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type DataCategory = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/DataQualifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type DataQualifier = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/DataSubject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type DataSubject = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/DataUse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type DataUse = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/Dataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type Dataset = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/Organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export type Organization = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type Policy = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/Registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type Registry = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/admin-ui/src/types/api/models/System.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export type System = {
* Defines the Organization that this resource belongs to.
*/
organization_fides_key?: string;
tags?: Array<string>;
/**
* Human-Readable name for this resource.
*/
Expand Down
8 changes: 4 additions & 4 deletions demo_resources/demo_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ dataset:
- name: email
description: User's Email
data_categories:
- user.provided.identifiable.contact.email
- user.contact.email
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: Account termination
- name: first_name
description: User's first name
data_categories:
- user.provided.identifiable.name
- user.name
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
retention: Account termination
- name: food_preference
Expand All @@ -42,10 +42,10 @@ dataset:
- name: state
description: User's State
data_categories:
- user.provided.identifiable.contact.state
- user.contact.address.state
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
- name: uuid
description: User's unique ID
data_categories:
- user.derived.identifiable.unique_id
- user.unique_id
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
2 changes: 1 addition & 1 deletion demo_resources/demo_policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ policy:
data_categories:
matches: ANY
values:
- user.provided.identifiable.contact
- user.contact
data_uses:
matches: ANY
values:
Expand Down
8 changes: 4 additions & 4 deletions demo_resources/demo_system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ system:
privacy_declarations:
- name: Analyze customer behaviour for improvements.
data_categories:
- user.provided.identifiable.contact
- user.derived.identifiable.device.cookie_id
- user.contact
- user.device.cookie_id
data_use: improve.system
data_subjects:
- customer
Expand All @@ -33,8 +33,8 @@ system:
privacy_declarations:
- name: Collect data for marketing
data_categories:
#- user.provided.identifiable.contact # uncomment to add this category to the system
- user.derived.identifiable.device.cookie_id
#- user.contact # uncomment to add this category to the system
- user.device.cookie_id
data_use: advertising
data_subjects:
- customer
Expand Down
6 changes: 3 additions & 3 deletions docs/fides/docs/guides/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ policy:
data_uses:
matches: OTHER # And the use of the data is something other than...
values:
- provide.system.operations
- provide.service.operations
- improve.system
- collect
data_subjects:
Expand Down Expand Up @@ -129,8 +129,8 @@ policy:
data_uses:
matches: OTHER # And a data use other than these have been declared
values:
- provide.system.operations
- provide.system.operations.support
- provide.service.operations
- provide.service.operations.support
data_subjects:
matches: ANY # And the data subject is a customer
values:
Expand Down
Loading

0 comments on commit 3577f7e

Please sign in to comment.