Update Collection Points
You can further customize the consent-template.yaml file as necessary to add or update collection points related data.
Overview
The npx let-push-yaml command is used to update the collection points in your application's consent management system. This command allows you to add new data elements, add more purposes, or update existing purposes in your configuration. It requires the existing .env and consent-template.yaml files to function properly.
Prerequisites
Before running this command, ensure you have:
An existing
.envfile with the required environment variables.A
consent-template.yamlfile generated from previous steps.
Command
To update the collection points, use the following command:
npx let-push-yamlUpdate Options
During the execution of npx let-push-yaml, you will be prompted to choose one of the following actions:
Add More Data Elements:
You can add additional data elements to an existing collection point.
For each new data element, you will need to provide:
Variable Name: The variable or field name used in your application.
Title: A more human-readable name for the data element.
Description: A brief description of the data element.
Data Owner: The owner(s) of the data element.
Legal Basis: An internal value related to the legal justification for collecting the data.
Retention Period: The number of days the data will be retained.
Expiry: The number of days after which the data element will become inactive.
Cross-Border: Indicates whether the data will be shared with third parties.
Sensitive: Indicates whether the data is sensitive.
Encrypted: Indicates whether the data will be encrypted.
Status: Indicates whether the data element is active.
Add More Purposes:
You can add new purposes for data collection to an existing collection point.
For each new purpose, provide:
Purpose Description: A brief description of the purpose for collecting the data.
Purpose Language: The language in which the purpose is described (e.g., EN, EU, HIN).
Update Existing Purposes:
Modify the details of existing purposes in your collection points.
You can update the purpose description, language, or other related information.
Post-Command Updates
consent-template.yaml File
consent-template.yaml FileAfter executing the npx let-push-yaml command, the consent-template.yaml file will be updated with the new or modified data elements and purposes. Ensure that the updates reflect the accurate data collection practices in your application.
Last updated