Mujtaba Hussain commited on
Commit ·
da77f7a
0
Parent(s):
Publish 936 GDPR Normative Triples and Knowledge Graph
Browse files- README.md +152 -0
- data_dictionary.json +885 -0
- domain_data_dictionary.json +694 -0
- rules/cross_regulatory_frameworks.json +109 -0
- rules/dpia_guidelines_wp248.json +148 -0
- rules/dsar_rules.json +121 -0
- rules/edpb_fine_guidelines.json +169 -0
- rules/gdpr_shacl_shapes.json +154 -0
- rules/gdpr_shacl_shapes.ttl +137 -0
- rules/privacy_lint_rules.json +141 -0
- rules/sample_compliance_payloads.json +74 -0
- rules/sample_lint_configs/sample_openapi_compliant.json +69 -0
- rules/sample_lint_configs/sample_openapi_vulnerable.json +41 -0
- rules/sample_lint_configs/sample_terraform_compliant.json +68 -0
- rules/sample_lint_configs/sample_terraform_vulnerable.json +54 -0
- rules/sample_ropa_records.json +167 -0
README.md
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
size_categories:
|
| 6 |
+
- 1K<n<10K
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-retrieval
|
| 9 |
+
- question-answering
|
| 10 |
+
- zero-shot-classification
|
| 11 |
+
tags:
|
| 12 |
+
- legal
|
| 13 |
+
- gdpr
|
| 14 |
+
- privacy
|
| 15 |
+
- compliance
|
| 16 |
+
- knowledge-graph
|
| 17 |
+
- normative-triples
|
| 18 |
+
- shacl
|
| 19 |
+
- provenance
|
| 20 |
+
- knowledge-engineering
|
| 21 |
+
- symbolic-ai
|
| 22 |
+
- privacy-engineering
|
| 23 |
+
pretty_name: GDPR Normative Triples & Compliance Knowledge Graph
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# GDPR Normative Triples & Knowledge Graph Benchmark Dataset
|
| 27 |
+
|
| 28 |
+
[](https://opensource.org/licenses/Apache-2.0)
|
| 29 |
+
[](https://huggingface.co/datasets/gitmodelmujtaba/gdpr-normative-triples)
|
| 30 |
+
[](https://www.w3.org/TR/shacl/)
|
| 31 |
+
[](https://eur-lex.europa.eu/eli/reg/2016/679/oj)
|
| 32 |
+
|
| 33 |
+
A comprehensive, deterministic, cryptographically provenanced legal knowledge engineering dataset encoding the full normative and relational structure of **Regulation (EU) 2016/679 (General Data Protection Regulation - GDPR)**.
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## 🔬 Dataset Overview & Knowledge Engineering Rigor
|
| 38 |
+
|
| 39 |
+
In legal informatics and regulatory AI, relying on ungrounded language models introduces significant risks of hallucinated citations, missing conditions, or conflated legal roles. This dataset provides the first complete, line-by-line, peer-verifiable ontological decomposition of the GDPR into:
|
| 40 |
+
|
| 41 |
+
- **936 Validated Normative Triples** with Deontic Logic Modal Classification.
|
| 42 |
+
- **3,212 Semantic Knowledge Graph Entities** and **4,500+ Relational Edges**.
|
| 43 |
+
- **1,000+ Controlled Vocabulary Terms** across 21 domain classes.
|
| 44 |
+
- **W3C SHACL Constraints & First-Order Compliance Rules** for executable symbolic validation.
|
| 45 |
+
- **Cryptographic 4-Tier SHA-256 Provenance Ledger** linking every triple to EUR-Lex CELEX:32016R0679.
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## 📂 Repository & Asset Structure
|
| 50 |
+
|
| 51 |
+
### 1. `gdpr_normative_triples.json`
|
| 52 |
+
Full Subject-Predicate-Object decomposition of all 99 Articles across all 11 Chapters:
|
| 53 |
+
```json
|
| 54 |
+
{
|
| 55 |
+
"id": "TRIPLE-ART-0033-P1-1",
|
| 56 |
+
"article_number": 33,
|
| 57 |
+
"paragraph_number": "1",
|
| 58 |
+
"subject": "Data Controller",
|
| 59 |
+
"modality": "OBLIGATION",
|
| 60 |
+
"predicate": "shall notify personal data breach to competent supervisory authority without undue delay and where feasible not later than 72 hours",
|
| 61 |
+
"object": "Supervisory Authority",
|
| 62 |
+
"source_text": "In the case of a personal data breach, the controller shall without undue delay and, where feasible, not later than 72 hours after having become aware of it, notify the personal data breach to the supervisory authority competent in accordance with Article 55...",
|
| 63 |
+
"sha256_hash": "a4b89d6e492e86bf4148bcf7eb76ec965b6f3b0e36398b18ec4908ef484be49d"
|
| 64 |
+
}
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### 2. `gdpr_knowledge_graph.json`
|
| 68 |
+
Graph network topology ready for Cytoscape.js, NetworkX, Neo4j, or RDF triple stores:
|
| 69 |
+
- **`elements.nodes`** (3,212 entities): Categorized by `type` (`actor`, `obligation`, `right`, `article`, `authority`, `penalty`).
|
| 70 |
+
- **`elements.edges`** (4,500+ edges): Classified by predicate relation (`governs`, `requires`, `exempts`, `reports_to`, `imposes_fine`).
|
| 71 |
+
|
| 72 |
+
### 3. `domain_data_dictionary.json`
|
| 73 |
+
21 distinct ontological domain classes including:
|
| 74 |
+
- Legal Actors & Statutory Roles
|
| 75 |
+
- Processing Operations & Lawful Bases (Article 6)
|
| 76 |
+
- Data Subject Rights (Articles 12–22)
|
| 77 |
+
- Technical and Organizational Security Measures (TOMs - Article 32)
|
| 78 |
+
- Statutory Fines & Penalty Tiers (Article 83)
|
| 79 |
+
- Cross-Border Transfer Mechanisms (Chapter V)
|
| 80 |
+
|
| 81 |
+
### 4. `provenance_ledger.json`
|
| 82 |
+
Complete cryptographic audit ledger containing SHA-256 hashes of the canonical EUR-Lex text, individual article paragraphs, and derived knowledge triples.
|
| 83 |
+
|
| 84 |
+
### 5. `rules/` (Executable Knowledge Engineering Modules)
|
| 85 |
+
- `gdpr_shacl_shapes.json` & `gdpr_shacl_shapes.ttl`: W3C SHACL constraint shapes for Article 30 ROPAs and Article 37 DPOs.
|
| 86 |
+
- `edpb_fine_guidelines.json`: Formalized EDPB Guidelines 04/2022 penalty calculation matrix.
|
| 87 |
+
- `privacy_lint_rules.json`: DevSecOps static analysis rules for Terraform and OpenAPI.
|
| 88 |
+
- `dpia_guidelines_wp248.json`: EDPB WP 248 rev.01 Article 35 high-risk screening criteria.
|
| 89 |
+
- `dsar_rules.json`: Article 12(3) SLA deadlines and Article 17(3) statutory exemption rules.
|
| 90 |
+
- `cross_regulatory_frameworks.json`: Bidirectional cross-walks to ISO/IEC 27701:2019, CCPA/CPRA, and HIPAA.
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## 🐍 Usage in Python
|
| 95 |
+
|
| 96 |
+
### Querying Normative Triples
|
| 97 |
+
```python
|
| 98 |
+
import json
|
| 99 |
+
|
| 100 |
+
# Load normative triples
|
| 101 |
+
with open('gdpr_normative_triples.json', 'r', encoding='utf-8') as f:
|
| 102 |
+
triples = json.load(f)
|
| 103 |
+
|
| 104 |
+
# Filter all strict prohibitions for Data Processors
|
| 105 |
+
prohibitions = [
|
| 106 |
+
t for t in triples
|
| 107 |
+
if t['modality'] == 'PROHIBITION' and 'Processor' in t['subject']
|
| 108 |
+
]
|
| 109 |
+
print(f"Total Processor Prohibitions: {len(prohibitions)}")
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
### Loading Knowledge Graph in NetworkX
|
| 113 |
+
```python
|
| 114 |
+
import json
|
| 115 |
+
import networkx as nx
|
| 116 |
+
|
| 117 |
+
with open('gdpr_knowledge_graph.json', 'r', encoding='utf-8') as f:
|
| 118 |
+
kg = json.load(f)
|
| 119 |
+
|
| 120 |
+
G = nx.DiGraph()
|
| 121 |
+
for node in kg['elements']['nodes']:
|
| 122 |
+
G.add_node(node['data']['id'], label=node['data']['label'], type=node['data'].get('type'))
|
| 123 |
+
|
| 124 |
+
for edge in kg['elements']['edges']:
|
| 125 |
+
G.add_edge(edge['data']['source'], edge['data']['target'], relation=edge['data']['label'])
|
| 126 |
+
|
| 127 |
+
print(f"Knowledge Graph: {G.number_of_nodes()} nodes, {G.number_of_edges()} edges")
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## 🎯 Downstream Applications & Research Tasks
|
| 133 |
+
- **Neuro-Symbolic Legal Reasoning**: Grounding LLM responses in deterministic deontic triples to eliminate hallucinations.
|
| 134 |
+
- **Automated Regulatory Compliance Checking**: Validating ROPA databases and cloud architectures with W3C SHACL shapes.
|
| 135 |
+
- **Cross-Jurisdictional Harmonization**: Translating compliance proofs between GDPR, ISO/IEC 27701, CCPA, and HIPAA.
|
| 136 |
+
- **Privacy-as-Code DevSecOps Integration**: Continuous integration scanning of cloud infrastructure for privacy debt.
|
| 137 |
+
|
| 138 |
+
---
|
| 139 |
+
|
| 140 |
+
## 📜 Legal Provenance & Citation
|
| 141 |
+
|
| 142 |
+
```bibtex
|
| 143 |
+
@dataset{gdpr_normative_triples_2026,
|
| 144 |
+
author = {Mujtaba Hussain},
|
| 145 |
+
title = {GDPR Normative Triples and Compliance Knowledge Graph},
|
| 146 |
+
year = {2026},
|
| 147 |
+
publisher = {Hugging Face},
|
| 148 |
+
url = {https://huggingface.co/datasets/gitmodelmujtaba/gdpr-normative-triples}
|
| 149 |
+
}
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
*Derived from Regulation (EU) 2016/679 of the European Parliament and of the Council (OJ L 119, 4.5.2016). Licensed under Apache 2.0.*
|
data_dictionary.json
ADDED
|
@@ -0,0 +1,885 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "GDPR Enterprise Data Dictionary (v2.0)",
|
| 3 |
+
"version": "2.0.0",
|
| 4 |
+
"standard": "Regulation (EU) 2016/679 (GDPR)",
|
| 5 |
+
"interoperability": {
|
| 6 |
+
"w3c_dpv": "W3C Data Privacy Vocabulary (v1.0)",
|
| 7 |
+
"iso_standards": [
|
| 8 |
+
"ISO/IEC 27701:2019 (PIMS)",
|
| 9 |
+
"ISO/IEC 27001:2022 (ISMS)"
|
| 10 |
+
]
|
| 11 |
+
},
|
| 12 |
+
"controlled_vocabularies": {
|
| 13 |
+
"ProcessingOperation": {
|
| 14 |
+
"legal_basis": "Art. 4(2) GDPR",
|
| 15 |
+
"description": "Exhaustive taxonomy of data processing operations.",
|
| 16 |
+
"values": [
|
| 17 |
+
{
|
| 18 |
+
"code": "COLLECTION",
|
| 19 |
+
"description": "Gathering personal data from data subjects or third parties."
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"code": "RECORDING",
|
| 23 |
+
"description": "Writing, logging, or inputting data into storage systems."
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"code": "ORGANISATION",
|
| 27 |
+
"description": "Structuring or categorizing data records."
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"code": "STRUCTURING",
|
| 31 |
+
"description": "Formatting or schema-normalizing data."
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"code": "STORAGE",
|
| 35 |
+
"description": "Retaining or archiving data on physical or digital media."
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"code": "ADAPTATION_OR_ALTERATION",
|
| 39 |
+
"description": "Modifying, transforming, or updating data."
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"code": "RETRIEVAL",
|
| 43 |
+
"description": "Searching, fetching, or querying stored data."
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"code": "CONSULTATION",
|
| 47 |
+
"description": "Viewing or reading data without modification."
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"code": "USE",
|
| 51 |
+
"description": "Applying data for business, analytics, or service delivery."
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"code": "DISCLOSURE_BY_TRANSMISSION",
|
| 55 |
+
"description": "Sending or transferring data across network boundaries."
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"code": "DISSEMINATION",
|
| 59 |
+
"description": "Publishing or making data broadly available to public."
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"code": "ALIGNMENT_OR_COMBINATION",
|
| 63 |
+
"description": "Merging datasets or cross-referencing records."
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"code": "RESTRICTION",
|
| 67 |
+
"description": "Marking stored data to limit future processing (Art. 4(3))."
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"code": "ERASURE",
|
| 71 |
+
"description": "Deleting or rendering data unrecoverable (Art. 17)."
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"code": "DESTRUCTION",
|
| 75 |
+
"description": "Physical or logical permanent destruction of data carriers."
|
| 76 |
+
}
|
| 77 |
+
]
|
| 78 |
+
},
|
| 79 |
+
"DataSensitivityLevel": {
|
| 80 |
+
"legal_basis": "Art. 4(1), Art. 9, Art. 10 GDPR",
|
| 81 |
+
"description": "Graduated hierarchy of data sensitivity for risk assessment and compliance requirements.",
|
| 82 |
+
"values": [
|
| 83 |
+
{
|
| 84 |
+
"code": "ANONYMOUS",
|
| 85 |
+
"description": "Information that does not relate to an identified or identifiable natural person (Recital 26; GDPR exempt)."
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"code": "PSEUDONYMISED",
|
| 89 |
+
"description": "Data that cannot be attributed without separate key information (Art. 4(5); subject to GDPR safeguards)."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"code": "STANDARD_PERSONAL_DATA",
|
| 93 |
+
"description": "Any standard identifying data (names, emails, IDs, location data)."
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"code": "SPECIAL_CATEGORY_ART_9",
|
| 97 |
+
"description": "Sensitive personal data prohibited by default unless Art. 9(2) exception applies."
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"code": "CRIMINAL_CONVICTIONS_ART_10",
|
| 101 |
+
"description": "Data relating to criminal convictions and offences; requires official authority or statutory authorisation."
|
| 102 |
+
}
|
| 103 |
+
]
|
| 104 |
+
},
|
| 105 |
+
"SpecialCategoryType": {
|
| 106 |
+
"legal_basis": "Art. 9(1) GDPR",
|
| 107 |
+
"description": "Statutory sub-types of special category personal data.",
|
| 108 |
+
"values": [
|
| 109 |
+
{
|
| 110 |
+
"code": "RACIAL_OR_ETHNIC_ORIGIN",
|
| 111 |
+
"description": "Data revealing racial or ethnic origin."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"code": "POLITICAL_OPINIONS",
|
| 115 |
+
"description": "Data revealing political opinions."
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"code": "RELIGIOUS_OR_PHILOSOPHICAL_BELIEFS",
|
| 119 |
+
"description": "Data revealing religious or philosophical beliefs."
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"code": "TRADE_UNION_MEMBERSHIP",
|
| 123 |
+
"description": "Data revealing trade union membership status."
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"code": "GENETIC_DATA",
|
| 127 |
+
"description": "Inherited or acquired genetic characteristics (Art. 4(13))."
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"code": "BIOMETRIC_DATA_FOR_ID",
|
| 131 |
+
"description": "Biometrics processed for unique identification (Art. 4(14))."
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"code": "DATA_CONCERNING_HEALTH",
|
| 135 |
+
"description": "Physical or mental health status, health services (Art. 4(15))."
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"code": "SEX_LIFE_OR_SEXUAL_ORIENTATION",
|
| 139 |
+
"description": "Data concerning natural person's sex life or sexual orientation."
|
| 140 |
+
}
|
| 141 |
+
]
|
| 142 |
+
},
|
| 143 |
+
"CrossBorderTransferMechanism": {
|
| 144 |
+
"legal_basis": "Chapter V GDPR (Art. 44-50)",
|
| 145 |
+
"description": "Legal instruments authorizing personal data transfers to third countries or international organizations.",
|
| 146 |
+
"values": [
|
| 147 |
+
{
|
| 148 |
+
"code": "ADEQUACY_DECISION_ART_45",
|
| 149 |
+
"description": "Commission decision confirming adequate level of protection in recipient country."
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"code": "STANDARD_CONTRACTUAL_CLAUSES_ART_46",
|
| 153 |
+
"description": "EU Standard Contractual Clauses (SCCs) adopted by Commission."
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"code": "BINDING_CORPORATE_RULES_ART_47",
|
| 157 |
+
"description": "Approved BCRs within multinational group of undertakings."
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"code": "APPROVED_CODE_OF_CONDUCT_ART_40",
|
| 161 |
+
"description": "Adherence to approved code of conduct with binding commitments."
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"code": "APPROVED_CERTIFICATION_ART_42",
|
| 165 |
+
"description": "Approved certification mechanism with binding commitments."
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"code": "SPECIFIC_DEROGATION_ART_49",
|
| 169 |
+
"description": "Exceptional derogations (explicit consent, contract performance, public interest, legal claims)."
|
| 170 |
+
}
|
| 171 |
+
]
|
| 172 |
+
},
|
| 173 |
+
"LawfulBasisType": {
|
| 174 |
+
"legal_basis": "Art. 6(1) GDPR",
|
| 175 |
+
"description": "The 6 recognized legal bases to legitimize personal data processing.",
|
| 176 |
+
"values": [
|
| 177 |
+
{
|
| 178 |
+
"code": "CONSENT_ART_6_1_A",
|
| 179 |
+
"description": "Freely given, specific, informed, unambiguous consent."
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"code": "CONTRACT_ART_6_1_B",
|
| 183 |
+
"description": "Necessary for performance of a contract or pre-contractual steps."
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"code": "LEGAL_OBLIGATION_ART_6_1_C",
|
| 187 |
+
"description": "Necessary for compliance with statutory obligation under EU/national law."
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"code": "VITAL_INTERESTS_ART_6_1_D",
|
| 191 |
+
"description": "Necessary to protect vital interests of data subject or natural person."
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"code": "PUBLIC_TASK_ART_6_1_E",
|
| 195 |
+
"description": "Necessary for public interest or exercise of official authority."
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"code": "LEGITIMATE_INTERESTS_ART_6_1_F",
|
| 199 |
+
"description": "Necessary for legitimate interests not overridden by individual rights (LIA required)."
|
| 200 |
+
}
|
| 201 |
+
]
|
| 202 |
+
}
|
| 203 |
+
},
|
| 204 |
+
"standards_mappings": [
|
| 205 |
+
{
|
| 206 |
+
"gdpr_concept": "Controller",
|
| 207 |
+
"canonical_id": "concept-07",
|
| 208 |
+
"legal_basis": "Art. 4(7) GDPR",
|
| 209 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataController",
|
| 210 |
+
"w3c_dpv_term": "dpv:DataController",
|
| 211 |
+
"iso_27701_clause": "Clause 7 (PII Controller Requirements)",
|
| 212 |
+
"iso_27001_mapping": "A.18.1.4 Privacy and protection of PII"
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"gdpr_concept": "Processor",
|
| 216 |
+
"canonical_id": "concept-08",
|
| 217 |
+
"legal_basis": "Art. 4(8) GDPR",
|
| 218 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataProcessor",
|
| 219 |
+
"w3c_dpv_term": "dpv:DataProcessor",
|
| 220 |
+
"iso_27701_clause": "Clause 8 (PII Processor Requirements)",
|
| 221 |
+
"iso_27001_mapping": "A.15 Supplier relationships"
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"gdpr_concept": "Data Subject",
|
| 225 |
+
"canonical_id": "concept-01",
|
| 226 |
+
"legal_basis": "Art. 4(1) GDPR",
|
| 227 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataSubject",
|
| 228 |
+
"w3c_dpv_term": "dpv:DataSubject",
|
| 229 |
+
"iso_27701_clause": "Clause 7.3.2 (Determining rights of PII principals)",
|
| 230 |
+
"iso_27001_mapping": "N/A"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"gdpr_concept": "Personal Data",
|
| 234 |
+
"canonical_id": "concept-01",
|
| 235 |
+
"legal_basis": "Art. 4(1) GDPR",
|
| 236 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#PersonalData",
|
| 237 |
+
"w3c_dpv_term": "dpv:PersonalData",
|
| 238 |
+
"iso_27701_clause": "Personally Identifiable Information (PII)",
|
| 239 |
+
"iso_27001_mapping": "A.8.2 Information classification"
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"gdpr_concept": "Special Categories of Personal Data",
|
| 243 |
+
"canonical_id": "concept-special-data",
|
| 244 |
+
"legal_basis": "Art. 9(1) GDPR",
|
| 245 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#SpecialCategoryData",
|
| 246 |
+
"w3c_dpv_term": "dpv:SpecialCategoryData",
|
| 247 |
+
"iso_27701_clause": "Clause 7.2.4 (Sensitive PII processing)",
|
| 248 |
+
"iso_27001_mapping": "A.8.2.2 Labelling of information"
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"gdpr_concept": "Consent",
|
| 252 |
+
"canonical_id": "concept-11",
|
| 253 |
+
"legal_basis": "Art. 4(11), Art. 7 GDPR",
|
| 254 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#Consent",
|
| 255 |
+
"w3c_dpv_term": "dpv:Consent",
|
| 256 |
+
"iso_27701_clause": "Clause 7.2.2 (Consent and choice)",
|
| 257 |
+
"iso_27001_mapping": "N/A"
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"gdpr_concept": "Data Protection Impact Assessment (DPIA)",
|
| 261 |
+
"canonical_id": "concept-dpia",
|
| 262 |
+
"legal_basis": "Art. 35 GDPR",
|
| 263 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DPIA",
|
| 264 |
+
"w3c_dpv_term": "dpv:DPIA",
|
| 265 |
+
"iso_27701_clause": "Clause 7.2.5 (Privacy Impact Assessment)",
|
| 266 |
+
"iso_27001_mapping": "A.12.6.1 Management of technical vulnerabilities"
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"gdpr_concept": "Data Protection Officer (DPO)",
|
| 270 |
+
"canonical_id": "actor-dpo",
|
| 271 |
+
"legal_basis": "Art. 37-39 GDPR",
|
| 272 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataProtectionOfficer",
|
| 273 |
+
"w3c_dpv_term": "dpv:DataProtectionOfficer",
|
| 274 |
+
"iso_27701_clause": "Clause 6.3 (Information security roles and responsibilities)",
|
| 275 |
+
"iso_27001_mapping": "A.6.1.1 Information security roles"
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"gdpr_concept": "Technical and Organisational Measures (TOMs)",
|
| 279 |
+
"canonical_id": "concept-toms",
|
| 280 |
+
"legal_basis": "Art. 32 GDPR",
|
| 281 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#TechnicalOrganisationalMeasure",
|
| 282 |
+
"w3c_dpv_term": "dpv:TechnicalOrganisationalMeasure",
|
| 283 |
+
"iso_27701_clause": "Clause 6.5 (Security of processing)",
|
| 284 |
+
"iso_27001_mapping": "ISO/IEC 27001 Annex A controls (A.9, A.10, A.12, A.13)"
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"gdpr_concept": "Personal Data Breach",
|
| 288 |
+
"canonical_id": "concept-12",
|
| 289 |
+
"legal_basis": "Art. 4(12), Art. 33-34 GDPR",
|
| 290 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataBreach",
|
| 291 |
+
"w3c_dpv_term": "dpv:DataBreach",
|
| 292 |
+
"iso_27701_clause": "Clause 6.13 (Information security incident management)",
|
| 293 |
+
"iso_27001_mapping": "A.16.1 Management of information security incidents"
|
| 294 |
+
}
|
| 295 |
+
],
|
| 296 |
+
"compliance_decision_triggers": {
|
| 297 |
+
"DPIA_Mandatory_Evaluation": {
|
| 298 |
+
"legal_basis": "Art. 35(3) GDPR",
|
| 299 |
+
"triggers": [
|
| 300 |
+
{
|
| 301 |
+
"id": "TRIGGER_DPIA_PROFILING",
|
| 302 |
+
"criteria": "Systematic and extensive evaluation of personal aspects based on automated processing, including profiling, producing legal or similarly significant effects."
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"id": "TRIGGER_DPIA_SPECIAL_DATA",
|
| 306 |
+
"criteria": "Processing on a large scale of special categories of data (Art. 9) or criminal convictions/offences (Art. 10)."
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"id": "TRIGGER_DPIA_PUBLIC_MONITORING",
|
| 310 |
+
"criteria": "Systematic monitoring of a publicly accessible area on a large scale (e.g. CCTV, biometric surveillance)."
|
| 311 |
+
}
|
| 312 |
+
]
|
| 313 |
+
},
|
| 314 |
+
"DPO_Mandatory_Evaluation": {
|
| 315 |
+
"legal_basis": "Art. 37(1) GDPR",
|
| 316 |
+
"triggers": [
|
| 317 |
+
{
|
| 318 |
+
"id": "TRIGGER_DPO_PUBLIC_BODY",
|
| 319 |
+
"criteria": "The processing is carried out by a public authority or public body (except courts acting in their judicial capacity)."
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"id": "TRIGGER_DPO_CORE_MONITORING",
|
| 323 |
+
"criteria": "Core activities consist of processing operations which, by virtue of nature, scope and/or purposes, require regular and systematic monitoring of data subjects on a large scale."
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"id": "TRIGGER_DPO_CORE_SENSITIVE",
|
| 327 |
+
"criteria": "Core activities consist of processing on a large scale of special categories of data pursuant to Art. 9 or data relating to criminal convictions pursuant to Art. 10."
|
| 328 |
+
}
|
| 329 |
+
]
|
| 330 |
+
},
|
| 331 |
+
"Breach_Escalation_Pathways": {
|
| 332 |
+
"legal_basis": "Art. 33 & 34 GDPR",
|
| 333 |
+
"pathways": [
|
| 334 |
+
{
|
| 335 |
+
"tier": "TIER_1_INTERNAL_RECORD",
|
| 336 |
+
"risk_threshold": "Unlikely to result in risk to rights and freedoms of natural persons.",
|
| 337 |
+
"action": "Internal documentation only in breach register (facts, effects, remedial action) pursuant to Art. 33(5)."
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"tier": "TIER_2_DPA_NOTIFICATION",
|
| 341 |
+
"risk_threshold": "Likely to result in risk to rights and freedoms of natural persons.",
|
| 342 |
+
"action": "Notify competent Supervisory Authority without undue delay and within 72 hours (Art. 33(1))."
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"tier": "TIER_3_DATA_SUBJECT_COMMUNICATION",
|
| 346 |
+
"risk_threshold": "Likely to result in HIGH risk to rights and freedoms of natural persons.",
|
| 347 |
+
"action": "Communicate directly to data subjects in clear and plain language without undue delay (Art. 34(1)), unless exemptions in Art. 34(3) apply (encryption, subsequent measures, disproportionate effort)."
|
| 348 |
+
}
|
| 349 |
+
]
|
| 350 |
+
}
|
| 351 |
+
},
|
| 352 |
+
"node_entities": [
|
| 353 |
+
{
|
| 354 |
+
"name": "Chapter",
|
| 355 |
+
"label": ":Chapter:GDPRNode",
|
| 356 |
+
"description": "Top-level structural division of the GDPR.",
|
| 357 |
+
"count": 11,
|
| 358 |
+
"id_pattern": "^chapter-[0-9]{2}$",
|
| 359 |
+
"attributes": [
|
| 360 |
+
{
|
| 361 |
+
"name": "id",
|
| 362 |
+
"type": "string",
|
| 363 |
+
"required": true,
|
| 364 |
+
"example": "chapter-01"
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "number",
|
| 368 |
+
"type": "integer",
|
| 369 |
+
"required": true,
|
| 370 |
+
"range": [
|
| 371 |
+
1,
|
| 372 |
+
11
|
| 373 |
+
],
|
| 374 |
+
"example": 1
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"name": "title",
|
| 378 |
+
"type": "string",
|
| 379 |
+
"required": true,
|
| 380 |
+
"example": "General provisions"
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"name": "start_article",
|
| 384 |
+
"type": "integer",
|
| 385 |
+
"required": true,
|
| 386 |
+
"range": [
|
| 387 |
+
1,
|
| 388 |
+
99
|
| 389 |
+
],
|
| 390 |
+
"example": 1
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"name": "end_article",
|
| 394 |
+
"type": "integer",
|
| 395 |
+
"required": true,
|
| 396 |
+
"range": [
|
| 397 |
+
1,
|
| 398 |
+
99
|
| 399 |
+
],
|
| 400 |
+
"example": 4
|
| 401 |
+
}
|
| 402 |
+
]
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"name": "Article",
|
| 406 |
+
"label": ":Article:GDPRNode",
|
| 407 |
+
"description": "Statutory article containing binding legal norms, rules, and rights.",
|
| 408 |
+
"count": 99,
|
| 409 |
+
"id_pattern": "^art-[0-9]{2}$",
|
| 410 |
+
"attributes": [
|
| 411 |
+
{
|
| 412 |
+
"name": "id",
|
| 413 |
+
"type": "string",
|
| 414 |
+
"required": true,
|
| 415 |
+
"example": "art-06"
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"name": "number",
|
| 419 |
+
"type": "integer",
|
| 420 |
+
"required": true,
|
| 421 |
+
"range": [
|
| 422 |
+
1,
|
| 423 |
+
99
|
| 424 |
+
],
|
| 425 |
+
"example": 6
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"name": "title",
|
| 429 |
+
"type": "string",
|
| 430 |
+
"required": true,
|
| 431 |
+
"example": "Lawfulness of processing"
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"name": "chapter",
|
| 435 |
+
"type": "string",
|
| 436 |
+
"required": true,
|
| 437 |
+
"foreign_key": "Chapter.id",
|
| 438 |
+
"example": "chapter-02"
|
| 439 |
+
}
|
| 440 |
+
]
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"name": "Recital",
|
| 444 |
+
"label": ":Recital:GDPRNode",
|
| 445 |
+
"description": "Legislative preamble recital expressing normative purpose.",
|
| 446 |
+
"count": 173,
|
| 447 |
+
"id_pattern": "^recital-[0-9]{3}$",
|
| 448 |
+
"attributes": [
|
| 449 |
+
{
|
| 450 |
+
"name": "id",
|
| 451 |
+
"type": "string",
|
| 452 |
+
"required": true,
|
| 453 |
+
"example": "recital-039"
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"name": "number",
|
| 457 |
+
"type": "integer",
|
| 458 |
+
"required": true,
|
| 459 |
+
"range": [
|
| 460 |
+
1,
|
| 461 |
+
173
|
| 462 |
+
],
|
| 463 |
+
"example": 39
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"name": "title",
|
| 467 |
+
"type": "string",
|
| 468 |
+
"required": true,
|
| 469 |
+
"example": "Principles of Data Processing"
|
| 470 |
+
}
|
| 471 |
+
]
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"name": "Concept",
|
| 475 |
+
"label": ":Concept:GDPRNode",
|
| 476 |
+
"description": "Statutory term defined under Article 4 GDPR.",
|
| 477 |
+
"count": 26,
|
| 478 |
+
"id_pattern": "^concept-[0-9]{2}$",
|
| 479 |
+
"attributes": [
|
| 480 |
+
{
|
| 481 |
+
"name": "id",
|
| 482 |
+
"type": "string",
|
| 483 |
+
"required": true,
|
| 484 |
+
"example": "concept-01"
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "item_number",
|
| 488 |
+
"type": "integer",
|
| 489 |
+
"required": true,
|
| 490 |
+
"range": [
|
| 491 |
+
1,
|
| 492 |
+
26
|
| 493 |
+
],
|
| 494 |
+
"example": 1
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"name": "term",
|
| 498 |
+
"type": "string",
|
| 499 |
+
"required": true,
|
| 500 |
+
"example": "personal data"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"name": "definition",
|
| 504 |
+
"type": "string",
|
| 505 |
+
"required": true,
|
| 506 |
+
"example": "any information relating to an identified or identifiable natural person..."
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"name": "aliases",
|
| 510 |
+
"type": "array<string>",
|
| 511 |
+
"required": false,
|
| 512 |
+
"example": [
|
| 513 |
+
"data subject"
|
| 514 |
+
]
|
| 515 |
+
}
|
| 516 |
+
]
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"name": "Principle",
|
| 520 |
+
"label": ":Principle:GDPRNode",
|
| 521 |
+
"description": "Data protection principle established under Article 5.",
|
| 522 |
+
"count": 7,
|
| 523 |
+
"attributes": [
|
| 524 |
+
{
|
| 525 |
+
"name": "id",
|
| 526 |
+
"type": "string",
|
| 527 |
+
"required": true,
|
| 528 |
+
"example": "principle-purpose-limitation"
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"name": "name",
|
| 532 |
+
"type": "string",
|
| 533 |
+
"required": true,
|
| 534 |
+
"example": "Purpose Limitation"
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"name": "legal_basis",
|
| 538 |
+
"type": "string",
|
| 539 |
+
"required": true,
|
| 540 |
+
"example": "Art. 5(1)(b) GDPR"
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"name": "description",
|
| 544 |
+
"type": "string",
|
| 545 |
+
"required": true,
|
| 546 |
+
"example": "Personal data shall be collected for specified, explicit and legitimate purposes..."
|
| 547 |
+
}
|
| 548 |
+
]
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"name": "LawfulBasis",
|
| 552 |
+
"label": ":LawfulBasis:GDPRNode",
|
| 553 |
+
"description": "Legal ground under Article 6(1) or Article 9(2).",
|
| 554 |
+
"count": 6,
|
| 555 |
+
"attributes": [
|
| 556 |
+
{
|
| 557 |
+
"name": "id",
|
| 558 |
+
"type": "string",
|
| 559 |
+
"required": true,
|
| 560 |
+
"example": "lawful-basis-consent"
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"name": "point",
|
| 564 |
+
"type": "string",
|
| 565 |
+
"required": true,
|
| 566 |
+
"example": "Art. 6(1)(a)"
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"name": "name",
|
| 570 |
+
"type": "string",
|
| 571 |
+
"required": true,
|
| 572 |
+
"example": "Consent"
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"name": "description",
|
| 576 |
+
"type": "string",
|
| 577 |
+
"required": true,
|
| 578 |
+
"example": "The data subject has given consent..."
|
| 579 |
+
}
|
| 580 |
+
]
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"name": "DataSubjectRight",
|
| 584 |
+
"label": ":DataSubjectRight:GDPRNode",
|
| 585 |
+
"description": "Actionable right granted to natural persons under Articles 12-22.",
|
| 586 |
+
"count": 8,
|
| 587 |
+
"attributes": [
|
| 588 |
+
{
|
| 589 |
+
"name": "id",
|
| 590 |
+
"type": "string",
|
| 591 |
+
"required": true,
|
| 592 |
+
"example": "right-to-erasure"
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"name": "name",
|
| 596 |
+
"type": "string",
|
| 597 |
+
"required": true,
|
| 598 |
+
"example": "Right to Erasure ('Right to be Forgotten')"
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"name": "timeline",
|
| 602 |
+
"type": "string",
|
| 603 |
+
"required": true,
|
| 604 |
+
"example": "Without undue delay (within one month)."
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"name": "description",
|
| 608 |
+
"type": "string",
|
| 609 |
+
"required": true,
|
| 610 |
+
"example": "Right to obtain erasure of personal data without undue delay..."
|
| 611 |
+
}
|
| 612 |
+
]
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"name": "ComplianceObligation",
|
| 616 |
+
"label": ":ComplianceObligation:GDPRNode",
|
| 617 |
+
"description": "Mandated controller/processor compliance duty under Articles 24-37.",
|
| 618 |
+
"count": 9,
|
| 619 |
+
"attributes": [
|
| 620 |
+
{
|
| 621 |
+
"name": "id",
|
| 622 |
+
"type": "string",
|
| 623 |
+
"required": true,
|
| 624 |
+
"example": "obligation-breach-notification-dpa"
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"name": "name",
|
| 628 |
+
"type": "string",
|
| 629 |
+
"required": true,
|
| 630 |
+
"example": "Breach Notification to Supervisory Authority"
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"name": "summary",
|
| 634 |
+
"type": "string",
|
| 635 |
+
"required": true,
|
| 636 |
+
"example": "Notify DPA within 72 hours of becoming aware of breach..."
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"name": "applies_to",
|
| 640 |
+
"type": "array<string>",
|
| 641 |
+
"required": true,
|
| 642 |
+
"example": [
|
| 643 |
+
"Controller",
|
| 644 |
+
"Processor"
|
| 645 |
+
]
|
| 646 |
+
}
|
| 647 |
+
]
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"name": "PenaltyTier",
|
| 651 |
+
"label": ":PenaltyTier:GDPRNode",
|
| 652 |
+
"description": "Fine ceiling tier under Article 83.",
|
| 653 |
+
"count": 2,
|
| 654 |
+
"attributes": [
|
| 655 |
+
{
|
| 656 |
+
"name": "id",
|
| 657 |
+
"type": "string",
|
| 658 |
+
"required": true,
|
| 659 |
+
"example": "penalty-tier-2"
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"name": "max_fine_eur",
|
| 663 |
+
"type": "integer",
|
| 664 |
+
"required": true,
|
| 665 |
+
"example": 20000000
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"name": "max_percentage_turnover",
|
| 669 |
+
"type": "float",
|
| 670 |
+
"required": true,
|
| 671 |
+
"example": 4.0
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"name": "summary",
|
| 675 |
+
"type": "string",
|
| 676 |
+
"required": true,
|
| 677 |
+
"example": "Basic principles, rights, cross-border transfers..."
|
| 678 |
+
}
|
| 679 |
+
]
|
| 680 |
+
}
|
| 681 |
+
],
|
| 682 |
+
"graph_relationships": [
|
| 683 |
+
{
|
| 684 |
+
"relation": "CONTAINS",
|
| 685 |
+
"source": "Chapter",
|
| 686 |
+
"target": "Article",
|
| 687 |
+
"cardinality": "1-to-Many",
|
| 688 |
+
"description": "Structural containment of articles inside a chapter."
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"relation": "INTERPRETS",
|
| 692 |
+
"source": "Recital",
|
| 693 |
+
"target": "Article",
|
| 694 |
+
"cardinality": "Many-to-Many",
|
| 695 |
+
"description": "Preamble recital providing interpretive rationale for an article."
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"relation": "CITES",
|
| 699 |
+
"source": "Article",
|
| 700 |
+
"target": "Article",
|
| 701 |
+
"cardinality": "Many-to-Many",
|
| 702 |
+
"description": "Statutory cross-reference where one article explicitly cites another."
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"relation": "DEFINES",
|
| 706 |
+
"source": "Article",
|
| 707 |
+
"target": "Concept",
|
| 708 |
+
"cardinality": "1-to-Many",
|
| 709 |
+
"description": "Article 4 establishing canonical definitions of legal terms."
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"relation": "ESTABLISHES_PRINCIPLE",
|
| 713 |
+
"source": "Article",
|
| 714 |
+
"target": "Principle",
|
| 715 |
+
"cardinality": "1-to-Many",
|
| 716 |
+
"description": "Article 5 establishing data protection principles."
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"relation": "PROVIDES_LAWFUL_BASIS",
|
| 720 |
+
"source": "Article",
|
| 721 |
+
"target": "LawfulBasis",
|
| 722 |
+
"cardinality": "1-to-Many",
|
| 723 |
+
"description": "Article 6 establishing lawful bases for processing."
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"relation": "CONFERS_RIGHT",
|
| 727 |
+
"source": "Article",
|
| 728 |
+
"target": "DataSubjectRight",
|
| 729 |
+
"cardinality": "Many-to-1",
|
| 730 |
+
"description": "Articles 12-22 granting actionable rights to data subjects."
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"relation": "IMPOSES_OBLIGATION",
|
| 734 |
+
"source": "Article",
|
| 735 |
+
"target": "ComplianceObligation",
|
| 736 |
+
"cardinality": "1-to-1",
|
| 737 |
+
"description": "Articles 24-37 mandating compliance duties."
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"relation": "SANCTIONED_BY",
|
| 741 |
+
"source": "Article",
|
| 742 |
+
"target": "PenaltyTier",
|
| 743 |
+
"cardinality": "Many-to-1",
|
| 744 |
+
"description": "Article non-compliance subject to Art. 83 administrative fine ceilings."
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"relation": "ADDRESSES_ARTICLE",
|
| 748 |
+
"source": "KeyIssue",
|
| 749 |
+
"target": "Article",
|
| 750 |
+
"cardinality": "Many-to-Many",
|
| 751 |
+
"description": "Key Issue topical guide referencing an article."
|
| 752 |
+
}
|
| 753 |
+
],
|
| 754 |
+
"normative_triple_schema": {
|
| 755 |
+
"description": "Standardized Subject-Predicate-Object normative tuple across all 99 articles with 4-tier legal provenance anchoring.",
|
| 756 |
+
"fields": [
|
| 757 |
+
{
|
| 758 |
+
"name": "id",
|
| 759 |
+
"type": "string",
|
| 760 |
+
"description": "Unique identifier of the extracted triple.",
|
| 761 |
+
"example": "triple-0062"
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"name": "article",
|
| 765 |
+
"type": "integer",
|
| 766 |
+
"description": "Statutory article number (1-99).",
|
| 767 |
+
"example": 6
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"name": "paragraph",
|
| 771 |
+
"type": "integer",
|
| 772 |
+
"description": "Paragraph index within the article.",
|
| 773 |
+
"example": 1
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"name": "subparagraph",
|
| 777 |
+
"type": "string | null",
|
| 778 |
+
"description": "Subparagraph point identifier (e.g. 'a', 'b').",
|
| 779 |
+
"example": "a"
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"name": "sentence_index",
|
| 783 |
+
"type": "integer",
|
| 784 |
+
"description": "Sentence sequence number within the clause.",
|
| 785 |
+
"example": 1
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"name": "provenance",
|
| 789 |
+
"type": "object",
|
| 790 |
+
"description": "4-tier legal provenance metadata block (ELI, CELEX, source line, SHA-256).",
|
| 791 |
+
"example": {
|
| 792 |
+
"jurisdiction": "European Union",
|
| 793 |
+
"statutory_act": "Regulation (EU) 2016/679 (GDPR)",
|
| 794 |
+
"celex": "32016R0679",
|
| 795 |
+
"official_journal": "OJ L 119, 4.5.2016, p. 1-88",
|
| 796 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_6/oj",
|
| 797 |
+
"gdpr_info_permalink": "https://gdpr-info.eu/art-6-gdpr/",
|
| 798 |
+
"source_file": "articles/art-06.md",
|
| 799 |
+
"source_line_number": 8,
|
| 800 |
+
"sentence_index": 1,
|
| 801 |
+
"sha256_hash": "9a310f08e7b99c7f66a87c0627e7fa60897e937d576a0d33e5c9f95fceef1234"
|
| 802 |
+
}
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"name": "subject",
|
| 806 |
+
"type": "object",
|
| 807 |
+
"description": "Norm addressee or actor bound by the rule.",
|
| 808 |
+
"example": {
|
| 809 |
+
"name": "Controller",
|
| 810 |
+
"id": "concept-07"
|
| 811 |
+
}
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"name": "modality",
|
| 815 |
+
"type": "enum",
|
| 816 |
+
"allowed_values": [
|
| 817 |
+
"OBLIGATION",
|
| 818 |
+
"PROHIBITION",
|
| 819 |
+
"RIGHT",
|
| 820 |
+
"PERMISSION",
|
| 821 |
+
"DEFINITION",
|
| 822 |
+
"DECLARATIVE"
|
| 823 |
+
],
|
| 824 |
+
"description": "Hohfeldian / Deontic normative modality.",
|
| 825 |
+
"example": "OBLIGATION"
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"name": "predicate",
|
| 829 |
+
"type": "string",
|
| 830 |
+
"description": "Operative legal verb or mandated action.",
|
| 831 |
+
"example": "notify"
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"name": "object",
|
| 835 |
+
"type": "object",
|
| 836 |
+
"description": "Primary regulated theme, asset, or legal concept.",
|
| 837 |
+
"example": {
|
| 838 |
+
"name": "Personal Data Breach",
|
| 839 |
+
"id": "concept-12"
|
| 840 |
+
}
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"name": "target_actor",
|
| 844 |
+
"type": "object | null",
|
| 845 |
+
"description": "Counterpart beneficiary or recipient actor.",
|
| 846 |
+
"example": {
|
| 847 |
+
"name": "Supervisory Authority",
|
| 848 |
+
"id": "concept-21"
|
| 849 |
+
}
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"name": "condition",
|
| 853 |
+
"type": "string | null",
|
| 854 |
+
"description": "Pre-condition or trigger for the legal norm to apply.",
|
| 855 |
+
"example": "In the case of a personal data breach"
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"name": "temporal_constraint",
|
| 859 |
+
"type": "string | null",
|
| 860 |
+
"description": "Statutory deadline, timeframe, or temporal rule.",
|
| 861 |
+
"example": "without undue delay"
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"name": "exception",
|
| 865 |
+
"type": "string | null",
|
| 866 |
+
"description": "Derogation or statutory exception clause.",
|
| 867 |
+
"example": "unless the personal data breach is unlikely to result in a risk..."
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"name": "citations",
|
| 871 |
+
"type": "array<string>",
|
| 872 |
+
"description": "Inter-article or recital statutory cross-citations.",
|
| 873 |
+
"example": [
|
| 874 |
+
"Art. 55"
|
| 875 |
+
]
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"name": "raw_text",
|
| 879 |
+
"type": "string",
|
| 880 |
+
"description": "Verbatim source sentence extracted from the GDPR.",
|
| 881 |
+
"example": "In the case of a personal data breach, the controller shall..."
|
| 882 |
+
}
|
| 883 |
+
]
|
| 884 |
+
}
|
| 885 |
+
}
|
domain_data_dictionary.json
ADDED
|
@@ -0,0 +1,694 @@
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "GDPR Domain Knowledge Data Dictionary",
|
| 3 |
+
"version": "3.0.0",
|
| 4 |
+
"standard": "Regulation (EU) 2016/679 (GDPR)",
|
| 5 |
+
"framework": "Semantic Web / Linked Data & Hohfeldian Deontic Legal Ontologies",
|
| 6 |
+
"interoperability": {
|
| 7 |
+
"w3c_dpv": "W3C Data Privacy Vocabulary (v1.0)",
|
| 8 |
+
"iso_standards": [
|
| 9 |
+
"ISO/IEC 27701:2019 (PIMS)",
|
| 10 |
+
"ISO/IEC 27001:2022 (ISMS)"
|
| 11 |
+
],
|
| 12 |
+
"legal_ontologies": [
|
| 13 |
+
"LKIF-Core",
|
| 14 |
+
"FIBO Legal Entity",
|
| 15 |
+
"Hohfeld Deontic Logic"
|
| 16 |
+
]
|
| 17 |
+
},
|
| 18 |
+
"metadata": {
|
| 19 |
+
"total_subjects": 8,
|
| 20 |
+
"total_objects": 8,
|
| 21 |
+
"total_predicates": 8,
|
| 22 |
+
"total_compatibility_rules": 6
|
| 23 |
+
},
|
| 24 |
+
"subjects_ontology": [
|
| 25 |
+
{
|
| 26 |
+
"id": "subject-controller",
|
| 27 |
+
"name": "Controller",
|
| 28 |
+
"category": "LegalPersonOrEntity",
|
| 29 |
+
"statutory_basis": "Art. 4(7) GDPR",
|
| 30 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_4/oj",
|
| 31 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataController",
|
| 32 |
+
"iso_27701_clause": "Clause 7 (PII Controller Requirements)",
|
| 33 |
+
"hohfeldian_role": "Primary Duty-Bearer / Legal Power Holder",
|
| 34 |
+
"definition": "The natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of personal data.",
|
| 35 |
+
"capacities": [
|
| 36 |
+
"Determines legal basis for processing (Art. 6)",
|
| 37 |
+
"Mandated to implement Data Protection by Design and by Default (Art. 25)",
|
| 38 |
+
"Bound to notify personal data breaches within 72 hours (Art. 33)",
|
| 39 |
+
"Directly liable for data subject compensation (Art. 82)",
|
| 40 |
+
"Subject to Tier 1 and Tier 2 administrative fines (Art. 83)"
|
| 41 |
+
],
|
| 42 |
+
"permissible_predicates": [
|
| 43 |
+
"PROCESSES_DATA",
|
| 44 |
+
"DETERMINES_PURPOSE_OF",
|
| 45 |
+
"DETERMINES_MEANS_OF",
|
| 46 |
+
"OBTAINS_CONSENT_FOR",
|
| 47 |
+
"CONCLUDES_DPA_WITH",
|
| 48 |
+
"CONDUCTS_DPIA_ON",
|
| 49 |
+
"MAINTAINS_ROPA",
|
| 50 |
+
"NOTIFIES_BREACH_TO",
|
| 51 |
+
"COMMUNICATES_BREACH_TO",
|
| 52 |
+
"DESIGNATES_DPO",
|
| 53 |
+
"AUTHORIZES_TRANSFER_VIA",
|
| 54 |
+
"ERASES_DATA_UPON_REQUEST"
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "subject-joint-controller",
|
| 59 |
+
"name": "Joint Controller",
|
| 60 |
+
"category": "LegalPersonOrEntity",
|
| 61 |
+
"statutory_basis": "Art. 26 GDPR",
|
| 62 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_26/oj",
|
| 63 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#JointDataControllers",
|
| 64 |
+
"iso_27701_clause": "Clause 7.2.8 (Joint PII controllers)",
|
| 65 |
+
"hohfeldian_role": "Co-Duty-Bearer",
|
| 66 |
+
"definition": "Two or more controllers that jointly determine the purposes and means of processing by means of a transparent arrangement defining their respective compliance responsibilities.",
|
| 67 |
+
"capacities": [
|
| 68 |
+
"Must establish binding transparent arrangement under Art. 26(1)",
|
| 69 |
+
"Jointly and severally liable for full damage to ensure effective compensation (Art. 82(4))"
|
| 70 |
+
],
|
| 71 |
+
"permissible_predicates": [
|
| 72 |
+
"DETERMINES_PURPOSE_OF",
|
| 73 |
+
"CONCLUDES_JOINT_ARRANGEMENT_WITH",
|
| 74 |
+
"PROCESSES_DATA"
|
| 75 |
+
]
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"id": "subject-processor",
|
| 79 |
+
"name": "Processor",
|
| 80 |
+
"category": "LegalPersonOrEntity",
|
| 81 |
+
"statutory_basis": "Art. 4(8) GDPR",
|
| 82 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_4/oj",
|
| 83 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataProcessor",
|
| 84 |
+
"iso_27701_clause": "Clause 8 (PII Processor Requirements)",
|
| 85 |
+
"hohfeldian_role": "Delegated Duty-Bearer",
|
| 86 |
+
"definition": "A natural or legal person, public authority, agency or other body which processes personal data on behalf of the controller.",
|
| 87 |
+
"capacities": [
|
| 88 |
+
"Bound to process personal data strictly upon documented controller instructions (Art. 28(3)(a))",
|
| 89 |
+
"Must notify controller without undue delay after becoming aware of a breach (Art. 33(2))",
|
| 90 |
+
"Bound to maintain processor records of processing (Art. 30(2))",
|
| 91 |
+
"May not engage sub-processor without prior specific or general written authorization (Art. 28(2))"
|
| 92 |
+
],
|
| 93 |
+
"permissible_predicates": [
|
| 94 |
+
"PROCESSES_DATA_ON_BEHALF_OF",
|
| 95 |
+
"NOTIFIES_BREACH_TO_CONTROLLER",
|
| 96 |
+
"ENGAGES_SUBPROCESSOR",
|
| 97 |
+
"IMPLEMENTS_TOMS",
|
| 98 |
+
"ASSISTS_CONTROLLER_WITH_DSR"
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"id": "subject-data-subject",
|
| 103 |
+
"name": "Data Subject",
|
| 104 |
+
"category": "NaturalPerson",
|
| 105 |
+
"statutory_basis": "Art. 4(1) GDPR",
|
| 106 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_4/oj",
|
| 107 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataSubject",
|
| 108 |
+
"iso_27701_clause": "Clause 7.3 (Obligations to PII principals)",
|
| 109 |
+
"hohfeldian_role": "Primary Right-Holder (Claim-Right Beneficiary)",
|
| 110 |
+
"definition": "An identified or identifiable natural person whose personal data is processed.",
|
| 111 |
+
"capacities": [
|
| 112 |
+
"Holds right of transparent information (Arts. 13 & 14)",
|
| 113 |
+
"Holds right of access (Art. 15)",
|
| 114 |
+
"Holds right to rectification (Art. 16)",
|
| 115 |
+
"Holds right to erasure / right to be forgotten (Art. 17)",
|
| 116 |
+
"Holds right to restriction of processing (Art. 18)",
|
| 117 |
+
"Holds right to data portability (Art. 20)",
|
| 118 |
+
"Holds right to object to processing and profiling (Art. 21)",
|
| 119 |
+
"Holds right not to be subject to automated decision-making (Art. 22)",
|
| 120 |
+
"Holds right to lodge complaint with Supervisory Authority (Art. 77)"
|
| 121 |
+
],
|
| 122 |
+
"permissible_predicates": [
|
| 123 |
+
"EXERCISES_RIGHT_AGAINST",
|
| 124 |
+
"GIVES_CONSENT_TO",
|
| 125 |
+
"WITHDRAWS_CONSENT_FROM",
|
| 126 |
+
"OBJECTS_TO_PROCESSING",
|
| 127 |
+
"LODGES_COMPLAINT_WITH",
|
| 128 |
+
"SEEKS_JUDICIAL_REMEDY_AGAINST"
|
| 129 |
+
]
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"id": "subject-dpo",
|
| 133 |
+
"name": "Data Protection Officer (DPO)",
|
| 134 |
+
"category": "NaturalPersonOrRole",
|
| 135 |
+
"statutory_basis": "Art. 37-39 GDPR",
|
| 136 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_37/oj",
|
| 137 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataProtectionOfficer",
|
| 138 |
+
"iso_27701_clause": "Clause 6.3 (Information security roles and responsibilities)",
|
| 139 |
+
"hohfeldian_role": "Independent Advisory & Oversight Role",
|
| 140 |
+
"definition": "An independent expert designated by controller or processor to monitor compliance, provide guidance on DPIAs, and act as contact point for authorities and data subjects.",
|
| 141 |
+
"capacities": [
|
| 142 |
+
"Reports directly to the highest management level (Art. 38(3))",
|
| 143 |
+
"Protected against dismissal or penalty for performing tasks (Art. 38(3))",
|
| 144 |
+
"Advises on DPIA methodology and execution (Art. 39(1)(c))",
|
| 145 |
+
"Acts as contact point for supervisory authority (Art. 39(1)(e))"
|
| 146 |
+
],
|
| 147 |
+
"permissible_predicates": [
|
| 148 |
+
"ADVISES_ON_DPIA",
|
| 149 |
+
"MONITORS_COMPLIANCE_OF",
|
| 150 |
+
"COOPERATES_WITH_AUTHORITY",
|
| 151 |
+
"CONTACT_POINT_FOR"
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"id": "subject-supervisory-authority",
|
| 156 |
+
"name": "Supervisory Authority (DPA)",
|
| 157 |
+
"category": "PublicAuthority",
|
| 158 |
+
"statutory_basis": "Art. 4(21), Art. 51 GDPR",
|
| 159 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_51/oj",
|
| 160 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataProtectionAuthority",
|
| 161 |
+
"iso_27701_clause": "Clause 6.13 (Incident Management & Regulatory Liaison)",
|
| 162 |
+
"hohfeldian_role": "Statutory Enforcement Body / Legal Power Holder",
|
| 163 |
+
"definition": "An independent public authority established by a Member State responsible for monitoring and enforcing the application of the GDPR.",
|
| 164 |
+
"capacities": [
|
| 165 |
+
"Holds investigative powers (audits, data access, inspections) (Art. 58(1))",
|
| 166 |
+
"Holds corrective powers (warnings, reprimands, orders, processing bans) (Art. 58(2))",
|
| 167 |
+
"Holds power to impose administrative fines up to €20M or 4% turnover (Art. 58(2)(i), Art. 83)",
|
| 168 |
+
"Receives breach notifications within 72 hours (Art. 33)",
|
| 169 |
+
"Conducts prior consultation on high residual risk processing (Art. 36)"
|
| 170 |
+
],
|
| 171 |
+
"permissible_predicates": [
|
| 172 |
+
"AUDITS_CONTROLLER",
|
| 173 |
+
"RECEIVES_BREACH_NOTIFICATION_FROM",
|
| 174 |
+
"ORDERS_PROCESSING_BAN_ON",
|
| 175 |
+
"CONDUCTS_PRIOR_CONSULTATION_WITH",
|
| 176 |
+
"IMPOSES_FINE_ON",
|
| 177 |
+
"ISSUES_REPRIMAND_TO"
|
| 178 |
+
]
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"id": "subject-edpb",
|
| 182 |
+
"name": "European Data Protection Board (EDPB)",
|
| 183 |
+
"category": "UnionBody",
|
| 184 |
+
"statutory_basis": "Art. 68-70 GDPR",
|
| 185 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_68/oj",
|
| 186 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataProtectionBoard",
|
| 187 |
+
"iso_27701_clause": "N/A (Supranational Oversight)",
|
| 188 |
+
"hohfeldian_role": "Supranational Regulatory Consistency Body",
|
| 189 |
+
"definition": "An independent body of the European Union with legal personality, composed of the head of one supervisory authority of each Member State and the European Data Protection Supervisor.",
|
| 190 |
+
"capacities": [
|
| 191 |
+
"Issues binding decisions under the consistency mechanism (Art. 65)",
|
| 192 |
+
"Issues EU-wide regulatory guidelines, recommendations, and best practices (Art. 70(1)(e))",
|
| 193 |
+
"Advises European Commission on international adequacy and data protection matters (Art. 70(1)(b))"
|
| 194 |
+
],
|
| 195 |
+
"permissible_predicates": [
|
| 196 |
+
"ISSUES_BINDING_DECISION_ON",
|
| 197 |
+
"ISSUES_GUIDELINES_ON",
|
| 198 |
+
"APPROVES_BCR"
|
| 199 |
+
]
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"id": "subject-commission",
|
| 203 |
+
"name": "European Commission",
|
| 204 |
+
"category": "UnionInstitution",
|
| 205 |
+
"statutory_basis": "Chapter V (Art. 45, 46), Art. 97 GDPR",
|
| 206 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_45/oj",
|
| 207 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#Authority",
|
| 208 |
+
"iso_27701_clause": "Clause 7.5 (Cross-border transfers)",
|
| 209 |
+
"hohfeldian_role": "Legislative & International Power Holder",
|
| 210 |
+
"definition": "The executive branch of the European Union empowered to adopt implementing acts certifying third-country data protection adequacy and approving Standard Contractual Clauses (SCCs).",
|
| 211 |
+
"capacities": [
|
| 212 |
+
"Adopts third-country Adequacy Decisions (Art. 45)",
|
| 213 |
+
"Adopts Standard Contractual Clauses (SCCs) for cross-border transfers (Art. 46(2)(c))",
|
| 214 |
+
"Submits periodic evaluation and review reports on GDPR to European Parliament (Art. 97)"
|
| 215 |
+
],
|
| 216 |
+
"permissible_predicates": [
|
| 217 |
+
"ADOPTS_ADEQUACY_DECISION_FOR",
|
| 218 |
+
"ADOPTS_STANDARD_CONTRACTUAL_CLAUSES"
|
| 219 |
+
]
|
| 220 |
+
}
|
| 221 |
+
],
|
| 222 |
+
"objects_ontology": [
|
| 223 |
+
{
|
| 224 |
+
"id": "object-personal-data",
|
| 225 |
+
"name": "Personal Data",
|
| 226 |
+
"category": "InformationAsset",
|
| 227 |
+
"statutory_basis": "Art. 4(1) GDPR",
|
| 228 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_4/oj",
|
| 229 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#PersonalData",
|
| 230 |
+
"iso_27701_mapping": "Personally Identifiable Information (PII)",
|
| 231 |
+
"sensitivity_level": "STANDARD_PERSONAL_DATA",
|
| 232 |
+
"definition": "Any information relating to an identified or identifiable natural person ('data subject').",
|
| 233 |
+
"attributes": [
|
| 234 |
+
{
|
| 235 |
+
"name": "identifier_type",
|
| 236 |
+
"type": "string",
|
| 237 |
+
"example": "name, email, ID number, location data, online identifier"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"name": "identifiability_context",
|
| 241 |
+
"type": "string",
|
| 242 |
+
"example": "directly or indirectly in combination with other data"
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"name": "retention_period",
|
| 246 |
+
"type": "string",
|
| 247 |
+
"example": "storage limitation pursuant to Art. 5(1)(e)"
|
| 248 |
+
}
|
| 249 |
+
]
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"id": "object-special-category-data",
|
| 253 |
+
"name": "Special Category Personal Data",
|
| 254 |
+
"category": "InformationAsset",
|
| 255 |
+
"statutory_basis": "Art. 9(1) GDPR",
|
| 256 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_9/oj",
|
| 257 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#SpecialCategoryData",
|
| 258 |
+
"iso_27701_mapping": "Sensitive PII (Clause 7.2.4)",
|
| 259 |
+
"sensitivity_level": "SPECIAL_CATEGORY_ART_9",
|
| 260 |
+
"definition": "Personal data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data for identification, health data, or data concerning sex life/sexual orientation.",
|
| 261 |
+
"attributes": [
|
| 262 |
+
{
|
| 263 |
+
"name": "special_type",
|
| 264 |
+
"type": "enum",
|
| 265 |
+
"example": "HEALTH_DATA, BIOMETRIC, GENETIC, RACIAL_ORIGIN"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"name": "processing_default_status",
|
| 269 |
+
"type": "string",
|
| 270 |
+
"example": "PROHIBITED by default under Art. 9(1)"
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"name": "derogation_ground",
|
| 274 |
+
"type": "string",
|
| 275 |
+
"example": "Explicit consent Art. 9(2)(a), Vital interests Art. 9(2)(c), Healthcare Art. 9(2)(h)"
|
| 276 |
+
}
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"id": "object-consent-record",
|
| 281 |
+
"name": "Consent Record",
|
| 282 |
+
"category": "ComplianceArtifact",
|
| 283 |
+
"statutory_basis": "Art. 4(11), Art. 7 GDPR",
|
| 284 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_7/oj",
|
| 285 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#ConsentRecord",
|
| 286 |
+
"iso_27701_mapping": "Clause 7.2.2 (Consent and choice)",
|
| 287 |
+
"sensitivity_level": "COMPLIANCE_RECORD",
|
| 288 |
+
"definition": "Documented evidence demonstrating that the data subject has given freely given, specific, informed, and unambiguous agreement to data processing.",
|
| 289 |
+
"attributes": [
|
| 290 |
+
{
|
| 291 |
+
"name": "timestamp",
|
| 292 |
+
"type": "datetime",
|
| 293 |
+
"example": "2026-09-15T12:00:00Z"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"name": "specific_purposes",
|
| 297 |
+
"type": "array<string>",
|
| 298 |
+
"example": [
|
| 299 |
+
"marketing_newsletter",
|
| 300 |
+
"analytics"
|
| 301 |
+
]
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"name": "withdrawable",
|
| 305 |
+
"type": "boolean",
|
| 306 |
+
"example": true
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"name": "unbundled",
|
| 310 |
+
"type": "boolean",
|
| 311 |
+
"example": true
|
| 312 |
+
}
|
| 313 |
+
]
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"id": "object-ropa",
|
| 317 |
+
"name": "Record of Processing Activities (ROPA)",
|
| 318 |
+
"category": "ComplianceArtifact",
|
| 319 |
+
"statutory_basis": "Art. 30 GDPR",
|
| 320 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_30/oj",
|
| 321 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#ROPA",
|
| 322 |
+
"iso_27701_mapping": "Clause 7.2.1 (Inventory and map of PII)",
|
| 323 |
+
"sensitivity_level": "STATUTORY_REGISTER",
|
| 324 |
+
"definition": "Mandated formal internal register containing complete inventory of all processing operations, categories of data, purposes, recipients, third-country transfers, and TOMs.",
|
| 325 |
+
"attributes": [
|
| 326 |
+
{
|
| 327 |
+
"name": "entity_role",
|
| 328 |
+
"type": "enum",
|
| 329 |
+
"example": "CONTROLLER_ROPA (Art. 30(1)) or PROCESSOR_ROPA (Art. 30(2))"
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"name": "categories_of_data_subjects",
|
| 333 |
+
"type": "array<string>",
|
| 334 |
+
"example": [
|
| 335 |
+
"employees",
|
| 336 |
+
"customers",
|
| 337 |
+
"patients"
|
| 338 |
+
]
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"name": "time_limits_for_erasure",
|
| 342 |
+
"type": "string",
|
| 343 |
+
"example": "documented retention schedule"
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"name": "general_description_of_toms",
|
| 347 |
+
"type": "string",
|
| 348 |
+
"example": "encryption, RBAC, TLS 1.3"
|
| 349 |
+
}
|
| 350 |
+
]
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"id": "object-dpia",
|
| 354 |
+
"name": "Data Protection Impact Assessment (DPIA)",
|
| 355 |
+
"category": "ComplianceArtifact",
|
| 356 |
+
"statutory_basis": "Art. 35 GDPR",
|
| 357 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_35/oj",
|
| 358 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DPIA",
|
| 359 |
+
"iso_27701_mapping": "Clause 7.2.5 (Privacy Impact Assessment)",
|
| 360 |
+
"sensitivity_level": "RISK_EVALUATION",
|
| 361 |
+
"definition": "Comprehensive risk assessment required prior to processing likely to result in a high risk to rights and freedoms of individuals, describing processing, necessity, proportionality, and risk mitigations.",
|
| 362 |
+
"attributes": [
|
| 363 |
+
{
|
| 364 |
+
"name": "statutory_trigger",
|
| 365 |
+
"type": "enum",
|
| 366 |
+
"example": "PROFILING_ART_35_3_A, SPECIAL_DATA_ART_35_3_B, SURVEILLANCE_ART_35_3_C"
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"name": "dpo_advice_documented",
|
| 370 |
+
"type": "boolean",
|
| 371 |
+
"example": true
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"name": "residual_risk_level",
|
| 375 |
+
"type": "enum",
|
| 376 |
+
"example": "LOW, MEDIUM, HIGH_TRIGGERING_ART_36"
|
| 377 |
+
}
|
| 378 |
+
]
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"id": "object-breach",
|
| 382 |
+
"name": "Personal Data Breach",
|
| 383 |
+
"category": "SecurityAndRiskEntity",
|
| 384 |
+
"statutory_basis": "Art. 4(12), Art. 33-34 GDPR",
|
| 385 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_33/oj",
|
| 386 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#DataBreach",
|
| 387 |
+
"iso_27701_mapping": "Clause 6.13 (Information security incident management)",
|
| 388 |
+
"sensitivity_level": "SECURITY_INCIDENT",
|
| 389 |
+
"definition": "A breach of security leading to the accidental or unlawful destruction, loss, alteration, unauthorised disclosure of, or access to, personal data transmitted, stored or otherwise processed.",
|
| 390 |
+
"attributes": [
|
| 391 |
+
{
|
| 392 |
+
"name": "breach_nature",
|
| 393 |
+
"type": "enum",
|
| 394 |
+
"example": "CONFIDENTIALITY, INTEGRITY, AVAILABILITY"
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "approximate_records_affected",
|
| 398 |
+
"type": "integer",
|
| 399 |
+
"example": 5000
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"name": "dpa_notification_status",
|
| 403 |
+
"type": "enum",
|
| 404 |
+
"example": "NOTIFIED_WITHIN_72H, EXEMPT_NO_RISK"
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"name": "data_subject_notified",
|
| 408 |
+
"type": "boolean",
|
| 409 |
+
"example": true
|
| 410 |
+
}
|
| 411 |
+
]
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"id": "object-toms",
|
| 415 |
+
"name": "Technical & Organisational Measures (TOMs)",
|
| 416 |
+
"category": "SecurityAndRiskEntity",
|
| 417 |
+
"statutory_basis": "Art. 32 GDPR",
|
| 418 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_32/oj",
|
| 419 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#TechnicalOrganisationalMeasure",
|
| 420 |
+
"iso_27701_mapping": "ISO/IEC 27001 Annex A controls (A.9, A.10, A.12, A.13)",
|
| 421 |
+
"sensitivity_level": "SECURITY_CONTROL",
|
| 422 |
+
"definition": "State-of-the-art security safeguards implemented to ensure a level of security appropriate to the risk, including pseudonymisation, encryption, resilience, recovery, and regular testing.",
|
| 423 |
+
"attributes": [
|
| 424 |
+
{
|
| 425 |
+
"name": "technical_controls",
|
| 426 |
+
"type": "array<string>",
|
| 427 |
+
"example": [
|
| 428 |
+
"AES-256 encryption",
|
| 429 |
+
"TLS 1.3",
|
| 430 |
+
"MFA"
|
| 431 |
+
]
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"name": "organisational_controls",
|
| 435 |
+
"type": "array<string>",
|
| 436 |
+
"example": [
|
| 437 |
+
"clean desk policy",
|
| 438 |
+
"security training",
|
| 439 |
+
"NDAs"
|
| 440 |
+
]
|
| 441 |
+
}
|
| 442 |
+
]
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"id": "object-fine",
|
| 446 |
+
"name": "Administrative Fine",
|
| 447 |
+
"category": "RegulatorySanction",
|
| 448 |
+
"statutory_basis": "Art. 83 GDPR",
|
| 449 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_83/oj",
|
| 450 |
+
"w3c_dpv_iri": "https://w3id.org/dpv#Penalty",
|
| 451 |
+
"iso_27701_mapping": "N/A (Statutory Penalty)",
|
| 452 |
+
"sensitivity_level": "FINANCIAL_PENALTY",
|
| 453 |
+
"definition": "Direct monetary sanctions imposed by Supervisory Authorities intended to be effective, proportionate and dissuasive.",
|
| 454 |
+
"attributes": [
|
| 455 |
+
{
|
| 456 |
+
"name": "penalty_tier",
|
| 457 |
+
"type": "enum",
|
| 458 |
+
"example": "TIER_1_UP_TO_10M_OR_2_PERCENT, TIER_2_UP_TO_20M_OR_4_PERCENT"
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"name": "mitigating_factors",
|
| 462 |
+
"type": "array<string>",
|
| 463 |
+
"example": [
|
| 464 |
+
"prompt notification",
|
| 465 |
+
"cooperation with DPA",
|
| 466 |
+
"TOMs implemented"
|
| 467 |
+
]
|
| 468 |
+
}
|
| 469 |
+
]
|
| 470 |
+
}
|
| 471 |
+
],
|
| 472 |
+
"predicates_ontology": [
|
| 473 |
+
{
|
| 474 |
+
"id": "pred-processes-data",
|
| 475 |
+
"name": "PROCESSES_DATA",
|
| 476 |
+
"cypher_symbol": "[:PROCESSES_DATA]",
|
| 477 |
+
"domain": [
|
| 478 |
+
"Controller",
|
| 479 |
+
"Processor"
|
| 480 |
+
],
|
| 481 |
+
"range": [
|
| 482 |
+
"PersonalData",
|
| 483 |
+
"SpecialCategoryData"
|
| 484 |
+
],
|
| 485 |
+
"deontic_modality": "PERMISSION_OR_OBLIGATION",
|
| 486 |
+
"inverse_predicate": "IS_PROCESSED_BY",
|
| 487 |
+
"legal_basis": "Art. 4(2), Art. 5, Art. 6 GDPR",
|
| 488 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_6/oj",
|
| 489 |
+
"operational_meaning": "Performing any collection, storage, adaptation, retrieval, consultation, use, transmission, erasure, or destruction of personal data under statutory lawful conditions.",
|
| 490 |
+
"preconditions": "Requires at least one legal basis under Art. 6(1) or exception under Art. 9(2).",
|
| 491 |
+
"temporal_constraint": "Limited by purpose and storage limitation principle (Art. 5(1)(e))."
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"id": "pred-notifies-breach-to",
|
| 495 |
+
"name": "NOTIFIES_BREACH_TO",
|
| 496 |
+
"cypher_symbol": "[:NOTIFIES_BREACH_TO]",
|
| 497 |
+
"domain": [
|
| 498 |
+
"Controller"
|
| 499 |
+
],
|
| 500 |
+
"range": [
|
| 501 |
+
"SupervisoryAuthority"
|
| 502 |
+
],
|
| 503 |
+
"deontic_modality": "OBLIGATION",
|
| 504 |
+
"inverse_predicate": "RECEIVES_BREACH_NOTIFICATION_FROM",
|
| 505 |
+
"legal_basis": "Art. 33(1) GDPR",
|
| 506 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_33/oj",
|
| 507 |
+
"operational_meaning": "Formally transmitting statutory breach dossier (nature, categories affected, DPO contacts, likely consequences, measures taken) to competent supervisory authority.",
|
| 508 |
+
"preconditions": "Triggered when controller becomes aware of personal data breach likely to result in risk to individuals.",
|
| 509 |
+
"exceptions": "Exempt if the personal data breach is unlikely to result in a risk to rights and freedoms of natural persons (Art. 33(1)).",
|
| 510 |
+
"temporal_constraint": "Without undue delay and, where feasible, not later than 72 hours after having become aware."
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"id": "pred-communicates-breach-to",
|
| 514 |
+
"name": "COMMUNICATES_BREACH_TO",
|
| 515 |
+
"cypher_symbol": "[:COMMUNICATES_BREACH_TO]",
|
| 516 |
+
"domain": [
|
| 517 |
+
"Controller"
|
| 518 |
+
],
|
| 519 |
+
"range": [
|
| 520 |
+
"DataSubject"
|
| 521 |
+
],
|
| 522 |
+
"deontic_modality": "OBLIGATION",
|
| 523 |
+
"inverse_predicate": "RECEIVES_BREACH_COMMUNICATION_FROM",
|
| 524 |
+
"legal_basis": "Art. 34(1) GDPR",
|
| 525 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_34/oj",
|
| 526 |
+
"operational_meaning": "Informing affected natural persons directly in clear and plain language describing the nature of the breach, recommendations, and contact points.",
|
| 527 |
+
"preconditions": "Triggered when breach is likely to result in a HIGH risk to rights and freedoms.",
|
| 528 |
+
"exceptions": "Exempt under Art. 34(3) if: (a) data was encrypted/unintelligible, (b) subsequent measures ensured high risk is no longer likely to materialise, or (c) disproportionate effort (public communication allowed instead).",
|
| 529 |
+
"temporal_constraint": "Without undue delay."
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"id": "pred-erases-data-upon-request",
|
| 533 |
+
"name": "ERASES_DATA_UPON_REQUEST",
|
| 534 |
+
"cypher_symbol": "[:ERASES_DATA_UPON_REQUEST]",
|
| 535 |
+
"domain": [
|
| 536 |
+
"Controller"
|
| 537 |
+
],
|
| 538 |
+
"range": [
|
| 539 |
+
"PersonalData"
|
| 540 |
+
],
|
| 541 |
+
"deontic_modality": "OBLIGATION",
|
| 542 |
+
"inverse_predicate": "IS_ERASED_BY",
|
| 543 |
+
"legal_basis": "Art. 17(1) GDPR",
|
| 544 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_17/oj",
|
| 545 |
+
"operational_meaning": "Rendering personal data permanently inaccessible or destroyed across live and backup storage upon data subject request.",
|
| 546 |
+
"preconditions": "Triggered under grounds in Art. 17(1) (data no longer necessary, consent withdrawn, unlawful processing, legal obligation).",
|
| 547 |
+
"exceptions": "Exempt under Art. 17(3) for freedom of expression, compliance with EU/national law, public health, archiving in public interest/scientific research, or legal claims.",
|
| 548 |
+
"temporal_constraint": "Without undue delay and within one month (Art. 12(3))."
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"id": "pred-conducts-dpia-on",
|
| 552 |
+
"name": "CONDUCTS_DPIA_ON",
|
| 553 |
+
"cypher_symbol": "[:CONDUCTS_DPIA_ON]",
|
| 554 |
+
"domain": [
|
| 555 |
+
"Controller"
|
| 556 |
+
],
|
| 557 |
+
"range": [
|
| 558 |
+
"ProcessingOperation"
|
| 559 |
+
],
|
| 560 |
+
"deontic_modality": "OBLIGATION",
|
| 561 |
+
"inverse_predicate": "IS_EVALUATED_BY_DPIA",
|
| 562 |
+
"legal_basis": "Art. 35(1), Art. 35(3) GDPR",
|
| 563 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_35/oj",
|
| 564 |
+
"operational_meaning": "Carrying out a formal assessment of the impact of the envisaged processing operations on personal data protection prior to processing.",
|
| 565 |
+
"preconditions": "Mandatory when processing uses new technologies resulting in high risk, or matches Art. 35(3) triggers (profiling, large scale sensitive data, public monitoring).",
|
| 566 |
+
"exceptions": "Exempt if processing has a legal basis under EU/national law where a DPIA was already conducted during statutory adoption (Art. 35(10)).",
|
| 567 |
+
"temporal_constraint": "Prior to the processing."
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"id": "pred-designates-dpo",
|
| 571 |
+
"name": "DESIGNATES_DPO",
|
| 572 |
+
"cypher_symbol": "[:DESIGNATES_DPO]",
|
| 573 |
+
"domain": [
|
| 574 |
+
"Controller",
|
| 575 |
+
"Processor"
|
| 576 |
+
],
|
| 577 |
+
"range": [
|
| 578 |
+
"DataProtectionOfficer"
|
| 579 |
+
],
|
| 580 |
+
"deontic_modality": "OBLIGATION",
|
| 581 |
+
"inverse_predicate": "IS_DESIGNATED_BY",
|
| 582 |
+
"legal_basis": "Art. 37(1) GDPR",
|
| 583 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_37/oj",
|
| 584 |
+
"operational_meaning": "Appointing an independent expert on data protection law and practices to monitor compliance and advise executive leadership.",
|
| 585 |
+
"preconditions": "Mandatory if: (a) public authority, (b) core activities require regular/systematic monitoring on a large scale, or (c) core activities process large-scale sensitive data (Art. 9/10).",
|
| 586 |
+
"exceptions": "Courts acting in their judicial capacity (Art. 37(1)(a)).",
|
| 587 |
+
"temporal_constraint": "Prior to commencement of covered operations."
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"id": "pred-authorizes-transfer-via",
|
| 591 |
+
"name": "AUTHORIZES_TRANSFER_VIA",
|
| 592 |
+
"cypher_symbol": "[:AUTHORIZES_TRANSFER_VIA]",
|
| 593 |
+
"domain": [
|
| 594 |
+
"Controller",
|
| 595 |
+
"Processor"
|
| 596 |
+
],
|
| 597 |
+
"range": [
|
| 598 |
+
"CrossBorderTransferMechanism"
|
| 599 |
+
],
|
| 600 |
+
"deontic_modality": "OBLIGATION_OR_PERMISSION",
|
| 601 |
+
"inverse_predicate": "AUTHORIZES_TRANSFER_OF",
|
| 602 |
+
"legal_basis": "Chapter V (Art. 44-49) GDPR",
|
| 603 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_44/oj",
|
| 604 |
+
"operational_meaning": "Legitimizing transmission of personal data outside the EEA to third countries or international organizations.",
|
| 605 |
+
"preconditions": "Requires Commission Adequacy Decision (Art. 45), Appropriate Safeguards e.g. SCCs/BCRs (Art. 46-47), or Specific Derogation (Art. 49).",
|
| 606 |
+
"exceptions": "Transfers without safeguards prohibited under Art. 44.",
|
| 607 |
+
"temporal_constraint": "Prior to cross-border transmission."
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"id": "pred-imposes-fine-on",
|
| 611 |
+
"name": "IMPOSES_FINE_ON",
|
| 612 |
+
"cypher_symbol": "[:IMPOSES_FINE_ON]",
|
| 613 |
+
"domain": [
|
| 614 |
+
"SupervisoryAuthority"
|
| 615 |
+
],
|
| 616 |
+
"range": [
|
| 617 |
+
"Controller",
|
| 618 |
+
"Processor"
|
| 619 |
+
],
|
| 620 |
+
"deontic_modality": "POWER",
|
| 621 |
+
"inverse_predicate": "IS_FINED_BY",
|
| 622 |
+
"legal_basis": "Art. 58(2)(i), Art. 83 GDPR",
|
| 623 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_83/oj",
|
| 624 |
+
"operational_meaning": "Exercising statutory administrative enforcement power to levy financial penalty up to statutory ceiling based on infringement severity.",
|
| 625 |
+
"preconditions": "Demonstrated statutory non-compliance with covered GDPR provisions.",
|
| 626 |
+
"exceptions": "Discretionary assessment considering gravity, duration, intentionality, and mitigation.",
|
| 627 |
+
"temporal_constraint": "Subject to national administrative procedure statutes of limitations."
|
| 628 |
+
}
|
| 629 |
+
],
|
| 630 |
+
"subject_predicate_object_matrix": [
|
| 631 |
+
{
|
| 632 |
+
"rule_id": "SPO-001",
|
| 633 |
+
"subject": "Controller",
|
| 634 |
+
"predicate": "NOTIFIES_BREACH_TO",
|
| 635 |
+
"object": "SupervisoryAuthority",
|
| 636 |
+
"valid": true,
|
| 637 |
+
"deontic_status": "MANDATORY_OBLIGATION",
|
| 638 |
+
"timeline": "within 72 hours",
|
| 639 |
+
"legal_anchor": "Art. 33(1)"
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"rule_id": "SPO-002",
|
| 643 |
+
"subject": "Processor",
|
| 644 |
+
"predicate": "NOTIFIES_BREACH_TO",
|
| 645 |
+
"object": "SupervisoryAuthority",
|
| 646 |
+
"valid": false,
|
| 647 |
+
"deontic_status": "INVALID_LEGAL_FLOW",
|
| 648 |
+
"violation_reason": "Processors must notify the CONTROLLER without undue delay (Art. 33(2)), not the Supervisory Authority directly, unless delegated in writing.",
|
| 649 |
+
"legal_anchor": "Art. 33(2)"
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"rule_id": "SPO-003",
|
| 653 |
+
"subject": "Controller",
|
| 654 |
+
"predicate": "COMMUNICATES_BREACH_TO",
|
| 655 |
+
"object": "DataSubject",
|
| 656 |
+
"valid": true,
|
| 657 |
+
"deontic_status": "CONDITIONAL_OBLIGATION",
|
| 658 |
+
"condition": "Likely high risk to rights and freedoms",
|
| 659 |
+
"timeline": "without undue delay",
|
| 660 |
+
"legal_anchor": "Art. 34(1)"
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"rule_id": "SPO-004",
|
| 664 |
+
"subject": "DataSubject",
|
| 665 |
+
"predicate": "EXERCISES_RIGHT_AGAINST",
|
| 666 |
+
"object": "Controller",
|
| 667 |
+
"valid": true,
|
| 668 |
+
"deontic_status": "CLAIM_RIGHT",
|
| 669 |
+
"timeline": "controller response within one month",
|
| 670 |
+
"legal_anchor": "Arts. 12-22"
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"rule_id": "SPO-005",
|
| 674 |
+
"subject": "Controller",
|
| 675 |
+
"predicate": "CONDUCTS_DPIA_ON",
|
| 676 |
+
"object": "ProcessingOperation",
|
| 677 |
+
"valid": true,
|
| 678 |
+
"deontic_status": "CONDITIONAL_OBLIGATION",
|
| 679 |
+
"condition": "High risk processing or Art. 35(3) triggers",
|
| 680 |
+
"timeline": "prior to processing",
|
| 681 |
+
"legal_anchor": "Art. 35(1)"
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"rule_id": "SPO-006",
|
| 685 |
+
"subject": "SupervisoryAuthority",
|
| 686 |
+
"predicate": "IMPOSES_FINE_ON",
|
| 687 |
+
"object": "Controller",
|
| 688 |
+
"valid": true,
|
| 689 |
+
"deontic_status": "STATUTORY_POWER",
|
| 690 |
+
"limit": "Tier 1 (€10M/2%) or Tier 2 (€20M/4%)",
|
| 691 |
+
"legal_anchor": "Art. 83"
|
| 692 |
+
}
|
| 693 |
+
]
|
| 694 |
+
}
|
rules/cross_regulatory_frameworks.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Cross-Regulatory Harmonization Framework: GDPR, EU AI Act & NIS2 Directive",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"regulations": {
|
| 5 |
+
"GDPR": {
|
| 6 |
+
"official_title": "Regulation (EU) 2016/679 (General Data Protection Regulation)",
|
| 7 |
+
"celex": "32016R0679",
|
| 8 |
+
"scope": "Protection of natural persons with regard to personal data processing."
|
| 9 |
+
},
|
| 10 |
+
"EU_AI_ACT": {
|
| 11 |
+
"official_title": "Regulation (EU) 2024/1689 (Artificial Intelligence Act)",
|
| 12 |
+
"celex": "32024R1689",
|
| 13 |
+
"scope": "Harmonized rules on the placing on the market, putting into service, and use of artificial intelligence systems in the Union."
|
| 14 |
+
},
|
| 15 |
+
"NIS2": {
|
| 16 |
+
"official_title": "Directive (EU) 2022/2555 (Network and Information Systems Directive 2)",
|
| 17 |
+
"celex": "32022L2555",
|
| 18 |
+
"scope": "Measures for a high common level of cybersecurity across essential and important entities across the Union."
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"cross_regulatory_rules": [
|
| 22 |
+
{
|
| 23 |
+
"id": "CROSS-001",
|
| 24 |
+
"title": "Prohibited Biometric Categorization & Sensitive Attributes",
|
| 25 |
+
"domain": "Artificial Intelligence & Special Category Data",
|
| 26 |
+
"primary_articles": {
|
| 27 |
+
"gdpr": "Art. 9(1), Art. 4(14)",
|
| 28 |
+
"ai_act": "Art. 5(1)(c), Art. 5(1)(d)",
|
| 29 |
+
"nis2": "N/A"
|
| 30 |
+
},
|
| 31 |
+
"severity": "CRITICAL_PROHIBITION",
|
| 32 |
+
"deontic_rule": "PROHIBITION",
|
| 33 |
+
"description": "AI systems that deduce or infer sensitive personal attributes (race, political opinions, trade union membership, religious beliefs, sexual orientation) from biometric data are strictly prohibited under AI Act Art. 5(1)(c) and constitute unlawful processing under GDPR Art. 9(1).",
|
| 34 |
+
"exceptions": "Lawfully acquired biometric data in criminal law enforcement subject to judicial warrant."
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "CROSS-002",
|
| 38 |
+
"title": "Dual Incident Notification SLA (24h Early Warning + 72h DPA)",
|
| 39 |
+
"domain": "Cybersecurity & Breach Escalation",
|
| 40 |
+
"primary_articles": {
|
| 41 |
+
"gdpr": "Art. 33(1), Art. 34(1)",
|
| 42 |
+
"ai_act": "Art. 73 (Serious Incident Reporting)",
|
| 43 |
+
"nis2": "Art. 23(1), Art. 23(4)"
|
| 44 |
+
},
|
| 45 |
+
"severity": "CRITICAL_TIMELINE",
|
| 46 |
+
"deontic_rule": "OBLIGATION",
|
| 47 |
+
"description": "When a cybersecurity incident impacts both network continuity and personal data confidentiality, dual notifications are mandatory: (1) NIS2 Early Warning to CSIRT within 24 hours, (2) GDPR DPA notification within 72 hours, and (3) NIS2 Detailed Incident Notification within 72 hours.",
|
| 48 |
+
"statutory_deadlines": {
|
| 49 |
+
"nis2_early_warning_hours": 24,
|
| 50 |
+
"gdpr_dpa_notification_hours": 72,
|
| 51 |
+
"nis2_final_report_days": 30
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"id": "CROSS-003",
|
| 56 |
+
"title": "High-Risk AI Data Governance & Accuracy Mandate",
|
| 57 |
+
"domain": "Data Quality & Machine Learning Governance",
|
| 58 |
+
"primary_articles": {
|
| 59 |
+
"gdpr": "Art. 5(1)(d) (Accuracy), Art. 25 (Privacy by Design)",
|
| 60 |
+
"ai_act": "Art. 10 (Data and Data Governance)",
|
| 61 |
+
"nis2": "N/A"
|
| 62 |
+
},
|
| 63 |
+
"severity": "HIGH_GOVERNANCE",
|
| 64 |
+
"deontic_rule": "OBLIGATION",
|
| 65 |
+
"description": "Training, validation, and testing datasets for High-Risk AI systems must be relevant, representative, and to the best extent possible free of errors. Controllers must apply data minimization and privacy-preserving techniques (synthetic data, differential privacy) during model training.",
|
| 66 |
+
"mandatory_measures": [
|
| 67 |
+
"Statistical bias auditing",
|
| 68 |
+
"Documented data provenance & curation",
|
| 69 |
+
"Data minimization in training pipelines"
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"id": "CROSS-004",
|
| 74 |
+
"title": "Automated Profiling, Credit Scoring & Essential Services Access",
|
| 75 |
+
"domain": "Automated Decision-Making & Human Oversight",
|
| 76 |
+
"primary_articles": {
|
| 77 |
+
"gdpr": "Art. 22(1), Art. 35(3)(a)",
|
| 78 |
+
"ai_act": "Annex III(5)(b), Art. 14 (Human Oversight)",
|
| 79 |
+
"nis2": "N/A"
|
| 80 |
+
},
|
| 81 |
+
"severity": "CRITICAL_OVERSIGHT",
|
| 82 |
+
"deontic_rule": "OBLIGATION",
|
| 83 |
+
"description": "AI systems used to evaluate creditworthiness or risk in health/life insurance are classified as High-Risk AI (Annex III(5)(b)). Under GDPR Art. 22, individuals retain the right not to be subject to purely automated decisions; Article 14 AI Act mandates human oversight controls capable of overriding model outputs.",
|
| 84 |
+
"mandatory_measures": [
|
| 85 |
+
"Mandatory DPIA prior to deployment (GDPR Art. 35)",
|
| 86 |
+
"Human-in-the-loop override mechanism (AI Act Art. 14)",
|
| 87 |
+
"Meaningful transparency on logic involved (GDPR Art. 13(2)(f))"
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"id": "CROSS-005",
|
| 92 |
+
"title": "Cybersecurity Risk Management & Technical Security Measures",
|
| 93 |
+
"domain": "Technical & Organizational Measures (TOMs)",
|
| 94 |
+
"primary_articles": {
|
| 95 |
+
"gdpr": "Art. 32(1) (Security of Processing)",
|
| 96 |
+
"ai_act": "Art. 15 (Accuracy, Robustness & Cybersecurity)",
|
| 97 |
+
"nis2": "Art. 21 (Cybersecurity Risk-Management Measures)"
|
| 98 |
+
},
|
| 99 |
+
"severity": "BASELINE_SECURITY",
|
| 100 |
+
"deontic_rule": "OBLIGATION",
|
| 101 |
+
"description": "Essential entities under NIS2 and controllers under GDPR must implement state-of-the-art security: multi-factor authentication (MFA), end-to-end encryption, supply chain security assessments, and resilience against adversarial AI attacks (data poisoning, model evasion).",
|
| 102 |
+
"mandatory_measures": [
|
| 103 |
+
"MFA across all administrative access",
|
| 104 |
+
"Supply chain third-party vendor audits (NIS2 Art. 21(2)(d))",
|
| 105 |
+
"Adversarial robustness testing against model extraction"
|
| 106 |
+
]
|
| 107 |
+
}
|
| 108 |
+
]
|
| 109 |
+
}
|
rules/dpia_guidelines_wp248.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Article 35 DPIA Statutory Assessment Framework (EDPB Guidelines WP 248 rev.01)",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"celex": "32016R0679",
|
| 5 |
+
"legal_mandate": "Regulation (EU) 2016/679 Article 35(1) & Article 35(3)",
|
| 6 |
+
"high_risk_criteria": [
|
| 7 |
+
{
|
| 8 |
+
"id": "CRIT-01",
|
| 9 |
+
"name": "Evaluation or Scoring",
|
| 10 |
+
"description": "Profiling and predicting aspects concerning the data subject's performance at work, economic situation, health, personal preferences, or behavior.",
|
| 11 |
+
"legal_basis": "Art. 35(3)(a), Recital 71, Recital 91",
|
| 12 |
+
"example": "Credit scoring, behavioural advertising, employee productivity tracking."
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"id": "CRIT-02",
|
| 16 |
+
"name": "Automated Decision-Making with Legal / Significant Effect",
|
| 17 |
+
"description": "Processing that aims at taking decisions on data subjects producing legal effects or significantly affecting them.",
|
| 18 |
+
"legal_basis": "Art. 22(1), Art. 35(3)(a)",
|
| 19 |
+
"example": "Automated mortgage rejection, algorithmic CV screening without human review."
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "CRIT-03",
|
| 23 |
+
"name": "Systematic Monitoring",
|
| 24 |
+
"description": "Processing used to observe, monitor, or control data subjects, including data collected via public networks or public spaces.",
|
| 25 |
+
"legal_basis": "Art. 35(3)(c), Recital 91",
|
| 26 |
+
"example": "Public CCTV, vehicle telematics, employee keystroke monitoring, web session replay."
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"id": "CRIT-04",
|
| 30 |
+
"name": "Sensitive Data or Data of Highly Personal Nature",
|
| 31 |
+
"description": "Special categories of data (Art. 9), criminal convictions (Art. 10), electronic communications data, financial data, or location tracking.",
|
| 32 |
+
"legal_basis": "Art. 9(1), Art. 10, Art. 35(3)(b)",
|
| 33 |
+
"example": "Health records, biometric vectors, political opinions, union membership."
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"id": "CRIT-05",
|
| 37 |
+
"name": "Data Processed on a Large Scale",
|
| 38 |
+
"description": "High volume of data, broad geographical extent, large number of data subjects, or permanent duration.",
|
| 39 |
+
"legal_basis": "Art. 35(3)(b), Recital 91",
|
| 40 |
+
"example": "Nationwide customer loyalty card, telecom location data, national health portal."
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"id": "CRIT-06",
|
| 44 |
+
"name": "Matching or Combining Datasets",
|
| 45 |
+
"description": "Combining data originating from two or more operations performed for different purposes and/or by different controllers exceeding reasonable expectations.",
|
| 46 |
+
"legal_basis": "Recital 91",
|
| 47 |
+
"example": "Cross-referencing advertising tracking with offline government census data."
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"id": "CRIT-07",
|
| 51 |
+
"name": "Vulnerable Data Subjects",
|
| 52 |
+
"description": "Processing data concerning subjects who may not be able to easily consent or oppose processing due to an imbalance of power.",
|
| 53 |
+
"legal_basis": "Recital 75, Recital 91",
|
| 54 |
+
"example": "Children, patients, employees, elderly individuals, asylum seekers."
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"id": "CRIT-08",
|
| 58 |
+
"name": "Innovative Use or Applying New Technologies",
|
| 59 |
+
"description": "Use of novel technology or novel organizational solutions that may involve novel forms of data collection and risk.",
|
| 60 |
+
"legal_basis": "Art. 35(1), Recital 89, Recital 91",
|
| 61 |
+
"example": "Generative AI, facial recognition cameras, Internet of Things (IoT) sensors, neuro-tech."
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"id": "CRIT-09",
|
| 65 |
+
"name": "Cross-Border Transfers Outside the EU/EEA",
|
| 66 |
+
"description": "Transfers of personal data to a third country or international organization not subject to an adequacy decision.",
|
| 67 |
+
"legal_basis": "Chapter V (Art. 44-49)",
|
| 68 |
+
"example": "Syncing EU customer telemetry to US or non-EEA cloud clusters without verified SCCs."
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"id": "CRIT-10",
|
| 72 |
+
"name": "Processing Preventing Exercise of Rights or Service Use",
|
| 73 |
+
"description": "Processing where data subjects cannot use a service or enter into a contract due to algorithmic barriers.",
|
| 74 |
+
"legal_basis": "Recital 91",
|
| 75 |
+
"example": "Credit reference agency blacklist preventing creation of bank accounts."
|
| 76 |
+
}
|
| 77 |
+
],
|
| 78 |
+
"mitigating_toms": [
|
| 79 |
+
{
|
| 80 |
+
"id": "TOM-01",
|
| 81 |
+
"name": "State-of-the-Art AES-256 KMS Encryption & TLS 1.3",
|
| 82 |
+
"category": "TECHNICAL",
|
| 83 |
+
"risk_reduction_pct": 25,
|
| 84 |
+
"legal_basis": "Art. 32(1)(a)"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"id": "TOM-02",
|
| 88 |
+
"name": "Cryptographic Pseudonymization & Tokenization",
|
| 89 |
+
"category": "TECHNICAL",
|
| 90 |
+
"risk_reduction_pct": 25,
|
| 91 |
+
"legal_basis": "Art. 32(1)(a), Art. 25"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": "TOM-03",
|
| 95 |
+
"name": "Certified Human-in-the-Loop Override Mechanism",
|
| 96 |
+
"category": "ORGANIZATIONAL",
|
| 97 |
+
"risk_reduction_pct": 20,
|
| 98 |
+
"legal_basis": "Art. 22(3); AI Act Art. 14"
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"id": "TOM-04",
|
| 102 |
+
"name": "Differential Privacy & Training Data Minimization",
|
| 103 |
+
"category": "TECHNICAL",
|
| 104 |
+
"risk_reduction_pct": 20,
|
| 105 |
+
"legal_basis": "Art. 5(1)(c); AI Act Art. 10"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"id": "TOM-05",
|
| 109 |
+
"name": "Strict Role-Based Access Control (RBAC) & Hardware MFA",
|
| 110 |
+
"category": "ORGANIZATIONAL",
|
| 111 |
+
"risk_reduction_pct": 15,
|
| 112 |
+
"legal_basis": "Art. 32(1)(b); NIS2 Art. 21"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"id": "TOM-06",
|
| 116 |
+
"name": "Automated Hard Expiration TTL Purge",
|
| 117 |
+
"category": "TECHNICAL",
|
| 118 |
+
"risk_reduction_pct": 15,
|
| 119 |
+
"legal_basis": "Art. 5(1)(e)"
|
| 120 |
+
}
|
| 121 |
+
],
|
| 122 |
+
"sample_processing_operations": {
|
| 123 |
+
"op-ai-recruitment": {
|
| 124 |
+
"title": "Autonomous AI Recruitment & Candidate Evaluation Engine",
|
| 125 |
+
"description": "Algorithmic screening of applicant video interviews, vocal inflection, and CV history to generate automated suitability scores and pre-screen rejections.",
|
| 126 |
+
"active_criteria": ["CRIT-01", "CRIT-02", "CRIT-04", "CRIT-07", "CRIT-08"],
|
| 127 |
+
"inherent_likelihood": 4,
|
| 128 |
+
"inherent_severity": 4,
|
| 129 |
+
"recommended_toms": ["TOM-03", "TOM-02", "TOM-04"]
|
| 130 |
+
},
|
| 131 |
+
"op-smart-cctv": {
|
| 132 |
+
"title": "Commercial Center CCTV Facial Recognition & Demographic Heatmap",
|
| 133 |
+
"description": "Continuous real-time video surveillance in retail malls analyzing shopper paths, age, and emotional sentiment to optimize store layouts.",
|
| 134 |
+
"active_criteria": ["CRIT-03", "CRIT-04", "CRIT-05", "CRIT-07", "CRIT-08"],
|
| 135 |
+
"inherent_likelihood": 5,
|
| 136 |
+
"inherent_severity": 5,
|
| 137 |
+
"recommended_toms": ["TOM-01", "TOM-02", "TOM-06"]
|
| 138 |
+
},
|
| 139 |
+
"op-internal-payroll": {
|
| 140 |
+
"title": "Internal Employee Monthly Salary & Tax Remittance",
|
| 141 |
+
"description": "Processing standard employee bank details and tax codes solely for monthly salary payout and mandatory social security filing.",
|
| 142 |
+
"active_criteria": ["CRIT-07"],
|
| 143 |
+
"inherent_likelihood": 1,
|
| 144 |
+
"inherent_severity": 2,
|
| 145 |
+
"recommended_toms": ["TOM-01", "TOM-05"]
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
}
|
rules/dsar_rules.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Data Subject Rights & DSAR SLA Statutory Framework (GDPR Chapter III)",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"celex": "32016R0679",
|
| 5 |
+
"statutory_slas": {
|
| 6 |
+
"standard_deadline_days": 30,
|
| 7 |
+
"max_extension_months": 2,
|
| 8 |
+
"legal_basis": "Art. 12(3)"
|
| 9 |
+
},
|
| 10 |
+
"rights_catalog": {
|
| 11 |
+
"RIGHT_ACCESS": {
|
| 12 |
+
"article": "Art. 15",
|
| 13 |
+
"title": "Right of Access",
|
| 14 |
+
"description": "Right to obtain confirmation as to whether personal data is processed, categories, purposes, recipients, retention period, and source."
|
| 15 |
+
},
|
| 16 |
+
"RIGHT_RECTIFICATION": {
|
| 17 |
+
"article": "Art. 16",
|
| 18 |
+
"title": "Right to Rectification",
|
| 19 |
+
"description": "Right to have inaccurate personal data rectified without undue delay."
|
| 20 |
+
},
|
| 21 |
+
"RIGHT_ERASURE": {
|
| 22 |
+
"article": "Art. 17",
|
| 23 |
+
"title": "Right to Erasure ('Right to be Forgotten')",
|
| 24 |
+
"description": "Right to obtain erasure of personal data where data is no longer necessary, consent is withdrawn, or processing is unlawful."
|
| 25 |
+
},
|
| 26 |
+
"RIGHT_RESTRICTION": {
|
| 27 |
+
"article": "Art. 18",
|
| 28 |
+
"title": "Right to Restriction of Processing",
|
| 29 |
+
"description": "Right to obtain restriction of processing where accuracy is contested or processing is unlawful."
|
| 30 |
+
},
|
| 31 |
+
"RIGHT_PORTABILITY": {
|
| 32 |
+
"article": "Art. 20",
|
| 33 |
+
"title": "Right to Data Portability",
|
| 34 |
+
"description": "Right to receive personal data in a structured, commonly used and machine-readable format and transmit to another controller."
|
| 35 |
+
},
|
| 36 |
+
"RIGHT_OBJECT": {
|
| 37 |
+
"article": "Art. 21",
|
| 38 |
+
"title": "Right to Object",
|
| 39 |
+
"description": "Right to object on grounds relating to particular situation, or absolute right to object to direct marketing processing."
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"statutory_exemptions": [
|
| 43 |
+
{
|
| 44 |
+
"id": "EXEMPT-17-3-B",
|
| 45 |
+
"name": "Statutory Legal Obligation / Public Task Retention",
|
| 46 |
+
"article": "Art. 17(3)(b)",
|
| 47 |
+
"applies_to": ["RIGHT_ERASURE"],
|
| 48 |
+
"description": "Erasure does not apply to the extent that processing is necessary for compliance with a legal obligation (e.g. tax laws, AML/KYC 5-year retention, corporate accounting)."
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"id": "EXEMPT-17-3-E",
|
| 52 |
+
"name": "Establishment, Exercise or Defence of Legal Claims",
|
| 53 |
+
"article": "Art. 17(3)(e)",
|
| 54 |
+
"applies_to": ["RIGHT_ERASURE", "RIGHT_RESTRICTION"],
|
| 55 |
+
"description": "Erasure does not apply where data retention is strictly necessary for pending litigation, arbitration, or defence of statutory legal claims."
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "EXEMPT-17-3-A",
|
| 59 |
+
"name": "Freedom of Expression and Information",
|
| 60 |
+
"article": "Art. 17(3)(a)",
|
| 61 |
+
"applies_to": ["RIGHT_ERASURE"],
|
| 62 |
+
"description": "Processing necessary for exercising the right of freedom of expression and information (journalistic / public interest)."
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"id": "EXEMPT-17-3-C",
|
| 66 |
+
"name": "Public Interest in Public Health",
|
| 67 |
+
"article": "Art. 17(3)(c)",
|
| 68 |
+
"applies_to": ["RIGHT_ERASURE"],
|
| 69 |
+
"description": "Processing necessary for public health reasons pursuant to Art. 9(2)(h) and (i)."
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"id": "EXEMPT-12-5",
|
| 73 |
+
"name": "Manifestly Unfounded or Excessive Requests",
|
| 74 |
+
"article": "Art. 12(5)",
|
| 75 |
+
"applies_to": ["RIGHT_ACCESS", "RIGHT_RECTIFICATION", "RIGHT_ERASURE", "RIGHT_PORTABILITY"],
|
| 76 |
+
"description": "Where requests from a data subject are manifestly unfounded or excessive, in particular because of their repetitive character, controller may refuse to act."
|
| 77 |
+
}
|
| 78 |
+
],
|
| 79 |
+
"sample_tickets": [
|
| 80 |
+
{
|
| 81 |
+
"id": "DSAR-2026-001",
|
| 82 |
+
"data_subject_name": "Dr. Aris Thorne",
|
| 83 |
+
"email": "a.thorne@oxford-research.ac.uk",
|
| 84 |
+
"right_type": "RIGHT_ACCESS",
|
| 85 |
+
"received_days_ago": 5,
|
| 86 |
+
"status": "IN_PROGRESS",
|
| 87 |
+
"details": "Requesting full copy of telemetry, activity logs, and automated scoring models applied to account.",
|
| 88 |
+
"applicable_exemption": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"id": "DSAR-2026-002",
|
| 92 |
+
"data_subject_name": "Marie Curie",
|
| 93 |
+
"email": "marie.curie@radium-institute.fr",
|
| 94 |
+
"right_type": "RIGHT_ERASURE",
|
| 95 |
+
"received_days_ago": 26,
|
| 96 |
+
"status": "EXEMPTION_REVIEW",
|
| 97 |
+
"details": "Demanding immediate erasure of customer transaction billing records and payment logs.",
|
| 98 |
+
"applicable_exemption": "EXEMPT-17-3-B"
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"id": "DSAR-2026-003",
|
| 102 |
+
"data_subject_name": "Hans Gruber",
|
| 103 |
+
"email": "hans.gruber@nakatomi-corp.de",
|
| 104 |
+
"right_type": "RIGHT_ERASURE",
|
| 105 |
+
"received_days_ago": 36,
|
| 106 |
+
"status": "STATUTORY_BREACH",
|
| 107 |
+
"details": "Requested complete account deletion across all microservices; request was ignored in customer support queue.",
|
| 108 |
+
"applicable_exemption": null
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"id": "DSAR-2026-004",
|
| 112 |
+
"data_subject_name": "Elena Rostova",
|
| 113 |
+
"email": "elena.rostova@fintech-berlin.de",
|
| 114 |
+
"right_type": "RIGHT_PORTABILITY",
|
| 115 |
+
"received_days_ago": 12,
|
| 116 |
+
"status": "IN_PROGRESS",
|
| 117 |
+
"details": "Requesting machine-readable JSON export of all personal transaction histories and profile settings.",
|
| 118 |
+
"applicable_exemption": null
|
| 119 |
+
}
|
| 120 |
+
]
|
| 121 |
+
}
|
rules/edpb_fine_guidelines.json
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "EDPB Guidelines 04/2022 on the Calculation of Administrative Fines under Regulation (EU) 2016/679",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"legal_basis": "Article 83 GDPR",
|
| 5 |
+
"statutory_tiers": {
|
| 6 |
+
"TIER_1": {
|
| 7 |
+
"article": "Art. 83(4)",
|
| 8 |
+
"fixed_max_eur": 10000000,
|
| 9 |
+
"turnover_percentage_max": 0.02,
|
| 10 |
+
"description": "Infringements of obligations of the controller and processor, certification bodies, and monitoring bodies.",
|
| 11 |
+
"covered_articles": [
|
| 12 |
+
"Art. 8", "Art. 11", "Art. 25", "Art. 26", "Art. 27", "Art. 28", "Art. 29",
|
| 13 |
+
"Art. 30", "Art. 31", "Art. 32", "Art. 33", "Art. 34", "Art. 35", "Art. 36",
|
| 14 |
+
"Art. 37", "Art. 38", "Art. 39", "Art. 41(4)", "Art. 42", "Art. 43"
|
| 15 |
+
]
|
| 16 |
+
},
|
| 17 |
+
"TIER_2": {
|
| 18 |
+
"article": "Art. 83(5)",
|
| 19 |
+
"fixed_max_eur": 20000000,
|
| 20 |
+
"turnover_percentage_max": 0.04,
|
| 21 |
+
"description": "Infringements of basic principles for processing, data subjects' rights, cross-border transfers, and DPA orders.",
|
| 22 |
+
"covered_articles": [
|
| 23 |
+
"Art. 5", "Art. 6", "Art. 7", "Art. 9", "Art. 12", "Art. 13", "Art. 14",
|
| 24 |
+
"Art. 15", "Art. 16", "Art. 17", "Art. 18", "Art. 19", "Art. 20", "Art. 21",
|
| 25 |
+
"Art. 22", "Art. 44", "Art. 45", "Art. 46", "Art. 47", "Art. 48", "Art. 49",
|
| 26 |
+
"Art. 58(1)", "Art. 58(2)"
|
| 27 |
+
]
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"turnover_brackets": [
|
| 31 |
+
{
|
| 32 |
+
"bracket_id": "MICRO",
|
| 33 |
+
"name": "Micro Undertaking",
|
| 34 |
+
"turnover_max_eur": 2000000,
|
| 35 |
+
"tier1_base_range": [2000, 40000],
|
| 36 |
+
"tier2_base_range": [4000, 80000]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"bracket_id": "SMALL",
|
| 40 |
+
"name": "Small Undertaking",
|
| 41 |
+
"turnover_min_eur": 2000000,
|
| 42 |
+
"turnover_max_eur": 10000000,
|
| 43 |
+
"tier1_base_range": [40000, 200000],
|
| 44 |
+
"tier2_base_range": [80000, 400000]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"bracket_id": "MEDIUM",
|
| 48 |
+
"name": "Medium Undertaking",
|
| 49 |
+
"turnover_min_eur": 10000000,
|
| 50 |
+
"turnover_max_eur": 50000000,
|
| 51 |
+
"tier1_base_range": [200000, 1000000],
|
| 52 |
+
"tier2_base_range": [400000, 2000000]
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"bracket_id": "LARGE",
|
| 56 |
+
"name": "Large Enterprise",
|
| 57 |
+
"turnover_min_eur": 50000000,
|
| 58 |
+
"turnover_max_eur": 250000000,
|
| 59 |
+
"tier1_base_range": [1000000, 5000000],
|
| 60 |
+
"tier2_base_range": [2000000, 10000000]
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"bracket_id": "VERY_LARGE",
|
| 64 |
+
"name": "Very Large Enterprise",
|
| 65 |
+
"turnover_min_eur": 250000000,
|
| 66 |
+
"turnover_max_eur": 500000000,
|
| 67 |
+
"tier1_base_range": [5000000, 8000000],
|
| 68 |
+
"tier2_base_range": [10000000, 16000000]
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"bracket_id": "GLOBAL",
|
| 72 |
+
"name": "Global Undertaking",
|
| 73 |
+
"turnover_min_eur": 500000000,
|
| 74 |
+
"tier1_base_range": [8000000, 10000000],
|
| 75 |
+
"tier2_base_range": [16000000, 20000000]
|
| 76 |
+
}
|
| 77 |
+
],
|
| 78 |
+
"seriousness_coefficients": {
|
| 79 |
+
"LOW": {
|
| 80 |
+
"name": "Low Seriousness",
|
| 81 |
+
"percentage_range": [0.0, 0.10],
|
| 82 |
+
"criteria": "Isolated incident, low volume of subjects, ordinary data, negligible impact, rapid containment."
|
| 83 |
+
},
|
| 84 |
+
"MEDIUM": {
|
| 85 |
+
"name": "Medium Seriousness",
|
| 86 |
+
"percentage_range": [0.10, 0.20],
|
| 87 |
+
"criteria": "Systemic deficiency, substantial number of individuals, moderate duration, financial or non-material distress."
|
| 88 |
+
},
|
| 89 |
+
"HIGH": {
|
| 90 |
+
"name": "High Seriousness",
|
| 91 |
+
"percentage_range": [0.20, 1.00],
|
| 92 |
+
"criteria": "Special category / health data, large-scale vulnerable populations, prolonged duration, irreversible harm, structural disregard."
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"aggravating_factors": [
|
| 96 |
+
{
|
| 97 |
+
"id": "INTENTIONAL",
|
| 98 |
+
"label": "Intentional or Willful Infringement",
|
| 99 |
+
"article": "Art. 83(2)(b)",
|
| 100 |
+
"weight": 0.25,
|
| 101 |
+
"description": "Infringement committed deliberately with knowledge of unlawfulness."
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"id": "RECIDIVISM",
|
| 105 |
+
"label": "Previous Relevant Infringements",
|
| 106 |
+
"article": "Art. 83(2)(e)",
|
| 107 |
+
"weight": 0.20,
|
| 108 |
+
"description": "Past reprimands, warnings, or fines issued by supervisory authorities."
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"id": "FAILURE_TO_MITIGATE",
|
| 112 |
+
"label": "Failure to Mitigate Damage",
|
| 113 |
+
"article": "Art. 83(2)(c)",
|
| 114 |
+
"weight": 0.15,
|
| 115 |
+
"description": "Inadequate response or prolonged inaction after discovering the breach."
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"id": "LACK_OF_COOPERATION",
|
| 119 |
+
"label": "Refusal or Obstruction of DPA Investigation",
|
| 120 |
+
"article": "Art. 83(2)(f)",
|
| 121 |
+
"weight": 0.20,
|
| 122 |
+
"description": "Concealing facts or failing to provide information requested by the authority."
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"id": "FINANCIAL_GAIN",
|
| 126 |
+
"label": "Financial Benefit Gained",
|
| 127 |
+
"article": "Art. 83(2)(k)",
|
| 128 |
+
"weight": 0.15,
|
| 129 |
+
"description": "Economic advantage or cost avoidance directly resulting from non-compliance."
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"mitigating_factors": [
|
| 133 |
+
{
|
| 134 |
+
"id": "PROMPT_SELF_REPORT",
|
| 135 |
+
"label": "Spontaneous Self-Notification to DPA",
|
| 136 |
+
"article": "Art. 83(2)(h)",
|
| 137 |
+
"weight": -0.20,
|
| 138 |
+
"description": "Proactive notification to the DPA before any third-party complaint or detection."
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"id": "EXEMPLARY_COOPERATION",
|
| 142 |
+
"label": "High Level of Cooperation with DPA",
|
| 143 |
+
"article": "Art. 83(2)(f)",
|
| 144 |
+
"weight": -0.15,
|
| 145 |
+
"description": "Full transparency, comprehensive logs, and immediate execution of remedial steps."
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"id": "ROBUST_PRE_TOMS",
|
| 149 |
+
"label": "Robust Pre-existing Security Measures (TOMs)",
|
| 150 |
+
"article": "Art. 83(2)(d)",
|
| 151 |
+
"weight": -0.15,
|
| 152 |
+
"description": "Industry-standard encryption, pseudonymization, and ISO 27001 certification in place."
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"id": "PROMPT_SUBJECT_REMEDY",
|
| 156 |
+
"label": "Immediate Redress to Data Subjects",
|
| 157 |
+
"article": "Art. 83(2)(c)",
|
| 158 |
+
"weight": -0.15,
|
| 159 |
+
"description": "Free credit monitoring, identity theft protection, or compensation provided to individuals."
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"id": "CERTIFICATION_ADHERENCE",
|
| 163 |
+
"label": "Adherence to Approved Codes of Conduct / Certification",
|
| 164 |
+
"article": "Art. 83(2)(j)",
|
| 165 |
+
"weight": -0.10,
|
| 166 |
+
"description": "Formal compliance with EDPB-approved code of conduct (Art. 40) or certification (Art. 42)."
|
| 167 |
+
}
|
| 168 |
+
]
|
| 169 |
+
}
|
rules/gdpr_shacl_shapes.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "GDPR W3C SHACL Constraint Shapes",
|
| 3 |
+
"standard": "Regulation (EU) 2016/679 (GDPR)",
|
| 4 |
+
"version": "1.0.0",
|
| 5 |
+
"shapes": [
|
| 6 |
+
{
|
| 7 |
+
"shape_id": "gdpr:LawfulProcessingShape",
|
| 8 |
+
"target_class": "ProcessingActivity",
|
| 9 |
+
"legal_basis": "Art. 6(1), Art. 5(1)(e)",
|
| 10 |
+
"triple_id": "triple-0062",
|
| 11 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_6/oj",
|
| 12 |
+
"rules": [
|
| 13 |
+
{
|
| 14 |
+
"property": "lawful_basis",
|
| 15 |
+
"constraint": "IN",
|
| 16 |
+
"allowed_values": [
|
| 17 |
+
"CONSENT_ART_6_1_A",
|
| 18 |
+
"CONTRACT_ART_6_1_B",
|
| 19 |
+
"LEGAL_OBLIGATION_ART_6_1_C",
|
| 20 |
+
"VITAL_INTERESTS_ART_6_1_D",
|
| 21 |
+
"PUBLIC_TASK_ART_6_1_E",
|
| 22 |
+
"LEGITIMATE_INTERESTS_ART_6_1_F"
|
| 23 |
+
],
|
| 24 |
+
"severity": "VIOLATION",
|
| 25 |
+
"message": "Processing must specify a recognized lawful basis under Article 6(1) GDPR."
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"property": "retention_period_days",
|
| 29 |
+
"constraint": "GREATER_THAN_ZERO",
|
| 30 |
+
"severity": "VIOLATION",
|
| 31 |
+
"message": "Storage limitation principle (Art. 5(1)(e)) requires a positive finite data retention period."
|
| 32 |
+
}
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"shape_id": "gdpr:DataBreachNotificationShape",
|
| 37 |
+
"target_class": "PersonalDataBreach",
|
| 38 |
+
"legal_basis": "Art. 33(1), Art. 34(1)",
|
| 39 |
+
"triple_id": "triple-0327",
|
| 40 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_33/oj",
|
| 41 |
+
"rules": [
|
| 42 |
+
{
|
| 43 |
+
"property": "dpa_notification_hours",
|
| 44 |
+
"constraint": "MAX_INCLUSIVE",
|
| 45 |
+
"value": 72,
|
| 46 |
+
"condition": "risk_to_individuals != 'LOW'",
|
| 47 |
+
"severity": "CRITICAL_VIOLATION",
|
| 48 |
+
"message": "Supervisory Authority must be notified without undue delay and not later than 72 hours (Art. 33(1))."
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"property": "data_subjects_notified",
|
| 52 |
+
"constraint": "EQUALS",
|
| 53 |
+
"value": true,
|
| 54 |
+
"condition": "risk_to_individuals == 'HIGH' && encryption_applied == false",
|
| 55 |
+
"severity": "CRITICAL_VIOLATION",
|
| 56 |
+
"message": "High-risk unencrypted breach mandates direct communication to data subjects without undue delay (Art. 34(1))."
|
| 57 |
+
}
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"shape_id": "gdpr:CrossBorderTransferShape",
|
| 62 |
+
"target_class": "CrossBorderTransfer",
|
| 63 |
+
"legal_basis": "Chapter V (Art. 44-49)",
|
| 64 |
+
"triple_id": "triple-0442",
|
| 65 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_44/oj",
|
| 66 |
+
"rules": [
|
| 67 |
+
{
|
| 68 |
+
"property": "transfer_mechanism",
|
| 69 |
+
"constraint": "IN",
|
| 70 |
+
"allowed_values": [
|
| 71 |
+
"ADEQUACY_DECISION_ART_45",
|
| 72 |
+
"STANDARD_CONTRACTUAL_CLAUSES_ART_46",
|
| 73 |
+
"BINDING_CORPORATE_RULES_ART_47",
|
| 74 |
+
"DEROGATION_CONSENT_ART_49_1_A",
|
| 75 |
+
"DEROGATION_CONTRACT_ART_49_1_B"
|
| 76 |
+
],
|
| 77 |
+
"condition": "recipient_country_in_eea == false",
|
| 78 |
+
"severity": "CRITICAL_VIOLATION",
|
| 79 |
+
"message": "International transfers to third countries require an adequacy decision, SCCs, BCRs, or statutory derogation."
|
| 80 |
+
}
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"shape_id": "gdpr:ConsentValidityShape",
|
| 85 |
+
"target_class": "ConsentRecord",
|
| 86 |
+
"legal_basis": "Art. 4(11), Art. 7",
|
| 87 |
+
"triple_id": "triple-0072",
|
| 88 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_7/oj",
|
| 89 |
+
"rules": [
|
| 90 |
+
{
|
| 91 |
+
"property": "pre_ticked_box",
|
| 92 |
+
"constraint": "EQUALS",
|
| 93 |
+
"value": false,
|
| 94 |
+
"severity": "VIOLATION",
|
| 95 |
+
"message": "Silence, pre-ticked boxes or inactivity do not constitute valid consent (Recital 32)."
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"property": "withdrawable_easily",
|
| 99 |
+
"constraint": "EQUALS",
|
| 100 |
+
"value": true,
|
| 101 |
+
"severity": "VIOLATION",
|
| 102 |
+
"message": "The data subject shall have the right to withdraw consent at any time as easily as to give it (Art. 7(3))."
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"property": "bundled_with_contract",
|
| 106 |
+
"constraint": "EQUALS",
|
| 107 |
+
"value": false,
|
| 108 |
+
"severity": "VIOLATION",
|
| 109 |
+
"message": "Consent cannot be made a mandatory condition for contract performance unless strictly necessary (Art. 7(4))."
|
| 110 |
+
}
|
| 111 |
+
]
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"shape_id": "gdpr:DPIAShape",
|
| 115 |
+
"target_class": "HighRiskProcessing",
|
| 116 |
+
"legal_basis": "Art. 35(1), Art. 35(3)",
|
| 117 |
+
"triple_id": "triple-0348",
|
| 118 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_35/oj",
|
| 119 |
+
"rules": [
|
| 120 |
+
{
|
| 121 |
+
"property": "dpia_conducted",
|
| 122 |
+
"constraint": "EQUALS",
|
| 123 |
+
"value": true,
|
| 124 |
+
"condition": "involves_profiling == true || large_scale_sensitive == true || public_surveillance == true",
|
| 125 |
+
"severity": "CRITICAL_VIOLATION",
|
| 126 |
+
"message": "DPIA is statutorily mandatory prior to processing under Article 35(3) triggers."
|
| 127 |
+
}
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"shape_id": "gdpr:ProcessorContractShape",
|
| 132 |
+
"target_class": "ProcessorEngagement",
|
| 133 |
+
"legal_basis": "Art. 28(3)",
|
| 134 |
+
"triple_id": "triple-0275",
|
| 135 |
+
"eli_permalink": "http://data.europa.eu/eli/reg/2016/679/art_28/oj",
|
| 136 |
+
"rules": [
|
| 137 |
+
{
|
| 138 |
+
"property": "binding_dpa_signed",
|
| 139 |
+
"constraint": "EQUALS",
|
| 140 |
+
"value": true,
|
| 141 |
+
"severity": "VIOLATION",
|
| 142 |
+
"message": "Processing by a processor must be governed by a binding contract / DPA (Art. 28(3))."
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"property": "subprocessor_authorization",
|
| 146 |
+
"constraint": "IN",
|
| 147 |
+
"allowed_values": ["SPECIFIC_WRITTEN", "GENERAL_WRITTEN"],
|
| 148 |
+
"severity": "VIOLATION",
|
| 149 |
+
"message": "Processor shall not engage sub-processors without prior written authorization (Art. 28(2))."
|
| 150 |
+
}
|
| 151 |
+
]
|
| 152 |
+
}
|
| 153 |
+
]
|
| 154 |
+
}
|
rules/gdpr_shacl_shapes.ttl
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
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dpr: <https://w3id.org/gdpr#> .
|
| 7 |
+
@prefix eli: <http://data.europa.eu/eli/reg/2016/679/> .
|
| 8 |
+
|
| 9 |
+
#################################################################
|
| 10 |
+
# GDPR W3C SHACL SHAPES ONTOLOGY
|
| 11 |
+
# Regulation (EU) 2016/679 Machine-Executable Constraints
|
| 12 |
+
#################################################################
|
| 13 |
+
|
| 14 |
+
### 1. Controller Lawfulness of Processing Shape (Art. 5(1)(a) & Art. 6(1))
|
| 15 |
+
gdpr:LawfulProcessingShape a sh:NodeShape ;
|
| 16 |
+
sh:targetClass gdpr:ProcessingActivity ;
|
| 17 |
+
rdfs:label "Lawfulness of Processing Shape" ;
|
| 18 |
+
rdfs:comment "Enforces that every processing operation is anchored to a recognized legal basis under Article 6(1) GDPR." ;
|
| 19 |
+
sh:property [
|
| 20 |
+
sh:path gdpr:hasLawfulBasis ;
|
| 21 |
+
sh:minCount 1 ;
|
| 22 |
+
sh:in (
|
| 23 |
+
gdpr:CONSENT_ART_6_1_A
|
| 24 |
+
gdpr:CONTRACT_ART_6_1_B
|
| 25 |
+
gdpr:LEGAL_OBLIGATION_ART_6_1_C
|
| 26 |
+
gdpr:VITAL_INTERESTS_ART_6_1_D
|
| 27 |
+
gdpr:PUBLIC_TASK_ART_6_1_E
|
| 28 |
+
gdpr:LEGITIMATE_INTERESTS_ART_6_1_F
|
| 29 |
+
) ;
|
| 30 |
+
sh:message "Violation of GDPR Art. 6(1) [triple-0062]: Processing must be grounded in at least one valid lawful basis." ;
|
| 31 |
+
] ;
|
| 32 |
+
sh:property [
|
| 33 |
+
sh:path gdpr:storageRetentionDays ;
|
| 34 |
+
sh:datatype xsd:integer ;
|
| 35 |
+
sh:minInclusive 1 ;
|
| 36 |
+
sh:message "Violation of GDPR Art. 5(1)(e) [triple-0058]: Storage limitation principle requires a defined retention period." ;
|
| 37 |
+
] .
|
| 38 |
+
|
| 39 |
+
### 2. Personal Data Breach Notification Shape (Art. 33 & Art. 34)
|
| 40 |
+
gdpr:DataBreachNotificationShape a sh:NodeShape ;
|
| 41 |
+
sh:targetClass gdpr:PersonalDataBreach ;
|
| 42 |
+
rdfs:label "Personal Data Breach Escalation Shape" ;
|
| 43 |
+
rdfs:comment "Enforces statutory 72-hour reporting timeline to DPA (Art. 33) and direct data subject communication for high-risk breaches (Art. 34)." ;
|
| 44 |
+
sh:property [
|
| 45 |
+
sh:path gdpr:hoursToNotifyDPA ;
|
| 46 |
+
sh:datatype xsd:integer ;
|
| 47 |
+
sh:maxInclusive 72 ;
|
| 48 |
+
sh:message "Violation of GDPR Art. 33(1) [triple-0327]: The Supervisory Authority must be notified without undue delay and not later than 72 hours after becoming aware." ;
|
| 49 |
+
] ;
|
| 50 |
+
sh:property [
|
| 51 |
+
sh:path gdpr:riskToIndividuals ;
|
| 52 |
+
sh:in ( "LOW" "MODERATE" "HIGH" ) ;
|
| 53 |
+
sh:minCount 1 ;
|
| 54 |
+
] ;
|
| 55 |
+
sh:property [
|
| 56 |
+
# Conditional Rule: If risk is HIGH and encryption was not applied, data subjects must be notified
|
| 57 |
+
sh:path gdpr:dataSubjectCommunicated ;
|
| 58 |
+
sh:datatype xsd:boolean ;
|
| 59 |
+
sh:message "Violation of GDPR Art. 34(1) [triple-0335]: When a breach is likely to result in a high risk, the controller must communicate to affected data subjects without undue delay." ;
|
| 60 |
+
] .
|
| 61 |
+
|
| 62 |
+
### 3. Cross-Border International Transfer Shape (Chapter V, Arts. 44-49)
|
| 63 |
+
gdpr:CrossBorderTransferShape a sh:NodeShape ;
|
| 64 |
+
sh:targetClass gdpr:CrossBorderTransfer ;
|
| 65 |
+
rdfs:label "International Data Transfer Safeguards Shape" ;
|
| 66 |
+
rdfs:comment "Enforces Chapter V restrictions on personal data exports outside the EEA." ;
|
| 67 |
+
sh:property [
|
| 68 |
+
sh:path gdpr:transferMechanism ;
|
| 69 |
+
sh:minCount 1 ;
|
| 70 |
+
sh:in (
|
| 71 |
+
gdpr:ADEQUACY_DECISION_ART_45
|
| 72 |
+
gdpr:STANDARD_CONTRACTUAL_CLAUSES_ART_46
|
| 73 |
+
gdpr:BINDING_CORPORATE_RULES_ART_47
|
| 74 |
+
gdpr:DEROGATION_EXPLICIT_CONSENT_ART_49_1_A
|
| 75 |
+
gdpr:DEROGATION_CONTRACT_ART_49_1_B
|
| 76 |
+
gdpr:DEROGATION_PUBLIC_INTEREST_ART_49_1_D
|
| 77 |
+
) ;
|
| 78 |
+
sh:message "Violation of GDPR Art. 44 & 46 [triple-0442]: International transfers to third countries require an adequacy decision or appropriate safeguards (SCCs, BCRs)." ;
|
| 79 |
+
] ;
|
| 80 |
+
sh:property [
|
| 81 |
+
sh:path gdpr:recipientCountry ;
|
| 82 |
+
sh:datatype xsd:string ;
|
| 83 |
+
sh:minCount 1 ;
|
| 84 |
+
] .
|
| 85 |
+
|
| 86 |
+
### 4. Consent Record Validity Shape (Art. 4(11) & Art. 7)
|
| 87 |
+
gdpr:ConsentValidityShape a sh:NodeShape ;
|
| 88 |
+
sh:targetClass gdpr:ConsentRecord ;
|
| 89 |
+
rdfs:label "Consent Validity Conditions Shape" ;
|
| 90 |
+
rdfs:comment "Enforces conditions for valid consent under Article 7 GDPR." ;
|
| 91 |
+
sh:property [
|
| 92 |
+
sh:path gdpr:freelyGiven ;
|
| 93 |
+
sh:hasValue true ;
|
| 94 |
+
sh:message "Violation of GDPR Art. 4(11) & Art. 7(4) [triple-0072]: Consent must be freely given and unbundled from service contracts." ;
|
| 95 |
+
] ;
|
| 96 |
+
sh:property [
|
| 97 |
+
sh:path gdpr:preTickedBox ;
|
| 98 |
+
sh:hasValue false ;
|
| 99 |
+
sh:message "Violation of GDPR Recital 32 & Art. 7: Silence, pre-ticked boxes or inactivity do not constitute valid consent." ;
|
| 100 |
+
] ;
|
| 101 |
+
sh:property [
|
| 102 |
+
sh:path gdpr:withdrawableAtAnyTime ;
|
| 103 |
+
sh:hasValue true ;
|
| 104 |
+
sh:message "Violation of GDPR Art. 7(3) [triple-0075]: The data subject shall have the right to withdraw consent at any time as easily as to give it." ;
|
| 105 |
+
] .
|
| 106 |
+
|
| 107 |
+
### 5. Data Protection Impact Assessment (DPIA) Mandatory Shape (Art. 35)
|
| 108 |
+
gdpr:DPIAShape a sh:NodeShape ;
|
| 109 |
+
sh:targetClass gdpr:HighRiskProcessing ;
|
| 110 |
+
rdfs:label "DPIA Mandatory Evaluation Shape" ;
|
| 111 |
+
rdfs:comment "Enforces mandatory DPIA execution for processing matching Article 35(3) triggers." ;
|
| 112 |
+
sh:property [
|
| 113 |
+
sh:path gdpr:dpiaCompleted ;
|
| 114 |
+
sh:hasValue true ;
|
| 115 |
+
sh:message "Violation of GDPR Art. 35(1) [triple-0348]: Where processing is likely to result in a high risk (profiling, large-scale sensitive data, public monitoring), a DPIA must be conducted prior to processing." ;
|
| 116 |
+
] ;
|
| 117 |
+
sh:property [
|
| 118 |
+
sh:path gdpr:dpoAdviceSought ;
|
| 119 |
+
sh:hasValue true ;
|
| 120 |
+
sh:message "Violation of GDPR Art. 35(2) [triple-0349]: The controller shall seek the advice of the Data Protection Officer when carrying out a DPIA." ;
|
| 121 |
+
] .
|
| 122 |
+
|
| 123 |
+
### 6. Processor Governance Shape (Art. 28)
|
| 124 |
+
gdpr:ProcessorGovernanceShape a sh:NodeShape ;
|
| 125 |
+
sh:targetClass gdpr:ProcessorEngagement ;
|
| 126 |
+
rdfs:label "Processor Governance & Contract Shape" ;
|
| 127 |
+
rdfs:comment "Enforces mandatory contractual guarantees under Article 28(3)." ;
|
| 128 |
+
sh:property [
|
| 129 |
+
sh:path gdpr:hasBindingContract ;
|
| 130 |
+
sh:hasValue true ;
|
| 131 |
+
sh:message "Violation of GDPR Art. 28(3) [triple-0275]: Processing by a processor shall be governed by a binding contract under Union or Member State law." ;
|
| 132 |
+
] ;
|
| 133 |
+
sh:property [
|
| 134 |
+
sh:path gdpr:subprocessorAuthorized ;
|
| 135 |
+
sh:hasValue true ;
|
| 136 |
+
sh:message "Violation of GDPR Art. 28(2) [triple-0274]: Processor shall not engage another processor without prior specific or general written authorization of the controller." ;
|
| 137 |
+
] .
|
rules/privacy_lint_rules.json
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Privacy-as-Code DevSecOps Static Analysis Ruleset",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"frameworks": ["GDPR (2016/679)", "EU AI Act (2024/1689)", "NIS2 Directive (2022/2555)"],
|
| 5 |
+
"rules": [
|
| 6 |
+
{
|
| 7 |
+
"id": "LINT-001",
|
| 8 |
+
"title": "Unencrypted Personal Data Storage at Rest",
|
| 9 |
+
"severity": "CRITICAL",
|
| 10 |
+
"category": "INFRASTRUCTURE_SECURITY",
|
| 11 |
+
"legal_basis": {
|
| 12 |
+
"gdpr": "Art. 32(1)(a)",
|
| 13 |
+
"nis2": "Art. 21(2)(h)",
|
| 14 |
+
"ai_act": "Art. 15(1)"
|
| 15 |
+
},
|
| 16 |
+
"description": "Cloud storage buckets, persistent volumes, or databases holding personal data must enforce server-side encryption at rest using AES-256 or customer-managed KMS keys.",
|
| 17 |
+
"targets": {
|
| 18 |
+
"terraform_types": ["aws_s3_bucket", "google_storage_bucket", "azurerm_storage_account", "aws_db_instance"],
|
| 19 |
+
"openapi_keywords": ["storage", "upload", "persistence"]
|
| 20 |
+
},
|
| 21 |
+
"remediation": "Enable server-side encryption configuration (e.g., aws_s3_bucket_server_side_encryption_configuration with SSE-KMS or AES256)."
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "LINT-002",
|
| 25 |
+
"title": "Missing Data Retention TTL / Lifecycle Expiry Policy",
|
| 26 |
+
"severity": "HIGH",
|
| 27 |
+
"category": "DATA_MINIMIZATION",
|
| 28 |
+
"legal_basis": {
|
| 29 |
+
"gdpr": "Art. 5(1)(e) (Storage Limitation)",
|
| 30 |
+
"nis2": "N/A",
|
| 31 |
+
"ai_act": "Art. 10(5)"
|
| 32 |
+
},
|
| 33 |
+
"description": "Datastores and message queues containing personal identifiers must specify explicit retention periods or automated TTL lifecycle expiration to satisfy the storage limitation principle.",
|
| 34 |
+
"targets": {
|
| 35 |
+
"terraform_types": ["aws_s3_bucket_lifecycle_configuration", "google_storage_bucket", "aws_dynamodb_table"],
|
| 36 |
+
"openapi_keywords": ["retention", "ttl", "logs", "audit"]
|
| 37 |
+
},
|
| 38 |
+
"remediation": "Define automated lifecycle rule with expiration days or TTL attribute."
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"id": "LINT-003",
|
| 42 |
+
"title": "Non-EEA Cloud Deployment without Documented Transfer Safeguards",
|
| 43 |
+
"severity": "CRITICAL",
|
| 44 |
+
"category": "CROSS_BORDER_TRANSFER",
|
| 45 |
+
"legal_basis": {
|
| 46 |
+
"gdpr": "Chapter V (Art. 44, 45, 46)",
|
| 47 |
+
"nis2": "N/A",
|
| 48 |
+
"ai_act": "N/A"
|
| 49 |
+
},
|
| 50 |
+
"description": "Deploying infrastructure storing EU citizen data to jurisdictions outside the EEA without documented Standard Contractual Clauses (SCCs) or an Adequacy Decision is unlawful under Chapter V GDPR.",
|
| 51 |
+
"targets": {
|
| 52 |
+
"terraform_types": ["provider.aws", "provider.google", "provider.azurerm", "resource.region"],
|
| 53 |
+
"non_eea_regions": ["us-east-1", "us-west-2", "ap-southeast-1", "ap-south-1", "sa-east-1"]
|
| 54 |
+
},
|
| 55 |
+
"remediation": "Migrate data storage to EU regions (e.g. eu-central-1, europe-west3) or attach verified Standard Contractual Clauses (SCCs) metadata."
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "LINT-004",
|
| 59 |
+
"title": "Biometric / Sensitive Data Endpoint Missing Elevated Authentication or DPIA Reference",
|
| 60 |
+
"severity": "CRITICAL",
|
| 61 |
+
"category": "SPECIAL_CATEGORY_DATA",
|
| 62 |
+
"legal_basis": {
|
| 63 |
+
"gdpr": "Art. 9(1), Art. 35(3)",
|
| 64 |
+
"nis2": "Art. 21",
|
| 65 |
+
"ai_act": "Art. 5(1)(c), Art. 10"
|
| 66 |
+
},
|
| 67 |
+
"description": "API endpoints ingesting facial geometry, biometric signatures, health records, or sensitive demographic attributes must enforce mutual TLS / OAuth2 Scopes and reference an authorized DPIA.",
|
| 68 |
+
"targets": {
|
| 69 |
+
"openapi_paths": ["*biometric*", "*face*", "*facial*", "*health*", "*medical*", "*race*", "*political*"],
|
| 70 |
+
"required_security_schemes": ["OAuth2", "mTLS", "BearerAuth"]
|
| 71 |
+
},
|
| 72 |
+
"remediation": "Enforce strict BearerAuth/mTLS security requirements and annotate with 'x-gdpr-dpia-id' reference."
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"id": "LINT-005",
|
| 76 |
+
"title": "Public Datastore Exposure / Unrestricted Ingress Access",
|
| 77 |
+
"severity": "CRITICAL",
|
| 78 |
+
"category": "PRIVACY_BY_DEFAULT",
|
| 79 |
+
"legal_basis": {
|
| 80 |
+
"gdpr": "Art. 25(2) (Privacy by Default), Art. 32",
|
| 81 |
+
"nis2": "Art. 21(2)(a)",
|
| 82 |
+
"ai_act": "Art. 15"
|
| 83 |
+
},
|
| 84 |
+
"description": "Personal data datastores and databases must disallow public access blocks (ACLs: public-read, public-read-write, CIDR: 0.0.0.0/0).",
|
| 85 |
+
"targets": {
|
| 86 |
+
"terraform_types": ["aws_s3_bucket_public_access_block", "aws_security_group_rule", "google_storage_bucket_iam_binding"]
|
| 87 |
+
},
|
| 88 |
+
"remediation": "Enable block_public_acls = true, block_public_policy = true, and restrict security group ingress to private VPC subnets."
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"id": "LINT-006",
|
| 92 |
+
"title": "Missing Administrative Audit Logging & Telemetry",
|
| 93 |
+
"severity": "MEDIUM",
|
| 94 |
+
"category": "ACCOUNTABILITY",
|
| 95 |
+
"legal_basis": {
|
| 96 |
+
"gdpr": "Art. 30 (Records of Processing), Art. 5(2)",
|
| 97 |
+
"nis2": "Art. 21(2)(g)",
|
| 98 |
+
"ai_act": "Art. 12 (Record-Keeping)"
|
| 99 |
+
},
|
| 100 |
+
"description": "Systems processing high-volume personal data must record administrative access logs to ensure accountability and facilitate breach investigation.",
|
| 101 |
+
"targets": {
|
| 102 |
+
"terraform_types": ["aws_s3_bucket_logging", "google_storage_bucket.logging", "aws_cloudtrail"]
|
| 103 |
+
},
|
| 104 |
+
"remediation": "Attach target logging bucket and enable CloudTrail / Cloud Audit Logs."
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"id": "LINT-007",
|
| 108 |
+
"title": "Plaintext Personal Identifiers Transmitted in URL Query Parameters",
|
| 109 |
+
"severity": "HIGH",
|
| 110 |
+
"category": "DATA_SECURITY",
|
| 111 |
+
"legal_basis": {
|
| 112 |
+
"gdpr": "Art. 32(1), Art. 25",
|
| 113 |
+
"nis2": "N/A",
|
| 114 |
+
"ai_act": "N/A"
|
| 115 |
+
},
|
| 116 |
+
"description": "Sensitive personal identifiers (email, ssn, phone, credit_card) must never be passed in GET URL query parameters as they are logged in plaintext in proxies, browser histories, and server logs.",
|
| 117 |
+
"targets": {
|
| 118 |
+
"openapi_parameters": ["email", "ssn", "phone", "national_id", "dob", "credit_card"],
|
| 119 |
+
"parameter_in": "query"
|
| 120 |
+
},
|
| 121 |
+
"remediation": "Pass personal identifiers inside an encrypted HTTPS POST/PUT JSON request body instead of URL query parameters."
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": "LINT-008",
|
| 125 |
+
"title": "AI Model Training Pipeline Missing Bias Auditing & Minimization Annotation",
|
| 126 |
+
"severity": "HIGH",
|
| 127 |
+
"category": "AI_DATA_GOVERNANCE",
|
| 128 |
+
"legal_basis": {
|
| 129 |
+
"gdpr": "Art. 5(1)(c) (Minimization), Art. 5(1)(d)",
|
| 130 |
+
"ai_act": "Art. 10(2), Art. 10(3)",
|
| 131 |
+
"nis2": "N/A"
|
| 132 |
+
},
|
| 133 |
+
"description": "API endpoints or data pipelines serving High-Risk AI model training/inference must document dataset validation, statistical bias auditing, and minimization techniques.",
|
| 134 |
+
"targets": {
|
| 135 |
+
"openapi_paths": ["*train*", "*model*", "*inference*", "*predict*"],
|
| 136 |
+
"required_metadata": ["x-ai-act-bias-audited", "x-ai-act-risk-tier"]
|
| 137 |
+
},
|
| 138 |
+
"remediation": "Include 'x-ai-act-bias-audited': true and define training dataset provenance metadata."
|
| 139 |
+
}
|
| 140 |
+
]
|
| 141 |
+
}
|
rules/sample_compliance_payloads.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"scenarios": [
|
| 3 |
+
{
|
| 4 |
+
"id": "scenario-a-compliant-saas",
|
| 5 |
+
"name": "Scenario A: Compliant EU Enterprise Cloud SaaS",
|
| 6 |
+
"description": "Standard B2B SaaS platform hosted in Frankfurt (EU-central-1), processing customer data with explicit contracts and encryption.",
|
| 7 |
+
"payload": {
|
| 8 |
+
"entity_type": "ProcessingActivity",
|
| 9 |
+
"system_name": "Customer Relationship Management (CRM)",
|
| 10 |
+
"controller_name": "EuroCorp GmbH",
|
| 11 |
+
"lawful_basis": "CONTRACT_ART_6_1_B",
|
| 12 |
+
"retention_period_days": 730,
|
| 13 |
+
"recipient_country_in_eea": true,
|
| 14 |
+
"encryption_applied": true,
|
| 15 |
+
"binding_dpa_signed": true,
|
| 16 |
+
"subprocessor_authorization": "GENERAL_WRITTEN"
|
| 17 |
+
},
|
| 18 |
+
"expected_status": "COMPLIANT",
|
| 19 |
+
"expected_violations": 0
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "scenario-b-unlawful-us-transfer",
|
| 23 |
+
"name": "Scenario B: Unlawful Cross-Border US Cloud Transfer",
|
| 24 |
+
"description": "Customer personal data transferred and stored in US cloud without Standard Contractual Clauses (SCCs) or adequacy certification.",
|
| 25 |
+
"payload": {
|
| 26 |
+
"entity_type": "CrossBorderTransfer",
|
| 27 |
+
"system_name": "Analytics Data Pipeline",
|
| 28 |
+
"controller_name": "FinTech Startup EU",
|
| 29 |
+
"recipient_country": "United States",
|
| 30 |
+
"recipient_country_in_eea": false,
|
| 31 |
+
"transfer_mechanism": "NONE_UNPROTECTED",
|
| 32 |
+
"lawful_basis": "LEGITIMATE_INTERESTS_ART_6_1_F",
|
| 33 |
+
"retention_period_days": 365
|
| 34 |
+
},
|
| 35 |
+
"expected_status": "NON_COMPLIANT",
|
| 36 |
+
"expected_violations": 1,
|
| 37 |
+
"violated_shape": "gdpr:CrossBorderTransferShape"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"id": "scenario-c-late-breach-notification",
|
| 41 |
+
"name": "Scenario C: Late High-Risk Data Breach Notification",
|
| 42 |
+
"description": "Ransomware exfiltration of plain-text passwords and health records; notified DPA after 96 hours without communicating to affected individuals.",
|
| 43 |
+
"payload": {
|
| 44 |
+
"entity_type": "PersonalDataBreach",
|
| 45 |
+
"incident_id": "INC-2026-0881",
|
| 46 |
+
"controller_name": "HealthCare Network",
|
| 47 |
+
"risk_to_individuals": "HIGH",
|
| 48 |
+
"encryption_applied": false,
|
| 49 |
+
"dpa_notification_hours": 96,
|
| 50 |
+
"data_subjects_notified": false,
|
| 51 |
+
"records_compromised": 15000
|
| 52 |
+
},
|
| 53 |
+
"expected_status": "CRITICAL_VIOLATIONS",
|
| 54 |
+
"expected_violations": 2,
|
| 55 |
+
"violated_shape": "gdpr:DataBreachNotificationShape"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "scenario-d-invalid-bundled-consent",
|
| 59 |
+
"name": "Scenario D: Non-Compliant Pre-ticked Bundled Consent",
|
| 60 |
+
"description": "E-commerce checkout requiring mandatory pre-ticked consent checkbox to receive third-party advertising, with no option to withdraw easily.",
|
| 61 |
+
"payload": {
|
| 62 |
+
"entity_type": "ConsentRecord",
|
| 63 |
+
"controller_name": "Retail Shop Online",
|
| 64 |
+
"freely_given": false,
|
| 65 |
+
"pre_ticked_box": true,
|
| 66 |
+
"withdrawable_easily": false,
|
| 67 |
+
"bundled_with_contract": true
|
| 68 |
+
},
|
| 69 |
+
"expected_status": "NON_COMPLIANT",
|
| 70 |
+
"expected_violations": 3,
|
| 71 |
+
"violated_shape": "gdpr:ConsentValidityShape"
|
| 72 |
+
}
|
| 73 |
+
]
|
| 74 |
+
}
|
rules/sample_lint_configs/sample_openapi_compliant.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"openapi": "3.0.3",
|
| 3 |
+
"info": {
|
| 4 |
+
"title": "Compliant Healthcare Identity & Telemetry API",
|
| 5 |
+
"version": "1.0.0",
|
| 6 |
+
"description": "Secure patient portal adhering to GDPR Article 9 special category protections."
|
| 7 |
+
},
|
| 8 |
+
"components": {
|
| 9 |
+
"securitySchemes": {
|
| 10 |
+
"OAuth2": {
|
| 11 |
+
"type": "oauth2",
|
| 12 |
+
"description": "mTLS + OAuth2 Bearer token authentication"
|
| 13 |
+
}
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"paths": {
|
| 17 |
+
"/v1/biometrics/verify-patient": {
|
| 18 |
+
"post": {
|
| 19 |
+
"summary": "Verify Patient Identity with Biometric Confirmation",
|
| 20 |
+
"x-gdpr-dpia-id": "DPIA-2026-MED-044",
|
| 21 |
+
"x-gdpr-legal-basis": "Art. 9(2)(h)",
|
| 22 |
+
"security": [
|
| 23 |
+
{ "OAuth2": ["patients.read", "biometrics.verify"] }
|
| 24 |
+
],
|
| 25 |
+
"requestBody": {
|
| 26 |
+
"required": true,
|
| 27 |
+
"content": {
|
| 28 |
+
"application/json": {
|
| 29 |
+
"schema": {
|
| 30 |
+
"type": "object",
|
| 31 |
+
"properties": {
|
| 32 |
+
"patient_token": { "type": "string" },
|
| 33 |
+
"encrypted_vector": { "type": "string" }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"responses": {
|
| 40 |
+
"200": { "description": "Verification result" }
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"/v1/users/lookup": {
|
| 45 |
+
"post": {
|
| 46 |
+
"summary": "Search User Records securely via Encrypted Payload",
|
| 47 |
+
"security": [
|
| 48 |
+
{ "OAuth2": ["users.read"] }
|
| 49 |
+
],
|
| 50 |
+
"requestBody": {
|
| 51 |
+
"required": true,
|
| 52 |
+
"content": {
|
| 53 |
+
"application/json": {
|
| 54 |
+
"schema": {
|
| 55 |
+
"type": "object",
|
| 56 |
+
"properties": {
|
| 57 |
+
"hashed_identifier": { "type": "string" }
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"responses": {
|
| 64 |
+
"200": { "description": "User profile list" }
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
}
|
rules/sample_lint_configs/sample_openapi_vulnerable.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"openapi": "3.0.3",
|
| 3 |
+
"info": {
|
| 4 |
+
"title": "Retail Analytics & Identity API",
|
| 5 |
+
"version": "1.0.0",
|
| 6 |
+
"description": "Customer identity management and store vision analytics."
|
| 7 |
+
},
|
| 8 |
+
"paths": {
|
| 9 |
+
"/v1/biometrics/face-recognition": {
|
| 10 |
+
"post": {
|
| 11 |
+
"summary": "Process In-Store Facial Biometrics",
|
| 12 |
+
"description": "Extracts facial vectors to analyze demographics.",
|
| 13 |
+
"responses": {
|
| 14 |
+
"200": { "description": "Biometric match result" }
|
| 15 |
+
}
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
"/v1/users/search": {
|
| 19 |
+
"get": {
|
| 20 |
+
"summary": "Search User Records by Identifiers",
|
| 21 |
+
"parameters": [
|
| 22 |
+
{
|
| 23 |
+
"name": "email",
|
| 24 |
+
"in": "query",
|
| 25 |
+
"required": true,
|
| 26 |
+
"schema": { "type": "string", "format": "email" }
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"name": "ssn",
|
| 30 |
+
"in": "query",
|
| 31 |
+
"required": false,
|
| 32 |
+
"schema": { "type": "string" }
|
| 33 |
+
}
|
| 34 |
+
],
|
| 35 |
+
"responses": {
|
| 36 |
+
"200": { "description": "User profile list" }
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
}
|
rules/sample_lint_configs/sample_terraform_compliant.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"terraform_version": "1.5.0",
|
| 4 |
+
"configuration": {
|
| 5 |
+
"provider_config": {
|
| 6 |
+
"aws": {
|
| 7 |
+
"name": "aws",
|
| 8 |
+
"expressions": {
|
| 9 |
+
"region": {
|
| 10 |
+
"constant_value": "eu-central-1"
|
| 11 |
+
}
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"root_module": {
|
| 16 |
+
"resources": [
|
| 17 |
+
{
|
| 18 |
+
"type": "aws_s3_bucket",
|
| 19 |
+
"name": "eu_customer_profiles",
|
| 20 |
+
"provider_config_key": "aws",
|
| 21 |
+
"expressions": {
|
| 22 |
+
"bucket": {
|
| 23 |
+
"constant_value": "prod-eu-customer-profiles-frankfurt"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"schema_version": 0,
|
| 27 |
+
"values": {
|
| 28 |
+
"region": "eu-central-1",
|
| 29 |
+
"server_side_encryption": {
|
| 30 |
+
"rule": {
|
| 31 |
+
"apply_server_side_encryption_by_default": {
|
| 32 |
+
"sse_algorithm": "aws:kms",
|
| 33 |
+
"kms_master_key_id": "arn:aws:kms:eu-central-1:123456789012:key/eu-primary-key"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"lifecycle_rule": {
|
| 38 |
+
"enabled": true,
|
| 39 |
+
"expiration": {
|
| 40 |
+
"days": 730
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
"public_access_block": {
|
| 44 |
+
"block_public_acls": true,
|
| 45 |
+
"block_public_policy": true,
|
| 46 |
+
"ignore_public_acls": true,
|
| 47 |
+
"restrict_public_buckets": true
|
| 48 |
+
},
|
| 49 |
+
"logging": {
|
| 50 |
+
"target_bucket": "prod-eu-audit-logs-bucket"
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"type": "aws_db_instance",
|
| 56 |
+
"name": "user_auth_db",
|
| 57 |
+
"provider_config_key": "aws",
|
| 58 |
+
"values": {
|
| 59 |
+
"identifier": "user-auth-db-frankfurt",
|
| 60 |
+
"region": "eu-central-1",
|
| 61 |
+
"storage_encrypted": true,
|
| 62 |
+
"publicly_accessible": false
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
}
|
| 68 |
+
}
|
rules/sample_lint_configs/sample_terraform_vulnerable.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"terraform_version": "1.5.0",
|
| 4 |
+
"configuration": {
|
| 5 |
+
"provider_config": {
|
| 6 |
+
"aws": {
|
| 7 |
+
"name": "aws",
|
| 8 |
+
"expressions": {
|
| 9 |
+
"region": {
|
| 10 |
+
"constant_value": "us-east-1"
|
| 11 |
+
}
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"root_module": {
|
| 16 |
+
"resources": [
|
| 17 |
+
{
|
| 18 |
+
"type": "aws_s3_bucket",
|
| 19 |
+
"name": "eu_customer_profiles",
|
| 20 |
+
"provider_config_key": "aws",
|
| 21 |
+
"expressions": {
|
| 22 |
+
"bucket": {
|
| 23 |
+
"constant_value": "prod-eu-customer-profiles-us"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"schema_version": 0,
|
| 27 |
+
"values": {
|
| 28 |
+
"region": "us-east-1",
|
| 29 |
+
"server_side_encryption": null,
|
| 30 |
+
"lifecycle_rule": null,
|
| 31 |
+
"public_access_block": {
|
| 32 |
+
"block_public_acls": false,
|
| 33 |
+
"block_public_policy": false,
|
| 34 |
+
"ignore_public_acls": false,
|
| 35 |
+
"restrict_public_buckets": false
|
| 36 |
+
},
|
| 37 |
+
"logging": null
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"type": "aws_db_instance",
|
| 42 |
+
"name": "user_auth_db",
|
| 43 |
+
"provider_config_key": "aws",
|
| 44 |
+
"values": {
|
| 45 |
+
"identifier": "user-auth-db-us",
|
| 46 |
+
"region": "us-east-1",
|
| 47 |
+
"storage_encrypted": false,
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Article 30 GDPR Standard Record of Processing Activities (ROPA)",
|
| 3 |
+
"standard": "Regulation (EU) 2016/679 (GDPR), Article 30",
|
| 4 |
+
"version": "1.0.0",
|
| 5 |
+
"organization": "Enterprise Cloud Solutions SE",
|
| 6 |
+
"dpo_contact": "dpo@enterprise-cloud.eu",
|
| 7 |
+
"lead_supervisory_authority": "Hessen DPA (HBDI), Germany",
|
| 8 |
+
"records": [
|
| 9 |
+
{
|
| 10 |
+
"ropa_id": "ROPA-001",
|
| 11 |
+
"activity_name": "Customer Account Management & Billing",
|
| 12 |
+
"controller": "Enterprise Cloud Solutions SE",
|
| 13 |
+
"joint_controller": null,
|
| 14 |
+
"purpose": "Execution of B2B subscription contracts, invoicing, customer authentication, and payment processing.",
|
| 15 |
+
"lawful_basis": "CONTRACT_ART_6_1_B",
|
| 16 |
+
"categories_of_data_subjects": [
|
| 17 |
+
"Corporate Customers",
|
| 18 |
+
"Authorized Account Users",
|
| 19 |
+
"Billing Contacts"
|
| 20 |
+
],
|
| 21 |
+
"categories_of_personal_data": [
|
| 22 |
+
"Full Name",
|
| 23 |
+
"Corporate Email",
|
| 24 |
+
"Phone Number",
|
| 25 |
+
"IP Address",
|
| 26 |
+
"SEPA / Credit Card Token",
|
| 27 |
+
"Billing Address"
|
| 28 |
+
],
|
| 29 |
+
"special_categories_data": false,
|
| 30 |
+
"categories_of_recipients": [
|
| 31 |
+
"Payment Service Providers (Stripe EU)",
|
| 32 |
+
"Tax Authorities",
|
| 33 |
+
"Accounting Auditors"
|
| 34 |
+
],
|
| 35 |
+
"transfers_to_third_countries": {
|
| 36 |
+
"transferred": false,
|
| 37 |
+
"third_country": null,
|
| 38 |
+
"safeguard_mechanism": "EEA_LOCAL_PROCESSING"
|
| 39 |
+
},
|
| 40 |
+
"retention_period": "10 years following contract termination (German Commercial Code HGB § 257 & Fiscal Code AO § 147).",
|
| 41 |
+
"toms_security_measures": [
|
| 42 |
+
"TLS 1.3 in transit",
|
| 43 |
+
"AES-256 encryption at rest",
|
| 44 |
+
"Role-Based Access Control (RBAC)",
|
| 45 |
+
"SOC 2 Type II certified infrastructure"
|
| 46 |
+
],
|
| 47 |
+
"dpia_required": false,
|
| 48 |
+
"last_reviewed": "2026-06-30"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"ropa_id": "ROPA-002",
|
| 52 |
+
"activity_name": "Employee Administration & Global Payroll",
|
| 53 |
+
"controller": "Enterprise Cloud Solutions SE",
|
| 54 |
+
"joint_controller": null,
|
| 55 |
+
"purpose": "Fulfillment of employment contracts, statutory social security withholding, tax reporting, and salary disbursements.",
|
| 56 |
+
"lawful_basis": "LEGAL_OBLIGATION_ART_6_1_C",
|
| 57 |
+
"categories_of_data_subjects": [
|
| 58 |
+
"Current Employees",
|
| 59 |
+
"Former Employees",
|
| 60 |
+
"Dependents for Healthcare"
|
| 61 |
+
],
|
| 62 |
+
"categories_of_personal_data": [
|
| 63 |
+
"Identity (Passport, National ID)",
|
| 64 |
+
"Tax ID",
|
| 65 |
+
"Bank Account IBAN",
|
| 66 |
+
"Salary & Bonus Records",
|
| 67 |
+
"Timesheets",
|
| 68 |
+
"Health Insurance Affiliation"
|
| 69 |
+
],
|
| 70 |
+
"special_categories_data": true,
|
| 71 |
+
"special_categories_basis": "Art. 9(2)(b) Employment & Social Security Law",
|
| 72 |
+
"categories_of_recipients": [
|
| 73 |
+
"Statutory Health Insurers",
|
| 74 |
+
"Pension Funds",
|
| 75 |
+
"Tax Authorities",
|
| 76 |
+
"Payroll Processor (ADP EU)"
|
| 77 |
+
],
|
| 78 |
+
"transfers_to_third_countries": {
|
| 79 |
+
"transferred": false,
|
| 80 |
+
"third_country": null,
|
| 81 |
+
"safeguard_mechanism": "EEA_LOCAL_PROCESSING"
|
| 82 |
+
},
|
| 83 |
+
"retention_period": "Duration of employment + statutory retention of 6 to 10 years.",
|
| 84 |
+
"toms_security_measures": [
|
| 85 |
+
"Strict need-to-know access restricted to HR personnel",
|
| 86 |
+
"Encrypted database columns for Tax ID and IBAN",
|
| 87 |
+
"Audit trail logging of all HR data views"
|
| 88 |
+
],
|
| 89 |
+
"dpia_required": false,
|
| 90 |
+
"last_reviewed": "2026-05-15"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"ropa_id": "ROPA-003",
|
| 94 |
+
"activity_name": "Product Telemetry, Diagnostic Logging & Security Monitoring",
|
| 95 |
+
"controller": "Enterprise Cloud Solutions SE",
|
| 96 |
+
"joint_controller": null,
|
| 97 |
+
"purpose": "Ensuring network and information security, bug triage, DDoS mitigation, and service availability.",
|
| 98 |
+
"lawful_basis": "LEGITIMATE_INTERESTS_ART_6_1_F",
|
| 99 |
+
"legitimate_interests_assessment": "Documented LIA confirming overriding interest in protecting infrastructure security (Recital 49).",
|
| 100 |
+
"categories_of_data_subjects": [
|
| 101 |
+
"Application Users",
|
| 102 |
+
"Website Visitors"
|
| 103 |
+
],
|
| 104 |
+
"categories_of_personal_data": [
|
| 105 |
+
"IP Addresses (Pseudonymized/Truncated after 24h)",
|
| 106 |
+
"User-Agent Strings",
|
| 107 |
+
"API Request Timestamps",
|
| 108 |
+
"Error Stack Traces"
|
| 109 |
+
],
|
| 110 |
+
"special_categories_data": false,
|
| 111 |
+
"categories_of_recipients": [
|
| 112 |
+
"Internal DevSecOps Team",
|
| 113 |
+
"Cloud Infrastructure Provider (Hetzner EU)"
|
| 114 |
+
],
|
| 115 |
+
"transfers_to_third_countries": {
|
| 116 |
+
"transferred": false,
|
| 117 |
+
"third_country": null,
|
| 118 |
+
"safeguard_mechanism": "EEA_LOCAL_PROCESSING"
|
| 119 |
+
},
|
| 120 |
+
"retention_period": "Raw logs truncated after 14 days; aggregated diagnostic metrics retained for 90 days.",
|
| 121 |
+
"toms_security_measures": [
|
| 122 |
+
"Immediate IP truncation/masking at ingestion proxy",
|
| 123 |
+
"Zero long-term plain-text IP storage",
|
| 124 |
+
"Immutable write-only security audit log"
|
| 125 |
+
],
|
| 126 |
+
"dpia_required": false,
|
| 127 |
+
"last_reviewed": "2026-07-10"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"ropa_id": "ROPA-004",
|
| 131 |
+
"activity_name": "Marketing Automation & Web Behavioral Analytics",
|
| 132 |
+
"controller": "Enterprise Cloud Solutions SE",
|
| 133 |
+
"joint_controller": null,
|
| 134 |
+
"purpose": "Tracking prospective enterprise leads, measuring campaign effectiveness, and delivering tailored product demonstrations.",
|
| 135 |
+
"lawful_basis": "CONSENT_ART_6_1_A",
|
| 136 |
+
"categories_of_data_subjects": [
|
| 137 |
+
"Prospective B2B Leads",
|
| 138 |
+
"Web Visitors"
|
| 139 |
+
],
|
| 140 |
+
"categories_of_personal_data": [
|
| 141 |
+
"Cookie Identifiers",
|
| 142 |
+
"UTM Campaign Source",
|
| 143 |
+
"Browsing History on Domain",
|
| 144 |
+
"Voluntary Contact Form Submissions"
|
| 145 |
+
],
|
| 146 |
+
"special_categories_data": false,
|
| 147 |
+
"categories_of_recipients": [
|
| 148 |
+
"CRM & Email Delivery Vendor (HubSpot Inc. / EU Data Center)",
|
| 149 |
+
"Analytics Platform"
|
| 150 |
+
],
|
| 151 |
+
"transfers_to_third_countries": {
|
| 152 |
+
"transferred": true,
|
| 153 |
+
"third_country": "United States",
|
| 154 |
+
"safeguard_mechanism": "STANDARD_CONTRACTUAL_CLAUSES_ART_46",
|
| 155 |
+
"supplementary_measures": "Client-side IP pseudonymization and encryption keys retained exclusively in EU"
|
| 156 |
+
},
|
| 157 |
+
"retention_period": "Consent records retained for 24 months or until withdrawal; automated deletion upon unsubscribe.",
|
| 158 |
+
"toms_security_measures": [
|
| 159 |
+
"Granular opt-in cookie consent banner (no pre-ticked checkboxes)",
|
| 160 |
+
"One-click withdrawal mechanism in all marketing communications",
|
| 161 |
+
"Data transfer impact assessment (DTIA) documented for SCCs"
|
| 162 |
+
],
|
| 163 |
+
"dpia_required": false,
|
| 164 |
+
"last_reviewed": "2026-08-01"
|
| 165 |
+
}
|
| 166 |
+
]
|
| 167 |
+
}
|