Renames the user-facing 'vendor' concept to 'third party' across the entire codebase. The shared common_third_parties reference table is unchanged. Migration. Renames the vendor_category enum, the vendors and vendor_<entity> tables (contacts, services, compliance_reports, business_associate_agreements, data_privacy_agreements, risk_assessments) and their vendor_id columns, the asset_vendors / data_vendors / processing_activity_vendors junction tables, generated_documents.vendors_document_id, the webhook_event_type 'vendor:<verb>' values, and the snapshots_type 'VENDORS' value. Backend. Renames coredata models and SQL queries, probo services, GraphQL / MCP API surface, console / trust / webhook resolvers and types, the CLI (prb vendor* -> prb third-party*; pkg/cmd/vendormgmt -> pkg/cmd/thirdpartymgmt), the document generator, vetting agent prompts, and the common-third-parties-import command. Frontend, packages, n8n, e2e. Renames apps/console pages, components, hooks, routes, dialogs, and tabs; the shared @probo/vendors package (now @probo/third-parties); the @probo/ui Vendors atoms (now ThirdParties, VendorLogo -> ThirdPartyLogo); the n8n community node actions/vendor folder (now actions/thirdParty); and the e2e Go test suite (console and MCP). Filesystem and URL paths use kebab-case (third-parties), GraphQL fields and TypeScript identifiers use camelCase (thirdParty / thirdParties), Go types use PascalCase (ThirdParty), and human-facing text uses 'third party' with a space. Co-authored-by: Bryan Frimin <bryan@getprobo.com> Signed-off-by: Bryan Frimin <bryan@getprobo.com> Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
282 lines
14 KiB
Cheetah
282 lines
14 KiB
Cheetah
{
|
|
"type": "doc",
|
|
"content": [
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 1 },
|
|
"content": [{ "type": "text", "text": "1. Purpose" }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [{ "type": "text", "text": "This document provides a comprehensive overview of all processing activities within the organization. It serves as a record of personal data processing operations, documenting the purposes, legal bases, data categories, and associated safeguards for each activity." }]
|
|
},
|
|
{ "type": "horizontalRule" },
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 1 },
|
|
"content": [{ "type": "text", "text": "2. Records" }]
|
|
}{{range $i, $r := .Rows}},
|
|
{{if $i}}{ "type": "horizontalRule" },{{end}}
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 2 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d %s" (add $i 1) $r.Name)}} }]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.1 General Information" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Purpose: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.Purpose}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Role: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.Role}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.2 Data Categories" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Data Subject Category: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.DataSubjectCategory}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Personal Data Category: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.PersonalDataCategory}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Special/Criminal Data: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.SpecialOrCriminalData}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.3 Legal Basis" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Lawful Basis: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.LawfulBasis}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Consent Evidence Link: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.ConsentEvidenceLink}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.4 Data Sharing & Transfers" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Recipients: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.Recipients}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Location: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.Location}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "International Transfers: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.InternationalTransfers}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Transfer Safeguards: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.TransferSafeguards}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.5 Retention & Security" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Retention Period: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.RetentionPeriod}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Security Measures: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.SecurityMeasures}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.6 Assessments & Reviews" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "DPIA Needed: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.DataProtectionImpactAssessmentNeeded}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "TIA Needed: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.TransferImpactAssessmentNeeded}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Last Review Date: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.LastReviewDate}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Next Review Date: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.NextReviewDate}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": {{json (printf "2.%d.7 Responsible Parties" (add $i 1))}} }]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Data Protection Officer: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.DataProtectionOfficer}} }
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{ "type": "text", "text": "Third parties: ", "marks": [{ "type": "bold" }] },
|
|
{ "type": "text", "text": {{json $r.ThirdParties}} }
|
|
]
|
|
}{{end}},
|
|
{ "type": "horizontalRule" },
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 1 },
|
|
"content": [{ "type": "text", "text": "3. Definitions" }]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": "Role" }]
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Controller: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The entity that determines the purposes and means of processing personal data." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Processor: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The entity that processes personal data on behalf of the controller." }] }] }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": "Lawful Basis" }]
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Consent: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The data subject has given consent to the processing of their personal data." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Contractual Necessity: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Processing is necessary for the performance of a contract to which the data subject is party." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Legal Obligation: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Processing is necessary for compliance with a legal obligation to which the controller is subject." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Legitimate Interest: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Processing is necessary for the purposes of the legitimate interests pursued by the controller or a third party." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Public Task: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Processing is necessary for the performance of a task carried out in the public interest or in the exercise of official authority." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Vital Interests: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Processing is necessary to protect the vital interests of the data subject or of another natural person." }] }] }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": "Special/Criminal Data" }]
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Yes: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The processing activity involves special categories of personal data or data relating to criminal convictions and offences." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "No: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The processing activity does not involve special categories of personal data or data relating to criminal convictions and offences." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Possible: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The processing activity may involve special categories of personal data or data relating to criminal convictions and offences." }] }] }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": "Transfer Safeguards" }]
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Standard Contractual Clauses: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Standard contractual clauses approved by the European Commission are used to ensure adequate protection for international transfers." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Binding Corporate Rules: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "Binding corporate rules approved by a supervisory authority are used to ensure adequate protection for international transfers." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Adequacy Decision: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "The European Commission has determined that the third country ensures an adequate level of protection." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Derogations: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "A derogation under Article 49 of the GDPR is used for the international transfer." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Codes of Conduct: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "An approved code of conduct together with binding and enforceable commitments is used to ensure adequate protection." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Certification Mechanisms: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "An approved certification mechanism together with binding and enforceable commitments is used to ensure adequate protection." }] }] }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": "DPIA Needed" }]
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Yes: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "A Data Protection Impact Assessment is required for this processing activity." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "No: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "A Data Protection Impact Assessment is not required for this processing activity." }] }] }
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"attrs": { "level": 3 },
|
|
"content": [{ "type": "text", "text": "TIA Needed" }]
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "Yes: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "A Transfer Impact Assessment is required for this processing activity." }] }] },
|
|
{ "type": "listItem", "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "No: ", "marks": [{ "type": "bold" }] }, { "type": "text", "text": "A Transfer Impact Assessment is not required for this processing activity." }] }] }
|
|
]
|
|
}
|
|
]
|
|
}
|