-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
DataFlow
s, define egress
and ingress
on System
s and `Priv…
…acyDeclaration`s (#85) * Define the `DataFlow` resource model And the `FlowableResources` helper `Enum` * System resources may define `egress` and `ingress` * PrivacyDeclarations may define `egress`/`ingress` * Validate PrivacyDeclaration `egress`/`ingress` * Clean up the System model test, expose `DataFlow` Also fixes a circular import * Test System creation with `egress`/`ingress` * Update `CHANGELOG.md` * Update docs * Appease the almighty pylint * Clarify the changelog * Test that errors are raised for invalid Systems * Test that `egress` and `ingress` are optional * Improve `egress`/`ingress` descriptions * Shore up `PrivacyDeclaration` API docs * Deprecate `system_dependencies` This field is obsolete with the addition of `egress` and `ingress`. * Deprecate `dataset_references` This field is obsolete with the addition of `egress` and `ingress`. * Validate the "user" `DataFlow` special case * Test the user ingress case for `System`s * Add deprecations to `CHANGELOG.md`
- Loading branch information
1 parent
40e7417
commit f45fa28
Showing
14 changed files
with
415 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,14 @@ The array of properties that declare the requirement for and information surroun | |
|
||
Information will be exported as part of the data map or Record of Processing Activites (RoPA) | ||
|
||
**egress** [array] | ||
|
||
The resources to which the System sends data. | ||
|
||
**ingress** [array] | ||
|
||
The resources from which the System receives data. | ||
|
||
**privacy_declarations** [array] | ||
|
||
The array of declarations describing the types of data in your system. This is a list of the privcy attributes (`data_category`, `data_use`, `data_subject`, and `data_qualifier`) for each of your systems. | ||
|
@@ -88,6 +96,16 @@ system: | |
is_required: True | ||
progress: Complete | ||
link: https://example.org/analytics_system_data_protection_impact_assessment | ||
egress: | ||
- fides_key: another_demo_system | ||
type: system | ||
data_categories: | ||
- user.contact | ||
ingress: | ||
- fides_key: yet_another_demo_system | ||
type: system | ||
data_categories: | ||
- user.device.cookie_id | ||
privacy_declarations: | ||
- name: Analyze customer behaviour for improvements. | ||
data_categories: | ||
|
@@ -97,8 +115,10 @@ system: | |
data_subjects: | ||
- customer | ||
data_qualifier: identified_data | ||
dataset_references: | ||
- demo_users_dataset | ||
egress: | ||
- another_demo_system | ||
ingress: | ||
- yet_another_demo_system | ||
``` | ||
**Demo manifest file:** `/fides/fidesctl/demo_resources/demo_system.yml` | ||
|
@@ -121,6 +141,20 @@ system: | |
"email": "[email protected]", | ||
"phone": "+1 555 555 5555" | ||
}, | ||
"egress": [ | ||
{ | ||
"fides_key": "another_demo_system", | ||
"type": "system", | ||
"data_categories": ["user.contact"] | ||
} | ||
], | ||
"ingress": [ | ||
{ | ||
"fides_key": "yet_another_demo_system", | ||
"type": "system", | ||
"data_categories": ["user.device.cookie_id"] | ||
} | ||
], | ||
"privacy_declarations": [ | ||
{ | ||
"name": "Analyze customer behaviour for improvements.", | ||
|
@@ -133,9 +167,8 @@ system: | |
"customer" | ||
], | ||
"data_qualifier": "identified_data", | ||
"dataset_references": [ | ||
"demo_users_dataset" | ||
] | ||
"egress": ["another_demo_system"], | ||
"ingress": ["yet_another_demo_system"] | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.