Annotating data categories manually
In order to process privacy requests, Fides needs to know how to find and process the applicable categories of personal data. For example, if a data subject submits a request to have their personal data removed, Fides has to know where to find categories of personal data like user contact info, demographic info, or purchase history.
Fides uses metadata labels that describe each table and field in a database to indicate which fields contain personal data.
For example, if a table contains fields with user contact data, annotating it with the label
user.contact from the FidesLang Taxonomy (opens in a new tab) instructs Fides to treat this information as contact information. The screenshot below shows a database table with Fides personal data categories assigned to each field:
The dataset fields that will need to be configured are:
|The unique name of the dataset.
|A list of tables or collection within the database.
|The list of fields within the table or the collection.
|The name of the field within the table or collection.
|The data category label taken from the FidesLang Taxonomy (opens in a new tab) to describe the personal data found in this field.
The following example describes a table called
customer within a database called
postgres_example_dataset. This table has the fields
name which have been appropriately labeled for privacy request processing.
- name: customer
- name: email
data_categories: # Add data categories section
- user.contact.email # Specify the data category (in this case email)
- name: id
- name: name