On 6 March 2029, with the policies approved and the security committee up and running, Laura Méndez sits down with the external data protection officer, Datalex Compliance, S.L., to start obligation OB-01 on the map: the record of processing activities. The DPO's first question is seemingly trivial: «how many personal data processing activities do you have?».
Laura answers three: employees, customers and the website. The session ends four hours later with eleven, two of them in which Rutalia is not the controller but the processor, one that nobody knew existed (the drivers' messaging group), another that has been running for six years without a documented lawful basis (the warehouse cameras) and one that requires a formal impact assessment before it can carry on operating (the geolocation of 60 trucks).
That is the normal experience of an SME on the day it does this work seriously, and it is why this lesson does not recite the regulation: it applies it. You are going to build, with Rutalia, the documents the GDPR requires you to have: the record of processing activities, the impact assessment for vehicle tracking, the rights procedure, the retention policy, the Article 32 mapping against the controls you already have from modules 2 to 5, and the breach notification for INC-2028-014 drafted in full, with the fourteen hours to spare that Rutalia had and the analysis of what would have happened if it had not had them.
Important notice. This content is for training purposes and does not constitute legal advice. Classifying a processing activity, choosing its lawful basis, deciding whether or not to notify a breach, the need for an impact assessment and the appointment of a data protection officer are decisions with direct legal consequences that depend on specific circumstances. Every compliance decision must be validated with a legal professional or with your organisation's data protection officer. The documents, case files, references and people of Rutalia Logística are fictitious.
- What personal data is and what it is not
The definition in Article 4(1) of the GDPR is broader than almost anyone assumes: any information relating to an identified or identifiable natural person. And «identifiable» includes anyone who can be identified indirectly, by reference to an identifier or to one or more factors specific to their physical, physiological, genetic, mental, economic, cultural or social identity.
The practical consequence is that a great deal of information a company regards as «technical» is personal data:
| Information at Rutalia | Personal data? | Why |
|---|---|---|
| A driver's name and national ID number | Yes, obviously | Identifies directly |
| Registration number of truck 23 | Yes, in this context | Rutalia knows which driver is driving each vehicle: the registration number indirectly identifies a person |
| GPS coordinates of truck 23 at 14:32 | Yes | It is information about the location of an identifiable person |
| IP address of an access to MiRutalia | Yes, with nuances | Combined with the session logs, it makes it possible to identify the user |
jlopez in an access log |
Yes | It is the identifier of a specific person |
| Image from a camera at the Seville warehouse | Yes | A person's image is personal data |
Email [email protected] |
Probably not | It corresponds to a function, not to an identified person |
Email [email protected] |
Yes | It identifies a natural person, even if in their professional role |
| Monthly turnover of the customer company | No | It is information about a legal person |
| Accident report with injuries to a driver | Yes, and special category | It contains health data |
\\fs01\comun\RRHH\nominas_2028.xlsx |
Yes, on a massive scale | 180 people identified with financial data |
| SHA-256 hash of a customer's ID number | Yes, it still is | It is pseudonymisation: with the lookup table it can be reversed |
Two concepts that are always confused and whose difference is legally decisive:
- Pseudonymisation: replacing identifiers with others, so that without additional information the data cannot be attributed to a person, but keeping that additional information separate. Pseudonymised data is still personal data and remains subject to the GDPR. It is an excellent security measure, not a way out of the regulation.
- Anonymisation: making identification irreversible, so that it is no longer reasonably possible to re-identify anyone. Anonymised data ceases to be personal data and the GDPR no longer applies. Anonymising properly is difficult: removing the name anonymises nothing if the route, the time and the vehicle remain.
Rule of thumb. Before saying «this is not personal data», ask yourself: with what I have in other systems, could I get to the person? In a company with 180 employees and 60 vehicles, the answer is usually yes.
- Special categories: Article 9 data
Article 9 prohibits, as a general rule, the processing of data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data for the purpose of uniquely identifying a person, data concerning health and data concerning a person's sex life or sexual orientation. They may only be processed if one of the exhaustively listed exceptions in paragraph 2 applies.
Data relating to criminal convictions and offences has its own regime in Article 10 and is not strictly a «special category», although its processing is equally restricted.
Where do they appear in a transport company? In more places than you might think:
| Data | Where it appears at Rutalia | Typical enabling basis | Consequence |
|---|---|---|---|
| Health | Workplace accident reports, sick leave, drivers' fitness medicals, workplace adjustments | Art. 9(2)(b): obligations in the field of employment and social security law | Very restricted access; the employer receives the fitness assessment, not the diagnosis |
| Trade union membership | Deduction of union dues from payroll, time off for representative duties | Art. 9(2)(b) | Must be available only to whoever prepares the payroll |
| Biometric | If time and attendance by fingerprint or facial recognition were ever introduced | Highly restricted; the AEPD (the Spanish Data Protection Agency) has been particularly demanding on biometrics for time recording | Do not introduce without a prior legal opinion. There is almost always a less invasive alternative |
| Convictions | Criminal record certificate for certain positions | Art. 10: only under the control of official authority or when authorised by law | Not collected «just in case» |
Golden rule for an SME: health data from health surveillance is not handled by the personnel department, but by the occupational health and safety service, which tells the company only whether the person is fit for the post or what limitations apply. If there are full medical reports in \\fs01\comun\RRHH, there is a problem to fix today.
- Controller, processor, joint controller and data subject
These four roles determine who is answerable for what, and getting the classification wrong invalidates contracts, privacy notices and even the entire record of processing activities.
| Role | Operational definition | The question that decides it |
|---|---|---|
| Data controller | Whoever determines the purposes and means of the processing | Who decides what this data is used for? |
| Data processor | Whoever processes personal data on behalf of the controller, following its instructions | Am I processing this data because someone else has commissioned me to, and only for what they asked of me? |
| Joint controllers | Two or more controllers who jointly determine purposes and means | Do we decide the purpose together? |
| Data subject | The natural person whose data is processed | — |
The criterion is not who holds the data or who pays: it is who decides the purpose. And it does not depend on how the contract is titled: if a contract calls a party a «processor» when it decides for itself what it uses the data for, that contract is wrong and the authority will treat that party as a controller with all the consequences.
Let us go through Rutalia's complete map:
| Situation | Rutalia is… | The other party is… |
|---|---|---|
| Data on its 180 employees (payroll, working hours, health and safety) | Controller | — |
| Contact details of the 400 business customers | Controller | — |
| Geolocation of its vehicles and drivers | Controller | — |
| Images from the cameras in its warehouses | Controller | — |
| MiRutalia users | Controller | — |
| Payroll bureau that prepares the payslips | Controller | Processor (Gestoría Ebro Asesores, S.L.) |
| AWS, which hosts backups and files | Controller | Processor |
| Microsoft 365, email and files | Controller | Processor |
| Tecnosur Sistemas, S.L., ERP maintenance with remote access | Controller | Processor |
| FleetTrack Ibérica, S.L., fleet telematics platform | Controller | Processor |
| CiberTest, S.L., which accesses logs and machines during an incident response | Controller | Processor |
| Recipient data that Alventa hands over for delivery | Processor | Alventa is the controller |
| Haulier subcontracted by Rutalia during a peak in volume | Processor (for Alventa) | The haulier is a sub-processor |
- Rutalia as a processor: the distinction that changes everything
The row that matters is the penultimate one, and it is the heart of this lesson.
When Grupo Alventa Distribución, S.A. hires Rutalia to deliver 1,200 orders a week, it sends it a file with names, addresses, telephone numbers and, sometimes, delivery instructions («call first», «leave with the concierge», «the recipient has reduced mobility»). Rutalia has not decided to collect that data, does not decide what it is used for, and may not use it for anything Alventa has not asked of it.
For that data, Rutalia is a data processor. And that changes seven things at a stroke:
| Aspect | As controller (its employees, its customers) | As processor (Alventa's recipients) |
|---|---|---|
| Who decides the purpose | Rutalia | Alventa |
| Lawful basis | Rutalia determines and documents it | It is Alventa's business; Rutalia processes under the Art. 28 contract |
| Informing the data subject | Rutalia's obligation | Alventa's obligation |
| Rights | Handled by Rutalia | If a recipient writes to Rutalia, it does not resolve the request: it passes it on to Alventa without delay and assists it |
| Own use of the data | Permitted within the purpose | Prohibited. Using Alventa's recipient list to offer them its own services turns Rutalia into a controller and constitutes an infringement |
| Subcontracting | Free, with data processing agreements | Requires Alventa's authorisation, specific in advance or general with a right to object |
| Security breach | Rutalia notifies the AEPD within 72 h | Rutalia notifies Alventa without undue delay; it is Alventa that decides and notifies the AEPD |
That last row is the one that produces the most expensive mistakes in the logistics sector. If one Saturday a phone with the delivery app and the data of 300 Alventa recipients is lost, Rutalia does not call the AEPD: it calls Alventa, immediately, because Alventa's 72-hour clock starts running when Rutalia tells it, and the Article 28 contract probably sets a 24-hour deadline.
And the other way round: Rutalia, as controller of the data of its own customers and employees, demands exactly the same of its processors. It is the same relationship seen from the other side, and it is the natural bridge to 06-04.
The Article 28 contract
Every processing engagement requires a written contract (or legal act) with a minimum content set out exhaustively. This is the skeleton Rutalia uses both when it is the controller and when it is the processor:
DATA PROCESSING ANNEX (Art. 28 GDPR)
Controller: [name, tax ID, registered address, DPO contact]
Processor: [name, tax ID, registered address, contact]
1. SUBJECT MATTER, DURATION, NATURE AND PURPOSE OF THE PROCESSING
Subject matter: provision of the [goods transport and distribution] service.
Duration: that of the main contract, and until return or erasure.
Nature: collection, consultation, use, disclosure by transmission,
storage and erasure.
Purpose: solely the performance of the deliveries entrusted.
2. TYPE OF PERSONAL DATA AND CATEGORIES OF DATA SUBJECTS
Data: first name and surnames, postal address, telephone, email,
delivery instructions and signature on receipt.
Data subjects: recipients of the controller's consignments.
3. OBLIGATIONS OF THE PROCESSOR
3.1. Process the data only on documented instructions from the
controller, including with regard to international transfers.
3.2. Ensure that authorised persons have committed themselves to
confidentiality or are under a statutory obligation of confidentiality.
3.3. Apply the security measures of Article 32. [Technical annex.]
3.4. NOT SUBCONTRACT without the prior written authorisation of the controller.
Where authorised, impose the same obligations on the sub-processor
by contract, the processor remaining liable for its non-compliance.
3.5. Assist the controller in responding to data subjects' rights
requests, passing on any request received within a maximum
of 48 hours.
3.6. Assist the controller in complying with Articles 32 to 36.
3.7. **NOTIFY THE CONTROLLER, WITHIN A MAXIMUM OF 24 HOURS of becoming
aware of it, of any personal data breach**, with the information
necessary for the controller to be able
to comply with Article 33.
3.8. At the choice of the controller, erase or return all the data at the
end of the provision of services, and erase existing copies, unless
retention is required by law. **Provide written proof of erasure.**
3.9. Make available to the controller the information necessary to
demonstrate compliance and allow for and contribute to audits,
including inspections, with 15 days' notice.
3.10. Inform the controller immediately if, in its opinion, an
instruction infringes data protection legislation.
4. LIST OF AUTHORISED SUB-PROCESSORS
[Table: name, service, country, transfer safeguards.]
5. INTERNATIONAL TRANSFERS
[Countries, Chapter V mechanism, assessment carried out.]Four clauses that in practice separate a useful contract from a signed form:
- 3.4, subcontracting. Without this clause, your processor can bring in a third party you do not know, in a country you are not expecting. The annex with the list of sub-processors is as important as the clause.
- 3.7, the 24-hour deadline. Article 28 says «without undue delay»; the contract must turn that into a number. If your processor takes 60 hours to tell you, you have 12 left to notify the AEPD.
- 3.8, proof of erasure. «The data will be erased» without proof is worthless. Ask for a certificate of erasure with date, scope and person responsible.
- 3.9, right to audit. It is the only way to verify, and in an SME it is rarely exercised through an on-site inspection: it is exercised by asking for certifications and reports. But it has to be in writing.
- The Article 5 principles applied to real decisions
The principles are not a decorative preamble: they are the yardstick an authority uses to judge a specific decision. Here are the six (plus the seventh, which cuts across them all), each with a real Rutalia decision.
| Principle | What it requires | A real Rutalia decision |
|---|---|---|
| Lawfulness, fairness and transparency | A valid lawful basis, no deception, clear information | The warehouse cameras have gone six years without an information sign at two of the three sites. That is a transparency infringement even though the processing is lawful |
| Purpose limitation | Specified, explicit and legitimate purposes; no incompatible later uses | Geolocation was introduced for fleet management. When the traffic manager proposes using it to check compliance with working hours, that is a new purpose requiring specific analysis, a lawful basis and information |
| Data minimisation | Adequate, relevant and limited to what is necessary | The customer registration form in MiRutalia asked for the contact's date of birth. What for? For nothing. The field is removed |
| Accuracy | Accurate, up-to-date data; inaccurate data erased or rectified without delay | Old delivery addresses that cause failed deliveries. Accuracy is not only a data subject's right: it is a principle that binds Rutalia |
| Storage limitation | No longer than necessary for the purpose | CVs from a 2022 recruitment process are still in \\fs01\comun\RRHH\CV. They should have been erased, or consent obtained to keep them |
| Integrity and confidentiality | Appropriate security through technical and organisational measures | Everything built in modules 2 to 5. Developed in section 16 |
| Accountability | The controller is responsible for compliance and must be able to demonstrate it | This is the principle that requires the RoPA, the DPIA, the breach register and the evidence to exist. Without documentation, there is no demonstrable compliance |
The principle that generates the most penalties is not security: it is transparency. It is the easiest to check from outside —you only need to look at the website, the sign or the contract—, the easiest for any data subject to complain about and the cheapest to fix. If you have to prioritise one action this week, review your privacy notices and your signs.
- Lawful bases: choosing correctly from the outset
Every processing activity needs one lawful basis under Article 6, chosen before starting and documented. It cannot be changed on the fly: if you told people you were processing some data on the basis of consent and the data subject withdraws it, you cannot say «well, then I'll do it on the basis of legitimate interest».
| Basis (Art. 6(1)) | When it is used | Example at Rutalia | Warnings |
|---|---|---|---|
| a) Consent | The person agrees freely, specifically, in an informed and unambiguous way | Sending the commercial newsletter to customer contacts; analytics cookies on the website | It must be as easy to withdraw as to give. It is almost never valid in the employment context (section 7) |
| b) Performance of a contract | The processing is necessary for the contract with the data subject or for pre-contractual steps | Customer contact details to provide the service; employee data needed for their employment contract | «Necessary» means necessary, not convenient |
| c) Legal obligation | A law requires the processing | Payroll, social security contributions, tax withholding, working time records, tax retention | You must be able to cite the specific law |
| d) Vital interests | Life or physical integrity | A driver's emergency contact details after an accident | Exceptional |
| e) Public interest / official authority | A task carried out in the public interest | Does not apply to Rutalia as a general rule | — |
| f) Legitimate interest | A legitimate interest of the controller or a third party that is not overridden by the data subject's rights | CCTV for site security; geolocation for fleet management; information systems security | It requires a documented balancing test. It is the most flexible basis and the one that takes the most work |
The legitimate interest balancing test
When you choose legitimate interest, you have to carry out —and keep— a three-step analysis:
- Purpose test: is the interest legitimate, specific and current? «Security of the goods and vehicles, and efficient fleet management» is. «Knowing what employees are doing» is not.
- Necessity test: is the processing necessary for that interest, and is there no less invasive alternative? If a record of departure and arrival were enough, continuous tracking would not be necessary.
- Balancing test: does it override the data subject's rights? You weigh the data subject's reasonable expectations, the nature of the data, the impact, the safeguards applied and the relationship between the parties (an employment relationship is unbalanced by definition and weighs in the worker's favour).
The result is written down. Two pages. And if the balancing test comes out close, safeguards are added until it comes out clearly in favour: reducing the granularity, switching off outside working hours, limiting who sees the data, shortening retention.
- Why employee consent is almost never valid
This is one of the points that produces the most mistakes in SMEs, and it deserves its own section.
Consent must be freely given. And in an employment relationship there is a structural imbalance: the worker can hardly refuse without fearing some detriment. That is why the settled position of the European authorities is that consent is rarely a valid basis in the employment context, except in very specific cases in which refusing has no consequence whatsoever (for example, appearing in a photo for the in-house magazine).
The practical consequence is a table worth keeping to hand:
| Processing at Rutalia | Incorrect basis commonly used | Correct basis |
|---|---|---|
| Payroll and social security contributions | Consent in the contract | Legal obligation (Art. 6(1)(c)) |
| Data needed for the employment contract | Consent | Performance of the contract (Art. 6(1)(b)) |
| Working time records | Consent | Legal obligation |
| Health surveillance | Generic consent | Legal obligation in the field of occupational health and safety (and Art. 9(2)(b) for the health data) |
| Site CCTV | Consent | Legitimate interest, with information in accordance with Art. 89 of the LOPDGDD (Spain's Organic Law 3/2018 on data protection) |
| Vehicle geolocation | «They signed the authorisation» | Legitimate interest, with Art. 90 LOPDGDD information and a documented balancing test |
| Photograph on the corporate website | None | Consent (here it is valid, because refusing has no employment consequence) and, better still, with clear revocability |
A company getting its workers to sign an «authorisation» for geolocation does not protect it: if the real basis is legitimate interest, what it needs is the balancing test and the Article 90 information, not a signature that may give the person the false idea that they can withdraw it and stop the processing.
- The record of processing activities (RoPA)
Article 30 requires a record of processing activities to be kept. The exemption for organisations with fewer than 250 employees has so many caveats —processing that is not occasional, processing likely to result in a risk, special categories— that in practice any company with employees must have one. Rutalia, with geolocation, CCTV and health data, is in no doubt.
The RoPA is not bureaucracy: it is the map that makes everything else possible. Without it you cannot respond to a right of access, assess a breach, define retention periods or know whom to notify when a supplier fails. It is the first document the AEPD asks for in any investigation.
Rutalia's eleven processing activities
| Id | Processing | Role | Data subjects | Data categories | Lawful basis | Retention | Recipients | Transfers |
|---|---|---|---|---|---|---|---|---|
| T-01 | Personnel management and payroll | Controller | Employees and dependants | Identification, financial, employment, trade union membership (dues), health (fitness) | Legal obligation and performance of the contract | 4 years after leaving; 10 years for data relevant to tax and social security contributions | Gestoría Ebro Asesores, TGSS, AEAT, bank, occupational insurance mutual | No |
| T-02 | Working time and attendance | Controller | Employees | Identification, hours | Legal obligation (RDL 8/2019) | 4 years | Labour Inspectorate on formal request | No |
| T-03 | Recruitment | Controller | Candidates | Identification, CV, qualifications | Pre-contractual steps; consent to keep after the process | 1 year with consent; immediate erasure without it | None | No |
| T-04 | Site CCTV | Controller | Employees, visitors, hauliers | Images | Legitimate interest (security of people and property) | 1 month maximum, save retention to prove infringements | Law enforcement agencies, courts | No |
| T-05 | Vehicle geolocation | Controller | Drivers | Location, speed, times, vehicle and driver identification | Legitimate interest (security of goods and vehicles, fleet management) | 90 days in detail; unidentified aggregates thereafter | FleetTrack Ibérica (processor) | To be assessed (section 21) |
| T-06 | Customer management and invoicing | Controller | Customer contact persons | Identification, professional, financial | Performance of the contract | Term of the contract + limitation periods (6 years commercial, 4 tax) | Advisers, bank, AEAT | No |
| T-07 | MiRutalia portal | Controller | Customer users | Identification, credentials, access logs, activity | Performance of the contract; legitimate interest for security | Active account + 1 year; security logs 12 months | AWS (processor) | To be assessed |
| T-08 | Marketing communications | Controller | Customer and prospect contacts | Identification, professional | Consent; legitimate interest for customers (similar products) | Until unsubscribing + 3 years to evidence the unsubscription | Mailing platform (processor) | To be assessed |
| T-09 | Corporate website and cookies | Controller | Visitors | Online identifiers, IP, browsing | Consent (non-essential cookies); legitimate interest (technical cookies) | Per cookie; maximum 24 months | Analytics provider (processor) | To be assessed |
| T-10 | Internal reporting system (whistleblowing channel) | Controller | Whistleblowers, persons concerned, witnesses | Identification, reported conduct, possible offences | Legal obligation (Act 2/2023) | 3 months after receipt unless investigated; thereafter, as necessary for the investigation | Competent authority, legal advisers | No |
| T-11 | Performance of deliveries on behalf of customers | PROCESSOR | Recipients of the customer's consignments | Identification, address, telephone, delivery instructions, signature | Whatever the controller (the customer) determines | As instructed by the controller; by default, return or erasure at the end of the service | Subcontractors authorised by the controller | As instructed |
Five observations on this table that are worth more than the content itself:
- T-11 is marked in capitals. Article 30(2) requires the processor to keep its own record, with different content from the controller's. Putting it in the same table without distinguishing it is the most frequent mistake in logistics.
- T-04 and T-05 are based on legitimate interest, which means the written balancing test must exist. Without it, the cell is empty even though it says «legitimate interest».
- T-05 is the one that triggers the impact assessment (section 10).
- T-03 has two different bases depending on the moment: pre-contractual steps during the process, consent to keep the data afterwards. This is common and must be reflected.
- T-10 came to light while doing the RoPA. The whistleblowing channel existed as an email inbox and nobody had considered it a processing activity. Something like this almost always turns up.
rat.csv and the script that validates it and generates the document
rat.csv and the script that validates it and generates the documentThe RoPA does not have to be an expensive tool. It can be a version-controlled text file, provided it is complete, up to date and can be exported to a presentable document. This is how Rutalia does it.
id,processing,role,controller_contact,dpo_contact,data_subjects,data_categories,special_categories,lawful_basis,legal_reference,purpose,retention,recipients,processors,transfers,security_measures,dpia_required,date_added,last_review
T-01,"Personnel management and payroll",controller,"[email protected]","[email protected]","Employees and dependants","Identification;Financial;Employment","Trade union membership;Health (fitness)","Legal obligation;Performance of a contract","ET;LGSS;LIRPF","Employment management, payroll and Social Security obligations","4 years after leaving; 10 years tax and contribution data","TGSS;AEAT;Mutual insurer;Bank","Gestoria Ebro Asesores S.L.",no,"Encryption at rest;RBAC administration role;Access logging;Backup 3-2-1-1-0",no,2029-03-06,2029-03-06
T-02,"Working time and attendance",controller,"[email protected]","[email protected]","Employees","Identification;Hours",,"Legal obligation","RDL 8/2019","Daily working time record","4 years","Labour Inspectorate",,no,"RBAC;Access logging",no,2029-03-06,2029-03-06
T-03,"Recruitment",controller,"[email protected]","[email protected]","Candidates","Identification;CV;Qualifications",,"Pre-contractual measures;Consent","GDPR 6.1.b;6.1.a","Filling vacancies","1 year with consent; immediate erasure without it",,,no,"Access restricted to HR;Automated erasure",no,2029-03-06,2029-03-06
T-04,"Site CCTV",controller,"[email protected]","[email protected]","Employees;Visitors;Hauliers","Images",,"Legitimate interest","GDPR 6.1.f;LOPDGDD 22 and 89","Security of people, premises and goods","1 month maximum","Law enforcement agencies;Courts","Seguridad Pilar S.A.",no,"Isolated VLAN;Named access;Viewing log;Automatic deletion 30 days",no,2029-03-06,2029-03-06
T-05,"Vehicle geolocation",controller,"[email protected]","[email protected]","Drivers","Location;Speed;Times;Vehicle",,"Legitimate interest","GDPR 6.1.f;LOPDGDD 90","Security of goods and vehicles; fleet planning and management","90 days detail; anonymised aggregates thereafter",,"FleetTrack Iberica S.L.","Pending assessment","MFA;Access restricted to traffic;Disabled outside working hours;Query logging",YES,2029-03-06,2029-03-06
T-06,"Customer management and invoicing",controller,"[email protected]","[email protected]","Customer contact persons","Identification;Professional;Financial",,"Performance of a contract","GDPR 6.1.b","Service provision and invoicing","Term + 6 years","AEAT;Bank;Advisers",,no,"RBAC;Encryption;Backup 3-2-1-1-0",no,2029-03-06,2029-03-06
T-07,"MiRutalia portal",controller,"[email protected]","[email protected]","Customer users","Identification;Credentials;Access logs",,"Performance of a contract;Legitimate interest","GDPR 6.1.b;6.1.f","Customer access to shipment tracking","Active account + 1 year; logs 12 months",,"AWS EMEA SARL","Pending assessment","MFA;TLS;WAF;Logging;Access review",no,2029-03-06,2029-03-06
T-08,"Marketing communications",controller,"[email protected]","[email protected]","Customer and prospect contacts","Identification;Professional",,"Consent;Legitimate interest","GDPR 6.1.a;6.1.f;LSSI 21","Sending marketing information","Until unsubscribing + 3 years of evidence",,"Mailing platform","Pending assessment","Consent log;One-click unsubscribe",no,2029-03-06,2029-03-06
T-09,"Corporate website and cookies",controller,"[email protected]","[email protected]","Visitors","Online identifiers;IP;Browsing",,"Consent;Legitimate interest","LSSI 22.2;GDPR 6.1.a","Website operation and analytics","Per cookie; maximum 24 months",,"Analytics provider","Pending assessment","Prior consent;Settings panel",no,2029-03-06,2029-03-06
T-10,"Internal reporting system",controller,"[email protected]","[email protected]","Whistleblowers;Persons concerned;Witnesses","Identification;Reported conduct","Possible offences","Legal obligation","Act 2/2023","Internal whistleblowing channel","3 months unless investigated","Competent authority;Legal advisers",,no,"Access by system owner only;Anonymity possible;Access logging",no,2029-03-06,2029-03-06
T-11,"Performance of deliveries on behalf of customers",processor,"[email protected]","[email protected]","Recipients of customer consignments","Identification;Address;Telephone;Instructions;Signature",,"Controller's instructions","GDPR 28","Delivery of goods on behalf of the controller","As instructed by the controller","Those authorised by the controller","Authorised subcontractors","As instructed","Art. 28 contract;Delivery app encryption;MDM;Remote wipe",no,2029-03-06,2029-03-06And the script that validates it and generates the presentable document. What matters here is not the code: it is what is validated and why.
#!/usr/bin/env python3
"""
rat_tool.py - Validates the record of processing activities and generates
the markdown document ready for signature.
Usage:
python3 rat_tool.py rat.csv --validate
python3 rat_tool.py rat.csv --generate > RAT_Rutalia_2029.md
The purpose of the validator is NOT to check the CSV syntax, but to detect
the legal inconsistencies that always creep in when a RoPA is filled in by hand.
"""
import csv
import sys
import argparse
from datetime import date, datetime
REQUIRED_FIELDS_CONTROLLER = [
"processing", "data_subjects", "data_categories", "lawful_basis",
"purpose", "retention", "security_measures",
]
# Art. 30(2) requires less content from the processor, but it does require
# identifying the controller on whose behalf it acts, and the transfers.
REQUIRED_FIELDS_PROCESSOR = [
"processing", "data_categories", "security_measures", "transfers",
]
VALID_BASES = {
"Consent", "Performance of a contract", "Legal obligation",
"Vital interests", "Public interest", "Legitimate interest",
"Pre-contractual measures", "Controller's instructions",
}
# Art. 9 special categories and Art. 10 data, written as they
# appear in Rutalia's CSV.
SPECIAL_CATEGORIES = {
"Health", "Trade union membership", "Biometric", "Genetic",
"Ethnic origin", "Political opinions", "Religious beliefs",
"Sex life", "Possible offences",
}
def row_issues(r):
"""Returns the list of problems detected in a processing activity."""
problems = []
role = r.get("role", "").strip().lower()
required = (REQUIRED_FIELDS_PROCESSOR if role == "processor"
else REQUIRED_FIELDS_CONTROLLER)
# 1. Empty fields that Art. 30 requires.
for field in required:
if not r.get(field, "").strip():
problems.append(f"ERROR required field empty: {field}")
# 2. Unrecognised lawful bases (usually made-up free text).
for basis in [b.strip() for b in r.get("lawful_basis", "").split(";") if b.strip()]:
if basis not in VALID_BASES:
problems.append(f"ERROR unrecognised lawful basis: '{basis}'")
# 3. Legitimate interest WITHOUT a referenced balancing test.
if "Legitimate interest" in r.get("lawful_basis", ""):
if "balancing" not in r.get("legal_reference", "").lower() and \
"6.1.f" not in r.get("legal_reference", ""):
problems.append(
"WARNING legitimate interest basis: check that the balancing "
"test exists, is documented and is referenced")
# 4. Consent as the basis for employee processing.
subjects = r.get("data_subjects", "").lower()
if "Consent" in r.get("lawful_basis", "") and "employee" in subjects:
problems.append(
"WARNING consent as the basis for employee data: in the "
"employment context it is rarely free. Review with the DPO")
# 5. Special categories not flagged in their column.
data_text = r.get("data_categories", "") + ";" + r.get("special_categories", "")
detected = [s for s in SPECIAL_CATEGORIES if s.lower() in data_text.lower()]
if detected and not r.get("special_categories", "").strip():
problems.append(
f"ERROR special categories {detected} appear to be processed "
"without being declared in 'special_categories'")
# 6. Indefinite or unspecified retention.
ret = r.get("retention", "").lower()
if any(p in ret for p in ("indefinite", "permanent", "no limit", "n/a")):
problems.append("ERROR indefinite retention period: infringes Art. 5(1)(e)")
# 7. Unresolved transfers.
if "pending" in r.get("transfers", "").lower():
problems.append(
"WARNING international transfer not assessed: complete the "
"Chapter V analysis before closing the RoPA")
# 8. DPIA flagged as required: reminder.
if r.get("dpia_required", "").strip().upper() in ("YES", "Y"):
problems.append("WARNING requires a DPIA: check that it is done and current")
# 9. Out-of-date review.
try:
last = datetime.strptime(r["last_review"], "%Y-%m-%d").date()
if (date.today() - last).days > 365:
problems.append(
f"WARNING not reviewed since {last.isoformat()} "
f"({(date.today() - last).days} days)")
except (KeyError, ValueError):
problems.append("ERROR last review date missing or invalid")
return problems
def validate(rows):
errors = warnings = 0
for r in rows:
problems = row_issues(r)
if problems:
print(f"\n[{r['id']}] {r['processing']} (role: {r['role']})")
for p in problems:
print(f" {p}")
if p.startswith("ERROR"):
errors += 1
else:
warnings += 1
print(f"\n{'=' * 70}")
print(f"Processing activities analysed: {len(rows)} | ERRORS: {errors} | WARNINGS: {warnings}")
return errors
def generate(rows):
"""Produces the markdown document that is signed and archived."""
today = date.today().isoformat()
print("# Record of Processing Activities")
print("\n**Rutalia Logistica, S.L.** - B-99XXXXXX")
print("Empresarium industrial estate, Zaragoza - [email protected]")
print(f"\nVersion generated automatically on {today} from `rat.csv`.")
print("Document required by Article 30 of Regulation (EU) 2016/679.\n")
for role, title in (("controller", "Processing activities as CONTROLLER"),
("processor", "Processing activities as PROCESSOR (Art. 30(2))")):
subset = [r for r in rows if r["role"].strip().lower() == role]
if not subset:
continue
print(f"\n---\n\n## {title}\n")
for r in subset:
print(f"### {r['id']} - {r['processing']}\n")
fields = [
("Purpose", "purpose"),
("Categories of data subjects", "data_subjects"),
("Categories of data", "data_categories"),
("Special categories", "special_categories"),
("Lawful basis", "lawful_basis"),
("Law or reference", "legal_reference"),
("Retention period", "retention"),
("Recipients", "recipients"),
("Processors", "processors"),
("International transfers", "transfers"),
("Security measures", "security_measures"),
("Impact assessment required", "dpia_required"),
("Last review", "last_review"),
]
for label, key in fields:
value = r.get(key, "").strip() or "-"
print(f"- **{label}:** {value.replace(';', '; ')}")
print()
print("\n---\n")
print("Document approved by the Managing Director and reviewed by the "
"Data Protection Officer.\n")
print("Signature: ________________________ Date: ________________")
def main():
p = argparse.ArgumentParser()
p.add_argument("csvfile")
g = p.add_mutually_exclusive_group(required=True)
g.add_argument("--validate", action="store_true")
g.add_argument("--generate", action="store_true")
args = p.parse_args()
with open(args.csvfile, newline="", encoding="utf-8") as fh:
rows = list(csv.DictReader(fh))
if args.validate:
sys.exit(1 if validate(rows) else 0)
generate(rows)
if __name__ == "__main__":
main()What this validator detects when run against Rutalia's rat.csv, and why each check earns its place:
[T-05] Vehicle geolocation (role: controller)
WARNING international transfer not assessed: complete the Chapter V
analysis before closing the RoPA
WARNING requires a DPIA: check that it is done and current
[T-07] MiRutalia portal (role: controller)
WARNING international transfer not assessed: complete the Chapter V
analysis before closing the RoPA
[T-08] Marketing communications (role: controller)
WARNING international transfer not assessed
[T-09] Corporate website and cookies (role: controller)
WARNING international transfer not assessed
======================================================================
Processing activities analysed: 11 | ERRORS: 0 | WARNINGS: 5- Check 3 (legitimate interest without a balancing test) is the one that prevents the most problems: writing «legitimate interest» in a cell costs nothing; doing the test does not.
- Check 4 (employee consent) catches the mistake in section 7 automatically.
- Check 6 (indefinite retention) is an Article 5(1)(e) breach disguised as administrative carelessness, and it appears in half the RoPAs you come across.
- Check 9 (out-of-date review) is the one that keeps the document alive: a RoPA from three years ago does not describe the company's reality and, in an inspection, is worse than not having one, because it proves that you knew you had to keep it and did not maintain it.
- Risk analysis and impact assessment: when it is mandatory
The GDPR distinguishes two levels:
- Risk analysis: an obligation implicit in Articles 24 and 32. Every organisation must assess the risk of its processing in order to decide on measures. It is lightweight and applies to everything.
- Data protection impact assessment (DPIA): a formal obligation under Article 35, where the processing is likely to result in a high risk to rights and freedoms.
Article 35(3) lists three cases in which a DPIA is mandatory in particular:
- A systematic and extensive evaluation of personal aspects based on automated processing, including profiling, on which decisions are based that produce legal effects or similarly significantly affect the person.
- Processing on a large scale of special categories under Article 9 or of data on convictions under Article 10.
- Systematic monitoring of a publicly accessible area on a large scale.
In addition, the authorities publish lists of processing operations that require a DPIA and lists of those that do not. In Spain, the AEPD's list includes cases such as processing for the purpose of monitoring employees, processing involving tracking of location or behaviour, and large-scale data processing.
flowchart TD
A["New processing or substantial<br/>change to an existing one"] --> B{"Does it fit any of the three<br/>cases in Art. 35(3)?"}
B -->|Yes| Z["<b>DPIA MANDATORY</b>"]
B -->|No| C{"Is it on the AEPD list<br/>of processing requiring a DPIA?"}
C -->|Yes| Z
C -->|No| D{"Does it meet two or more<br/>EDPB risk criteria?"}
D -->|Yes| Z
D -->|No| E{"Is it on the list of<br/>EXEMPT processing?"}
E -->|Yes| F["No DPIA required<br/>Document the decision"]
E -->|No| G["Simplified risk analysis<br/>Document the decision and review it"]
Z --> H["Carry out the DPIA"]
H --> I{"Is the residual risk still<br/>HIGH after the measures?"}
I -->|Yes| J["<b>PRIOR CONSULTATION with the AEPD</b><br/>Art. 36. Do not start the processing<br/>until a response is received"]
I -->|No| K["Start the processing<br/>Review the DPIA periodically"]
style Z fill:#b71c1c,color:#fff
style J fill:#e65100,color:#fff
style K fill:#1b5e20,color:#fff
The nine criteria of the European Data Protection Board (inherited from the guidelines of the former Article 29 Working Party), of which two or more indicate a likely high risk, are: evaluation or scoring; automated decision-making with legal or similarly significant effect; systematic monitoring; sensitive data or data of a highly personal nature; processing on a large scale; matching or combining datasets; data concerning vulnerable data subjects; innovative use or application of new technological solutions; and processing that prevents data subjects from exercising a right or using a service or contract.
Let us apply it to Rutalia's fleet geolocation:
| EDPB criterion | Is it met? |
|---|---|
| Systematic monitoring | Yes. Continuous tracking throughout the working day |
| Data of a highly personal nature | Yes. Location reveals habits and, in a vehicle that sometimes stays overnight at the driver's home, private life too |
| Processing on a large scale | Debatable: 60 drivers is not «large scale» in absolute terms, but it is in relation to the whole workforce and the monitoring is continuous |
| Evaluation or scoring | Not today. Yes if driver scoring were introduced |
| Vulnerable data subjects | Partly yes: the employment relationship places the worker in a position of imbalance, a criterion the EDPB considers relevant |
Three clear criteria, two debatable. The DPIA is mandatory, and in addition the AEPD's list points directly at processing that involves tracking the location of workers.
- The DPIA for fleet geolocation, worked through
This is EIPD-2029-01, approved by the committee on 7 May 2029. It is presented in full because it is the classic case in the sector and because its structure works for any other.
EIPD-2029-01 - DATA PROTECTION IMPACT ASSESSMENT
Processing T-05 - Geolocation of fleet vehicles
Rutalia Logistica, S.L. - Version 1.0 - 7 May 2029
Prepared by: L. Mendez with Datalex Compliance, S.L. (DPO)
Workers' legal representatives consulted: 2029-04-18
Approved by: A. Vidal (Managing Director), minutes CSI-2029-02
## 1. SYSTEMATIC DESCRIPTION OF THE PROCESSING
1.1. NATURE. Installation of telematics devices in 60 heavy goods
vehicles that transmit position, speed, driving and stopping times,
opening of the trailer doors and temperature of the refrigerated
semi-trailer, at a frequency of one reading every 60 seconds while the
vehicle is moving.
1.2. SCOPE. 60 drivers. Domestic journeys between the Zaragoza, Valencia
and Seville bases and customers' delivery points.
1.3. CONTEXT. The position is associated with the vehicle; the
vehicle-driver assignment is recorded in the traffic system. The
processing therefore makes it possible to identify the location of a
specific person at every moment of their working day.
1.4. DECLARED PURPOSES, and no others:
a) Security of the goods and the vehicle (locating it in the event of theft
or an incident; the fleet carries goods with an average value of EUR 38,000
per consignment).
b) Driver safety (locating them in the event of an accident or breakdown).
c) Route planning and optimisation and assignment of jobs.
d) Compliance with the contractually required cold chain.
e) Tracking information for the customer via MiRutalia
(estimated arrival, without exposing driver data).
1.5. PURPOSES EXPRESSLY EXCLUDED:
- Monitoring compliance with working hours.
- Assessment of the individual driver's performance.
- Taking disciplinary decisions based automatically on
the system's data.
Any use for these purposes would require a separate analysis,
a new lawful basis, new information and consultation with the workers'
legal representatives.
1.6. PROCESSOR. FleetTrack Iberica, S.L. Art. 28 contract signed on 2029-04-02.
Declared sub-processors: 1 (infrastructure provider in the EU).
1.7. RETENTION. 90 days with identifiable detail. Thereafter, anonymised
aggregates of mileage and consumption per route, with no possibility
of re-identification.
## 2. NECESSITY AND PROPORTIONALITY
2.1. LAWFUL BASIS: legitimate interest (Art. 6(1)(f) GDPR), with the balancing
test in section 2.3. Consent is not used because, in the context of an
employment relationship, it cannot be considered freely given.
2.2. NECESSITY. Three less invasive alternatives have been assessed:
a) Telephone contact on demand: rejected. It does not allow location
in the event of theft or a response to an accident with an incapacitated driver.
b) Recording position only at loading and unloading milestones:
partly rejected for (a) and (b), since theft typically occurs
in transit or at an unplanned stop.
c) Geolocation of the semi-trailer only and not of the tractor unit:
ASSESSED AND PARTLY ADOPTED for routes on which the
semi-trailer is uncoupled.
Conclusion: the processing is necessary for purposes (a), (b) and (d);
for (c) and (e) a lower granularity would suffice, and it is adopted.
2.3. BALANCING TEST
- Controller's interest: legitimate, current and specific (security of
valuable goods, safety of people, contractual cold chain obligation
with customers and with the CPAA).
- Impact on the data subject: HIGH in the abstract. Continuous tracking
of location throughout the working day affects privacy and can
create a feeling of permanent surveillance.
- Reasonable expectation: in the professional transport sector, the
existence of telematics is a reasonable expectation of the driver,
especially if informed. Tracking outside working hours is
not.
- Safeguards adopted (section 4), which reduce the impact to MEDIUM-LOW.
- CONCLUSION: with the safeguards in section 4, the legitimate interest
prevails. WITHOUT them, it would not prevail.
2.4. INFORMATION TO DATA SUBJECTS. In accordance with Art. 90 LOPDGDD: express,
clear and unambiguous information to the drivers and their legal
representatives on the existence and characteristics of the system and on
the exercise of rights. Hand-delivered against signature on 2029-04-25 (record
REG-RUT-03) and communicated to the legal representatives on 2029-04-18.
## 3. RISKS IDENTIFIED
| Id | Risk to rights and freedoms | Likelihood | Impact | Level |
|----|-----------------------------|------------|--------|-------|
| R1 | Excessive surveillance: tracking outside working hours or during breaks, including the driver's home when staying overnight with the vehicle | Medium | High | **HIGH** |
| R2 | Function creep: use of the data for time-keeping or disciplinary purposes | High | High | **HIGH** |
| R3 | Unauthorised access: location viewed by people with no functional need | Medium | Medium | MEDIUM |
| R4 | Excessive retention: build-up of history that makes it possible to reconstruct months of a person's life | Medium | High | **HIGH** |
| R5 | Breach at the supplier: compromise of the FleetTrack platform | Low | High | MEDIUM |
| R6 | Unplanned profiling: automatic driver scoring | Low | High | MEDIUM |
| R7 | Inability to exercise rights: the driver does not know what data exists about them or how to access it | Medium | Medium | MEDIUM |
| R8 | Indirect exposure to customers: MiRutalia showing the customer data that identifies the driver | Medium | Medium | MEDIUM |
## 4. MEASURES TO ADDRESS THE RISKS
| Risk | Measure | Owner | Verification |
|------|---------|-------|--------------|
| R1 | Automatic disabling of position logging outside the working hours assigned to the vehicle. A "private pause" button of 60 min a day available to the driver, with no justification required | FleetTrack / Traffic | Documented quarterly test: check that there are no records outside working hours |
| R1 | 1 km blurring radius around locations registered as an overnight home address | FleetTrack | Annual review of the configuration |
| R2 | Express prohibition in POL-RUT-06 and in the DPIA. The data is not exported to HR or to the time-keeping system. Any request to that effect is escalated to the DPO | Senior management | Annual audit of exports |
| R3 | Access limited to the `traffic_manager` role and two named people. MFA mandatory. **Logging of every position query** with user, date and vehicle queried | IT | Quarterly review of the query log (REG-RUT-05) |
| R4 | Automatic deletion of the detail after 90 days. Anonymised aggregates with no vehicle or driver identifier | FleetTrack / IT | Six-monthly check verifying that no history remains |
| R5 | Art. 28 contract with notification within 24 h. Security questionnaire answered. Annual review. Data hosted in the EU | Purchasing / IT | Annual supplier review (see 06-04) |
| R6 | Scoring function **disabled** on the platform. Enabling it would require a new DPIA, analysis under the EU AI Act and consultation with the legal representatives | IT | Annual configuration screenshot |
| R7 | Rights procedure PRO-RUT-08 with a specific form. Information hand-delivered and posted on the noticeboard at the three warehouses | HR | Log of requests and response times |
| R8 | MiRutalia shows only status and estimated arrival. It does not expose the exact position or the driver's identity | Development | Review of the API design in each release |
## 5. RESIDUAL RISK AND CONCLUSION
After applying the measures in section 4, the residual risk stands at
MEDIUM-LOW for R1, R3, R4, R5, R6, R7 and R8, and at MEDIUM for R2, which
depends on an organisational rather than a technical measure and requires
specific oversight by the DPO.
NO HIGH residual risk is identified, so prior consultation with the AEPD
under Article 36 is NOT required.
The DPO issues a favourable opinion on condition that the measures relating to
R1 (disabling outside working hours) and R3 (query logging) are
implemented and verified BEFORE processing begins with the new
configuration.
## 6. REVIEW
Ordinary review: annual (next, May 2030).
Mandatory extraordinary review in the event of: a change of supplier, enabling of
any scoring or profiling function, extension of purposes,
a security incident affecting T-05, or a significant regulatory change.What makes this DPIA good, and distinguishes a real assessment from a filled-in form:
- Section 1.5 declares what is NOT done. It is the most valuable section of the document: it turns purpose limitation into a written, verifiable commitment and gives the workers' legal representatives something concrete to hold on to.
- Section 2.2 documents the alternatives rejected and why. Without this section, the necessity test is an assertion. With it, it is auditable reasoning. And notice that one of the alternatives is partly adopted: that shows the assessment influenced the design, which is exactly its function.
- Section 2.3 concludes with a decisive sentence: «without the safeguards, it would not prevail». Acknowledging that forces them to be genuinely implemented.
- The measures have a verification, not just an owner. «Documented quarterly test: check that there are no records outside working hours» is evidence you can show.
- The DPO makes the favourable opinion conditional. A DPIA in which the DPO says «looks fine to me» without conditions is usually a DPIA nobody has read.
- Informing data subjects: the layered privacy notice
Articles 13 and 14 require information to be given, and the list of contents is long. Putting all of it on a form produces a wall of text that nobody reads and that, paradoxically, breaches the transparency principle by being unintelligible.
The accepted solution is layered information:
First layer (next to the form, brief):
BASIC DATA PROTECTION INFORMATION
Controller Rutalia Logistica, S.L. (B-99XXXXXX)
Purpose To manage your registration as a user of the MiRutalia
portal and provide you with the shipment tracking service.
Lawful basis Performance of the contract entered into with your company.
Recipients Data will not be disclosed to third parties except where
required by law. Hosting providers are used as processors.
Rights Access, rectify and erase your data, and exercise other
rights, by writing to [email protected].
Additional
information See the detailed information at
https://www.rutalia.example/privacidad/mirutaliaSecond layer (full web page), which adds: the identity and contact details of the controller and of the DPO; a detailed description of purposes and bases; the specific legitimate interests where that is the basis; categories of data; recipients and categories of recipients; international transfers and their safeguards, with a reference to where a copy can be obtained; retention periods or the criteria used to determine them; all rights, including withdrawal of consent and lodging a complaint with the AEPD; whether provision of the data is mandatory and the consequences of not providing it; and the existence of automated decision-making, with the logic involved and the envisaged consequences.
Three extremely common mistakes in SME privacy notices:
- Saying «your data will not be disclosed to third parties» when suppliers are used. A processor is not a recipient of a disclosure in its own right, but leaving out its existence when the detailed information must include categories of recipients is an omission. The correct wording distinguishes the two concepts.
- Not stating the retention period, or writing «for as long as necessary». You have to give the period or the criteria for determining it.
- Copying another company's notice, which means informing people of purposes that are not carried out and leaving out those that are. An incorrect privacy notice is a transparency infringement that is perfectly visible from outside.
- Data subject rights and how to handle them on time
| Right | Article | What the data subject can ask for | Limits and nuances |
|---|---|---|---|
| Access | 15 | To know whether their data is processed, which data, for what purpose, to whom it is disclosed, how long it is kept, and to obtain a copy | The right to a copy must not adversely affect the rights of others. In an email, other people's data must be anonymised |
| Rectification | 16 | To correct inaccurate data and complete incomplete data | — |
| Erasure («right to be forgotten») | 17 | Deletion when the data is no longer necessary, consent is withdrawn, there is an objection with no overriding grounds, or the processing is unlawful | Does not apply where there is a legal obligation to retain or for the establishment or defence of legal claims |
| Objection | 21 | To object on grounds relating to their particular situation where the basis is legitimate interest or a public task | The controller must stop unless it demonstrates compelling legitimate grounds that override. For direct marketing, the objection is absolute and without exceptions |
| Restriction | 18 | For the data to be kept but not processed while a challenge to accuracy or an objection is resolved | It is an interim measure, not deletion |
| Portability | 20 | To receive their data in a structured, commonly used and machine-readable format, and to transmit it to another controller | Only if the basis is consent or contract and the processing is automated. It does not apply to legitimate interest |
| Automated decisions | 22 | Not to be subject to a decision based solely on automated processing with legal or similarly significant effects; to obtain human intervention | Exhaustively listed exceptions (contract, law, explicit consent), always with safeguards |
The internal procedure: PRO-RUT-08
The deadline is one month from receipt, extendable by two further months in complex cases, informing the data subject of the extension and the reasons within the first month. If the request is not acted on, the data subject must be informed of the reasons and of the right to complain to the AEPD, also within one month.
flowchart TD
A["A request arrives<br/>through any channel:<br/>email, letter, in person, phone"] --> B["<b>DAY 0</b><br/>Log in REG-RUT-14<br/>with date and time received"]
B --> C{"Are we the CONTROLLER<br/>of this data?"}
C -->|"No: we are the processor"| D["Pass it to the controller<br/>within 48 h and inform<br/>the data subject that this has been done"]
C -->|Yes| E{"Has identity<br/>been verified?"}
E -->|No| F["Request verification.<br/>The clock does NOT stop unless<br/>there is justified reasonable doubt"]
E -->|Yes| G{"Which right is being exercised?<br/>Classify it, even if the<br/>data subject calls it the wrong thing"}
G --> H["Locate the data<br/>using the RoPA as a map"]
H --> I{"Should it be granted<br/>in full or in part?"}
I -->|Yes| J["Carry it out and reply<br/>in writing"]
I -->|"In part or no"| K["Reply GIVING REASONS<br/>and informing of the right to<br/>complain to the AEPD"]
I -->|"Complex case"| L["Extend by 2 months<br/><b>communicating it before<br/>day 30</b>"]
L --> J
J --> M["<b>BEFORE DAY 30</b><br/>File the reply and receipt<br/>in REG-RUT-14"]
K --> M
style B fill:#1a237e,color:#fff
style M fill:#1b5e20,color:#fff
style D fill:#e65100,color:#fff
Four operational details that decide whether the procedure works:
- The clock runs from receipt through any channel. If a driver hands in a letter at the Seville warehouse and it takes nine days to reach Zaragoza, you have already used up nine days. That is why the procedure must instruct all staff to forward requests immediately to
[email protected]. - You must classify the right, not accept the data subject's label. Someone who writes «I want you to delete my phone number from your database» may be exercising rectification, erasure or objection. Classifying it correctly is the controller's responsibility.
- The response is free of charge. A reasonable fee may only be charged for manifestly unfounded or excessive requests, and you must be able to justify that classification.
- Replying «not applicable» within the deadline is compliance. Not replying is an infringement. The most common infringement is not refusing wrongly: it is silence.
Template reply to a right of access
Rutalia Logistica, S.L. - [email protected]
Case: DER-2029-014 - Type: ACCESS (Art. 15 GDPR)
Date received: 12 June 2029 - Date of reply: 3 July 2029
Dear [name],
In response to your access request received on 12 June 2029, and your
identity having been verified, we inform you of the following.
1. CONFIRMATION. Rutalia Logistica, S.L. processes personal data concerning you.
2. PROCESSING ACTIVITIES IN WHICH YOUR DATA APPEARS
a) T-01 Personnel management and payroll
Purpose: employment management and compliance with legal obligations.
Basis: legal obligation and performance of the employment contract.
Categories: identification, contact, financial, employment,
trade union membership (for the deduction of dues) and occupational fitness.
Retention: 4 years from leaving; 10 years for data relevant to tax
and social security contributions.
Recipients: TGSS, AEAT, occupational insurance mutual, bank and the payroll
bureau Gestoria Ebro Asesores, S.L. as data processor.
b) T-02 Working time records. [idem]
c) T-05 Vehicle geolocation. [idem]
d) T-04 CCTV. Please note that images are kept for a maximum of one
month, so as at the date of this reply there are no images
relating to dates prior to 3 June 2029.
3. COPY OF THE DATA. Attached:
- Annex I: employee record (identification and employment data).
- Annex II: working time records for the last year.
- Annex III: geolocation records for the last 90 days associated with
the vehicles assigned to you, in CSV format.
The personal data of third parties that appeared in some records has
been omitted or anonymised, in accordance with Article 15(4) GDPR.
4. INTERNATIONAL TRANSFERS. [State whether there are any and their safeguards.]
5. SOURCE OF THE DATA. Provided by you and generated in the course of
the employment relationship.
6. AUTOMATED DECISIONS. No decisions are taken based solely on automated
processing that produce legal effects concerning you or similarly
significantly affect you.
7. YOUR RIGHTS. You may request rectification, erasure, objection,
restriction and portability of your data, under the terms of the GDPR,
by writing to [email protected]. You may also lodge a complaint
with the Spanish Data Protection Agency (www.aepd.es).
Yours sincerely,
Data Protection Officer
Rutalia Logistica, S.L.Point 3 is the one that causes the most trouble in practice: the right to a copy runs up against third parties' data. The solution is not to refuse access; it is to hand over the copy with third parties' data omitted or anonymised, and to record that this has been done and why.
- Retention periods, blocking and erasure
Storage limitation is the principle most often breached, because breaching it costs nothing in the short term: disks are cheap and deleting is frightening.
But keeping too much has three very specific costs: it increases the impact of any breach (the 11.42 GB exfiltrated in INC-2028-014 included files that should not have existed), it multiplies the work of handling a right of access, and it is an infringement in itself.
Rutalia's retention policy, derived from the RoPA:
| Data | Period | Grounds | Action on expiry |
|---|---|---|---|
| CVs of unsuccessful candidates | 1 year with consent; immediately without it | Consent / data minimisation | Automated erasure |
| Personnel file | 4 years from leaving | Limitation period for employment law infringements | Blocking, then erasure |
| Payslips and social security contributions | 10 years | Limitation periods for Social Security and tax obligations | Blocking, then erasure |
| Invoices and commercial documentation | 6 years (Commercial Code) / 4 years (tax) | The longer applies | Erasure of the ancillary personal data |
| CCTV images | 1 month maximum | Art. 22.3 LOPDGDD | Automatic deletion, unless blocked because of an incident |
| Detailed geolocation | 90 days | EIPD-2029-01 | Anonymisation and aggregated retention |
| Security and access logs | 12 months | POL-RUT-02 sec. 7.3 | Erasure, unless there is an open case file |
| Marketing contacts after unsubscribing | 3 years | Evidence of the unsubscription | Minimal retention: only the suppression identifier |
| Incident case file | 5 years | Limitation of actions and defence of claims | Review and erasure |
Blocking under Article 32 of the LOPDGDD
An important Spanish nuance: when erasure applies, the LOPDGDD requires the data to be blocked instead of being destroyed immediately. Blocking consists of setting the data aside, preventing its processing except to make it available to judges, courts, the Public Prosecutor's Office or the competent authorities, for the limitation period of any possible liabilities. Only then is it definitively erased.
In practice this means that «erasing» has two phases, and that systems must be designed to be able to do it: a blocked area, with restricted access, logged and with its own period.
#!/usr/bin/env bash
# purga_conservacion.sh - Applies Rutalia's retention policy.
# Runs on the 1st of each month on bastion01. ALWAYS in simulation mode
# first: personal data is not deleted blindly.
set -euo pipefail
MODE="${1:-simulate}" # simulate | execute
TODAY=$(date +%F)
REPORT="/var/log/rgpd/purga_${TODAY}.log"
mkdir -p "$(dirname "$REPORT")"
log_line() { printf '%s | %s\n' "$(date -Is)" "$*" | tee -a "$REPORT"; }
purge() {
local description="$1" path="$2" days="$3"
local n
n=$(find "$path" -type f -mtime "+${days}" 2>/dev/null | wc -l)
log_line "[${description}] files older than ${days} days in ${path}: ${n}"
if [[ "$MODE" == "execute" && "$n" -gt 0 ]]; then
# They are listed BEFORE deletion: the report is the evidence of erasure.
find "$path" -type f -mtime "+${days}" -printf '%p %TY-%Tm-%Td\n' >> "$REPORT"
find "$path" -type f -mtime "+${days}" -delete
log_line "[${description}] ERASED ${n} files"
fi
}
log_line "=== Retention purge (mode: ${MODE}) ==="
# T-03 CVs without consent to retain: 30 days.
purge "T-03 CV without consent" "/srv/rrhh/seleccion/sin_consentimiento" 30
# T-03 CVs with consent: 365 days.
purge "T-03 CV with consent" "/srv/rrhh/seleccion/con_consentimiento" 365
# T-04 CCTV: 1 month. The NVR has its own rotation; this watches the manual
# exports, which is where forgotten copies pile up.
purge "T-04 Video exports" "/srv/videovigilancia/exportaciones" 30
# T-05 Geolocation: anonymisation is carried out by the supplier. Here we only
# CHECK and record it; if it fails, it is a non-compliance by the processor.
log_line "[T-05] Checking there is no detail older than 90 days..."
if psql -tAq -h srv-db01 -U rgpd_audit -d flota \
-c "SELECT count(*) FROM posiciones WHERE ts < now() - interval '90 days';" \
| grep -qv '^0$'; then
log_line "[T-05] *** NON-COMPLIANCE: positions older than 90 days exist ***"
log_line "[T-05] Open an issue with FleetTrack Iberica S.L. (processor)"
fi
log_line "=== End. Report: ${REPORT} ==="
# The monthly report is kept for 5 years: it is the EVIDENCE that the retention
# policy is applied. Without it, the policy is a statement of intent.Look at the last line of the comment: the purge report is as important as the purge. It is what you show in an audit to demonstrate that the retention period is not a cell in the RoPA but a fact.
- The data protection officer: when and what for
Article 37 requires a DPO to be appointed in three cases: where the processing is carried out by a public authority or body; where the core activities consist of processing operations that require regular and systematic monitoring of data subjects on a large scale; or where they consist of processing on a large scale of special categories or of data on convictions.
In addition, Article 34 of the LOPDGDD lists entities that must appoint one in all cases (professional associations, educational establishments, financial institutions and insurers, information society service providers that carry out large-scale profiling, private security companies, among others).
And Rutalia? The analysis is the same kind of honest reasoning we applied to NIS2:
| Criterion | Assessment |
|---|---|
| Public authority? | No |
| Regular and systematic monitoring on a large scale? | Debatable and highly relevant. The geolocation of 60 drivers is regular and systematic monitoring. Whether it is «on a large scale» depends on the number of data subjects, the volume of data, the duration and the geographical extent. 60 people is not large scale in absolute terms, but the processing is continuous, throughout the working day and long-lasting |
| Special categories on a large scale? | No. Health data is limited to fitness for work and is handled by the occupational health and safety service |
Rutalia's decision: when in doubt, appoint a DPO voluntarily, in the form of an external provider. There are three reasons, and all three are good general advice:
- Reasonable doubt is resolved by appointing. Appointing without being obliged to has no legal drawback; failing to appoint when obliged to is an infringement.
- An external DPO costs less than you might think in an SME (in Rutalia's case, €4,200 a year within the legal advice budget line) and brings real independence.
- It is first-class evidence before customers, auditors and the AEPD itself.
What a DPO does, according to Article 39: informs and advises, monitors compliance, advises on the DPIA and monitors its performance, cooperates with the supervisory authority and acts as a contact point. And what it does not do: decide on processing (that belongs to the controller), carry out the measures, or answer personally for the company's infringements.
Its independence is a legal requirement: it may not receive instructions regarding the performance of its tasks, it may not be dismissed or penalised for performing them, and it must report to the highest level of management. That is why, in an SME, appointing the head of IT as DPO is almost always a bad idea: they would end up supervising their own work.
- Security of processing: Article 32 and your controls
Article 32 does not impose a list of measures: it imposes a criterion. Appropriate technical and organisational measures must be applied to ensure a level of security appropriate to the risk, taking into account the state of the art, the costs of implementation and the nature, scope, context and purposes of processing, as well as the risks of varying likelihood and severity for rights and freedoms.
And it mentions, «inter alia», four families of measures:
| Article 32(1) | What it requires | What Rutalia has (modules 2-5) |
|---|---|---|
| a) Pseudonymisation and encryption | Reduce identifiability and protect confidentiality | Encryption at rest (BitLocker on computers, encryption of the restic backups, S3 with encryption), TLS in transit, key management with paper custody and dual control (02-04) |
| b) Ongoing confidentiality, integrity, availability and resilience | The three pillars, on a continuous basis | Measurable CIA triad and 4-level classification (02-01); RBAC and MFA (02-02, 02-03); VLAN segmentation, nftables, Suricata (03-03, 03-04); hardening and patching (04-01); EDR/MDR (04-02) |
| c) Restore availability and access in a timely manner in the event of an incident | Proven recovery capability | 3-2-1-1-0 backups with immutability, RTO/RPO per asset, and —the decisive part— documented restore verification and the drill of 20/10/2028 (05-05) |
| d) Regularly test, assess and evaluate effectiveness | Periodic checking | Vulnerability management with Greenbone, the pentest of 11/2027, tabletop exercises, and the audits in 06-05 |
Two important conclusions from this table.
The first: if you have followed this course, you already meet the technical part of Article 32 better than most companies of your size. What is missing is not technology: it is the document that connects it to the law. This table, expanded to two pages with references to specific evidence, is exactly what you hand to an auditor or attach to a breach notification to demonstrate diligence.
The second: point d) is the one almost nobody meets. «Regularly testing, assessing and evaluating the effectiveness» means that having backups is not enough: you have to prove that they restore, with a date and a result. Having MFA is not enough: you have to measure the coverage. It is the same idea that runs through the whole of module 6 and becomes a method in the last lesson.
- Personal data breaches: what is notifiable
A personal data breach (the GDPR's term; in everyday speech we simply say «breach») is any 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.
There are three types, and it is worth being clear about them because the second and third are forgotten:
| Type | What happens | Example at Rutalia |
|---|---|---|
| Confidentiality | Unauthorised access or disclosure | Exfiltration of 11.42 GB in INC-2028-014; an email with the recipient list sent to the wrong address |
| Integrity | Unauthorised alteration | Delivery addresses modified by an attacker; corruption of a database |
| Availability | Loss of access or destruction | Ransomware that encrypts fs01; accidental deletion with no backup; loss of an unencrypted laptop |
The availability breach is the great forgotten one. Encryption by ransomware is a personal data breach even when there has been no exfiltration, because data subjects lose access to services and the company loses the ability to respond to their rights. If recovery from backup is fast and complete, the risk may be low; if it is not, you have to notify.
What must always be done, whether or not you notify
Article 33(5) requires any breach to be documented, with its facts, effects and remedial action, so that the authority can verify compliance. In other words:
- If you assess that there is no risk and do not notify: you document it, with the reasoning.
- If you notify: you document it all the same.
The internal breach register (REG-RUT-15) is, together with the RoPA, the first thing the AEPD asks for. An empty register in a company of 180 people with six years of activity does not convey «we have had no breaches»: it conveys «we do not detect them or we do not record them».
- The 72-hour clock and the decision flow
Article 33(1) requires notification to the supervisory authority without undue delay and, where feasible, not later than 72 hours after having become aware of it, unless the breach is unlikely to result in a risk to the rights and freedoms of natural persons. Where notification is made later, it must be accompanied by reasons for the delay.
The three traps in that paragraph:
- «Having become aware» is not «having occurred». The INC-2028-014 clock did not start on 27 June 2028, when
mruiz-jtopened the file, but on 9 July at 05:04Z, when the canary fired and Rutalia became aware. That is a difference of eleven days. - «Awareness» is not «absolute certainty» either. You cannot wait until the forensic analysis is finished. Awareness exists when there is a reasonable degree of certainty that a security incident has occurred that has compromised personal data. The GDPR expressly provides for notification in phases (Art. 33(4)) precisely for this.
- The 72 hours are calendar hours, not working hours. They include weekends and public holidays. Rutalia's canary fired on a Sunday at 05:04.
flowchart TD
A["A security incident is detected"] --> B{"Does it affect<br/>personal data?"}
B -->|No| C["Not a GDPR breach.<br/>Technical handling per module 5.<br/>It may still be a<br/>NIS2 or contractual incident"]
B -->|"Yes or likely"| D["<b>THE CLOCK STARTS</b><br/>Record the exact date and time<br/>of AWARENESS"]
D --> E{"Are we the controller<br/>or the processor?"}
E -->|Processor| F["Notify THE CONTROLLER<br/>without undue delay<br/>(contract: 24 h)<br/><b>The AEPD is not notified</b>"]
E -->|Controller| G["Assess the risk to the<br/>RIGHTS AND FREEDOMS<br/>of individuals"]
G --> H{"Was the data<br/>encrypted with a key<br/>that was not compromised?"}
H -->|Yes| I["Greatly reduced risk:<br/>decisive factor in the assessment"]
H -->|No| J["Assess: type of breach,<br/>nature and volume of data,<br/>ease of identification,<br/>severity of consequences,<br/>characteristics of data subjects,<br/>number of people affected"]
I --> K
J --> K{"Is it UNLIKELY to<br/>result in a risk?"}
K -->|"Yes, unlikely"| L["<b>NOT notified</b><br/>BUT documented in<br/>REG-RUT-15 with the<br/>full reasoning"]
K -->|"There is a risk"| M["<b>NOTIFY THE AEPD</b><br/>Maximum 72 h from awareness<br/>In phases if information is missing"]
M --> N{"Is the risk likely to be<br/>HIGH for<br/>rights and freedoms?"}
N -->|No| O["AEPD only.<br/>Document"]
N -->|Yes| P{"Does any exception<br/>in Art. 34(3) apply?<br/>prior encryption, subsequent<br/>measures, disproportionate<br/>effort"}
P -->|Yes| Q["No individual communication.<br/>If disproportionate effort:<br/><b>public communication</b>"]
P -->|No| R["<b>COMMUNICATE TO THOSE AFFECTED</b><br/>without undue delay,<br/>in clear and plain language"]
L --> S["Close in REG-RUT-15"]
O --> S
Q --> S
R --> S
F --> S
style D fill:#b71c1c,color:#fff
style M fill:#e65100,color:#fff
style R fill:#e65100,color:#fff
style L fill:#1b5e20,color:#fff
The criteria for assessing risk
There is no formula, but there is a list of factors consolidated in the European guidelines:
| Factor | Increases the risk | Reduces it |
|---|---|---|
| Type of breach | Disclosure of intimate data | Loss of availability recovered from backup within minutes |
| Nature and sensitivity | Health, financial data, identity documents, combinations that enable impersonation | Public professional data |
| Ease of identification | Name + ID number + address | Pseudonymised data with a separate lookup table that has not been compromised |
| Severity of consequences | Fraud, identity theft, reputational damage, discrimination, physical risk | Minor inconvenience |
| Characteristics of data subjects | Minors, vulnerable people, employees in a position of imbalance | Professional contacts |
| Number of people affected | Thousands | One |
| Prior measures | Data in clear text | Strong encryption with an uncompromised key |
| Reversibility | Data published on a forum | An email sent in error to a trusted recipient who confirms deletion |
The factor with the most practical weight is prior encryption: recital 83 and the exception in Article 34(3)(a) itself expressly recognise it. An encrypted laptop lost on a train and an unencrypted laptop lost on a train are two legally different situations.
- The notification for INC-2028-014, drafted
This is the actual document Rutalia submitted through the AEPD's electronic office on 11 July 2028 at 17:30, with the deadline falling on 12 July at 07:04. It is reproduced in full because it is the best possible summary of everything above.
NOTIFICATION OF A PERSONAL DATA BREACH
Article 33 of Regulation (EU) 2016/679
Submitted to the Spanish Data Protection Agency (AEPD)
Internal reference: NOT-AEPD-2028-00417 - Internal incident: INC-2028-014
Type of notification: INITIAL (supplementary notifications are expected
in accordance with Article 33(4))
Date and time of submission: 11 July 2028, 17:30 CEST
## 1. DATA CONTROLLER
Company name: Rutalia Logistica, S.L.
Tax ID: B-99XXXXXX
Registered address: [address], Zaragoza
Sector of activity: goods transport and distribution
Number of employees: 180
Data Protection Officer: Datalex Compliance, S.L.
Contact: [email protected] - [telephone]
Contact person for this notification: Laura Mendez, Head of IT and
Security.
## 2. RELEVANT DATES
Estimated start date of the incident: 27 June 2028, 10:12 CEST
Date on which the unauthorised access ended: 9 July 2028, 09:01 UTC
**Date and time of awareness of the breach: 9 July 2028, 05:04 UTC**
Date of this notification: 11 July 2028, 17:30 CEST
Notification within the 72-hour deadline: YES
Justification of the time of awareness: the organisation became aware of the
breach at 05:04 UTC on 9 July 2028, when an alert was triggered by a decoy
file ("canary") deliberately placed on a file share, access to which
set off the investigation. Before that moment there were no indications
that would have allowed the organisation to consider that unauthorised
access to personal data had taken place.
## 3. NATURE OF THE BREACH
Type: **confidentiality** (unauthorised access and exfiltration) and, partially
and temporarily, **availability**.
Description of the facts:
On 27 June 2028, an employee received and opened an office
document containing malicious macros sent from an address impersonating
a regular supplier. Running the macro installed a persistence mechanism
on the computer. Between 27 June and 9 July, the attacker obtained the
credentials of an account with administrative privileges, accessed a
domain controller and browsed the file shares of the
organisation.
At 05:04 UTC on 9 July, the decoy file alert was triggered. The incident was
declared and the response plan activated. At 09:01 UTC the isolation of the
affected systems was completed and the unauthorised access
ceased.
Analysis of the outbound traffic logs has determined that approximately
62 GB of information was staged for extraction and that **11.42 GB** was
actually transferred to infrastructure controlled by the
attacker.
## 4. CATEGORIES AND APPROXIMATE NUMBER OF DATA SUBJECTS AFFECTED
| Category of data subjects | Approximate number |
|---------------------------|--------------------|
| Current and former employees | 214 |
| Contact persons at business customers | 630 |
| Consignment recipients (data processed on behalf of customers) | under analysis |
| Candidates in recruitment processes | 87 |
Estimated total of data subjects affected: **931**, pending confirmation
once the analysis of the exfiltrated content is complete.
## 5. CATEGORIES AND APPROXIMATE NUMBER OF RECORDS AFFECTED
Categories of personal data contained in the exfiltrated information:
- Identification and contact data: first name, surnames, national ID number,
address, telephone and email (employees, customer contacts and candidates).
- Financial and employment data: bank account number, salary, job
category, length of service and working hours (employees).
- Trade union membership data, in the case of the 19 people with union dues
deducted from payroll. **Special category under Article 9.**
- Data on the occupational fitness of 42 drivers, in documents used to
manage medical examinations. **Special category under Article 9.**
- Professional contact details of customer contact persons.
- Candidates' CVs.
Approximate number of records: 11,400 documents.
There is no evidence that the exfiltrated information included passwords in
clear text. Domain credentials are stored by means of hash functions; even so,
a forced reset of all credentials has been carried out.
## 6. LIKELY CONSEQUENCES OF THE BREACH
The breach is considered likely to result in a **HIGH risk** to the
rights and freedoms of the persons affected, for the following reasons:
a) The combination of name, ID number, address and bank account enables
attempts at identity theft and fraud.
b) The information includes special category data (trade union membership
and occupational fitness) that could give rise to discrimination.
c) The attacker has sent a ransom demand with a threat of
publication, which increases the likelihood of disclosure.
d) The professional contact details could be used for impersonation
campaigns targeting the organisation's customers.
## 7. MEASURES TAKEN AND PROPOSED
Containment and eradication measures already carried out:
- Network isolation of the compromised computers and servers (9/7, 09:01 UTC).
- Disabling of the compromised accounts and reset of the credentials of
all domain accounts, including administrative ones.
- Rebuilding of the compromised systems from scratch, with restoration
from verified backups predating the date of compromise.
- Removal of the persistence mechanism identified and search for
equivalent indicators across the rest of the estate.
- Blocking of the attacker's infrastructure at the perimeter.
- Preservation of evidence with a documented chain of custody.
Measures to mitigate the risk to data subjects:
- Communication to data subjects in accordance with Article 34 (under way).
- Setting up a dedicated helpline for the persons affected.
- Individual recommendations to monitor bank transactions and to be
alert to fraudulent communications.
- Communication to customers whose contacts are among those affected, with
a warning about possible impersonation fraud attempts.
Structural corrective measures approved:
- Action plan of twelve measures (internal reference A-01 to A-12), with
owner, deadline and verification, funded with EUR 12,440, including the
rollout of multi-factor authentication for all access, the
separation of administrative accounts, restricting the execution of
macros in documents from outside the organisation and strengthening the
monitoring of data exfiltration.
## 8. OTHER COMMUNICATIONS MADE
- Report to the State Security Forces: filed on
10 July 2028.
- Notification to the insurer: 9 July 2028.
- Communication to the customers on whose behalf data is processed, in the
capacity of data processor: under way.
## 9. MEASURES TAKEN IN RESPECT OF THE RANSOM DEMAND
The organisation has received a demand for payment of EUR 180,000 with a threat
to publish the information. **The organisation has decided not to comply with
that demand**, after taking legal advice, and has chosen to notify, communicate
with those affected and strengthen its measures.
## 10. PENDING INFORMATION
A thorough analysis of the content actually exfiltrated is under way,
in order to establish the exact number of data subjects and of
records by category. A supplementary notification will be sent in accordance
with Article 33(4) as soon as this information is available, and in any
event before 25 July 2028.
Signed: Data Protection Officer of Rutalia Logistica, S.L.What makes this notification correct
- It distinguishes precisely between the start date and the date of awareness, and justifies it. This is the point the AEPD looks at first. A notification that says «the incident began on 27 June» and is submitted on 11 July, without explaining when awareness occurred, looks like a notification fifteen days late.
- It is an initial notification and it says so. Invoking Article 33(4) and committing to a date for the supplementary information is much better than waiting to have everything and arriving late.
- It does not play things down. It declares the special category data, it declares the ransom demand and it declares that it may result in a high risk. Playing things down in a notification and then having the opposite proved is the worst possible scenario: it turns an incident into a credibility problem.
- It details the measures already taken with specific times. This is the way to demonstrate diligence: 3 h 57 min passed between awareness and containment.
- It states that the ransom is not being paid. It is consistent with the decision and heads off later questions.
- It includes the processor dimension. Point 8 acknowledges that there is data processed on behalf of customers and that they are being informed, which is a different, simultaneous obligation.
What would have happened if the notification had been late
It is worth making the counterfactual explicit, because it is the argument that convinces senior management:
| Scenario | Consequence |
|---|---|
| Notification on time (what happened) | The breach is an unfortunate event handled with diligence. Cooperation with the authority is a mitigating factor (Art. 83(2)(f)) |
| Notification at 96 hours without justification | A separate infringement of Article 33. It is added to the assessment of the main incident. The AEPD will examine why it took so long |
| Notification at 96 hours with justified reasons | Article 33(1) expressly allows it if the reasons for the delay are given. The quality of that justification is everything |
| Not notifying, and the breach becoming known through publication of the data on 26 July | The worst scenario. Infringement of Article 33, probable infringement of Article 34, complete loss of the mitigating factor of cooperation and an investigation that will go back over the whole compliance programme |
| Not notifying after assessing in writing that risk was unlikely | It would be a defensible decision if the reasoning were sound, which is not the case here: there are special categories, 931 people affected and a threat of publication. But at least there would be a documented decision, not an oversight |
The operational lesson is in the last row: what protects you is not always getting it right, it is having reasoned it through and documented it. And the organisational lesson is in how the deadline was met: by fourteen hours, and because somebody looked at the clock. In Rutalia's revised plan, starting the 72-hour clock is now an explicit step in the playbook, with a named owner, and it is rehearsed in the tabletop exercises.
- Communication to the 400 customers and to the employees affected
Article 34 requires the breach to be communicated to the data subject without undue delay where it is likely to result in a high risk to their rights and freedoms. Rutalia assessed that it was, and communicated on two separate fronts with different content.
Mandatory content (Art. 34(2)): a description in clear and plain language of the nature of the breach; the DPO's contact details; the likely consequences; and the measures taken or proposed, including, where appropriate, recommendations to the data subject to mitigate the effects.
To employees
COMMUNICATION TO EMPLOYEES
Rutalia Logistica, S.L. - 12 July 2028
We want to tell you directly, and as soon as possible, about something that affects you.
WHAT HAS HAPPENED
Between 27 June and 9 July, a person from outside the company accessed our
systems without authorisation and copied information from our files. We
detected it first thing on 9 July and cut it off that same morning. We have
reported it to the Spanish Data Protection Agency and have filed a
complaint with the police.
WHAT INFORMATION ABOUT YOU MAY BE AFFECTED
According to our analysis, the information copied includes documents with:
- your name, ID number, address, telephone number and email;
- your payroll details, including your bank account number;
- for those who have union dues deducted, that fact;
- for drivers, the fitness result from the occupational medical
examination (fitness only, not the medical report).
We have found no indication that passwords were copied in readable text.
Even so, we have changed all the company's passwords as a precaution.
WHAT RISK THIS POSES FOR YOU
The main risk is that someone will try to pass themselves off as you or as the
company in order to obtain money or more information. Specifically:
- emails or calls claiming to be from your bank, from the company or from a
public authority, and that know real details about you (that is what makes
them believable);
- attempts to change bank direct debit details;
- messages asking you to click on a link or provide passwords.
WHAT WE RECOMMEND YOU DO
1. Check the transactions on your bank account over the coming months.
2. Be wary of any communication asking you for data or money, even if it
knows information about you. Always verify through a channel you know.
3. Do not reuse on other services the password you used here.
4. If you notice anything odd, let us know at [email protected] or on 017.
WHAT WE ARE DOING
We have rebuilt the affected systems, reset all credentials and
launched a twelve-point plan of reinforcement measures. You can ask anything
you like, without any restriction, of:
- Data Protection Officer: [email protected]
- Laura Mendez, Security Manager: extension 017
You have the right to lodge a complaint with the Spanish Data
Protection Agency (www.aepd.es).
We deeply regret this situation. We will keep you informed of any
relevant developments.
Andres Vidal
Managing DirectorThis letter is signed by the managing director, not by the IT department. It is a deliberate decision: communicating a breach to the people in your own workforce is an act of management, and signing it from IT turns it into a technical matter when it is a matter of trust.
To the 400 business customers
The communication to customers is different in content and in purpose, and it was sent in segments:
| Group | No. | Specific content |
|---|---|---|
| Customers whose contacts are among those affected | 214 | Full Art. 34 communication plus a specific warning about the risk of impersonation fraud |
| Customers on whose behalf Rutalia processes data (processor) | 31 | Communication as processor: facts, data affected and all the information needed for them to assess and, where appropriate, notify the AEPD. Rutalia does not notify on their behalf |
| All other customers | 155 | Information only: none of their data is affected, but they may receive fraudulent emails impersonating Rutalia |
The third group is the one most companies leave out and the one that prevents the most problems. If the attacker publishes Rutalia's internal emails on 26 July, the unaffected customers are going to find out anyway, and it is far better for them to find out from Rutalia on the 12th than from a forum on the 26th.
A paragraph that was included in all three versions and turned out to be the most useful of all:
IMPORTANT: OUR BANK DETAILS HAVE NOT CHANGED. If you receive any communication - email, letter or call - indicating a change to Rutalia Logistica's bank account for the payment of invoices, it is FRAUDULENT. Always check by calling your usual contact person on the number you already have, never the one given in that communication.
That is the practical translation of hypothesis H2 into the real world: after an exfiltration of email and commercial documentation, bank account change fraud is the next foreseeable step, and warning in advance is the only effective defence.
- International transfers: AWS and Microsoft 365
Chapter V of the GDPR governs transfers of data to third countries or international organisations. The rule is simple to state: a transfer may only take place if it is ensured that the level of protection of the regulation is not undermined. There are three routes, in order of preference:
| Route | Article | What it is | Example |
|---|---|---|---|
| Adequacy decision | 45 | The European Commission has declared that a country or organisation offers an adequate level of protection. No further authorisation is needed | The United Kingdom, Switzerland, Japan, Canada (commercial organisations), South Korea, and the EU-US Data Privacy Framework for US entities certified under it |
| Appropriate safeguards | 46 | The Commission's standard contractual clauses (SCCs), binding corporate rules, approved codes of conduct or certification mechanisms | The usual route for suppliers with no applicable adequacy decision |
| Derogations | 49 | Explicit and informed consent, necessity for the contract, reasons of public interest… | Exceptional, non-systematic use. Not valid for outsourcing a permanent service |
Since the judgment of the Court of Justice of the European Union known as Schrems II, using standard contractual clauses is not enough on its own: you must carry out a transfer impact assessment (TIA), which analyses whether the law of the destination country allows access by its authorities that would undermine the safeguards, and apply supplementary measures where necessary (encryption with keys retained in the EU, pseudonymisation, access control, a policy for responding to requests from authorities).
Rutalia's specific analysis
| Supplier | Service | Where is the data? | Situation |
|---|---|---|---|
| AWS | Customer backups (rutalia-backups-clientes), static website, logs, MiRutalia hosting |
Region eu-west-1 (Ireland), within the EEA |
Storage in the EU, but support and administration must be analysed: if support staff outside the EU can access the data, there is a transfer. The provider's data protection addendum, the SCCs it incorporates and its commitments on location and on responding to requests from authorities are reviewed |
| Microsoft 365 | Email, files, collaboration | Data centres in the EU with the provider's residency commitments | Same analysis: data residency does not mean there is no transfer. The applicable mechanism and supplementary measures are documented |
| FleetTrack Ibérica | Fleet telematics | Spain; one infrastructure sub-processor in the EU | No international transfer, according to the contractual declaration. It is verified, not assumed |
| Mailing platform | Commercial newsletter | To be confirmed | The typical case of a tool signed up for by marketing with a company card and with no analysis. It is blocked until the analysis is completed |
The nine questions to ask any supplier
This is the list Rutalia added to its supplier questionnaire, and it can be reused as it stands:
international_transfers:
- p1: "In which countries is the data stored? State the region and data centre."
- p2: "From which countries is the data accessed for support, administration,
maintenance or development? (This is the question that detects the
transfers nobody declares.)"
- p3: "Complete, up-to-date list of sub-processors, with country and service.
How do you notify additions and removals, and with how much notice?"
- p4: "Which Chapter V mechanism do you apply: adequacy decision,
standard contractual clauses, binding corporate rules?
Provide a copy of, or a link to, the applicable text."
- p5: "Have you carried out a transfer impact assessment?
Can you provide it or summarise it?"
- p6: "What supplementary measures do you apply: encryption, key management,
pseudonymisation, access controls for support staff?"
- p7: "Who holds the encryption keys? Can the customer retain them?"
- p8: "What is your policy on requests from third-country authorities?
Do you notify the customer where the law allows it?
Do you publish transparency reports?"
- p9: "Can data residency be configured and guaranteed
contractually?"Question p2 is the most productive of the nine. «Our data is in Ireland» is compatible with a support team in a third country being able to open a ticket and see the content. And p7 is the one that decides the effectiveness of the most important supplementary measure: if the supplier holds the keys, encryption does not protect against a request addressed to the supplier.
Warning. The framework for international transfers has changed several times in a few years and may change again through the courts or through review of the adequacy decisions. Check the position in force and consult your DPO before taking architecture decisions based on this section.
- CCTV and workplace monitoring in Spain
Two processing activities that every logistics company has and that almost none has got right.
CCTV
| Requirement | Rule | Status at Rutalia (March 2029) |
|---|---|---|
| Lawful basis | Legitimate interest in the security of people, property and premises | Correct, but with no written balancing test → it is drafted |
| Information sign | An information notice in a visible area, stating at least the existence of the processing, the identity of the controller and where to obtain the full information | Present only in Zaragoza. Non-compliant in Valencia and Seville → immediate correction (OB-05) |
| Camera positioning | Only what is necessary. Prohibited in rest areas, changing rooms, toilets and canteens | A camera in the Valencia warehouse partly covers the rest area → it is repositioned and the area masked |
| Public highway | In general, the public highway may not be captured, except for what is strictly necessary to monitor the premises' own perimeter | The entrance camera captures part of the street → a mask is applied |
| Sound | Sound may only be recorded where there are significant relevant risks, with strict proportionality criteria | Disabled. Correct |
| Retention | One month maximum from capture, unless images must be kept to prove infringements or made available to the authorities | Configured at 30 days. Correct |
| Employment information | Prior, express information to workers and their representatives | No record → it is carried out |
| Access to images | Restricted, named and logged | Shared with the warehouse manager with no log → corrected |
| Rights | Right of access to one's own image, protecting the image of third parties | No procedure → PRO-RUT-08 incorporates it |
Workplace monitoring and geolocation
This has already been covered in the DPIA in section 11 and in 06-02, so here are just the four rules to remember:
- The declared purpose limits the use. A system introduced for fleet security cannot be used to monitor working hours without a new analysis, basis and information.
- Express, clear and unambiguous information to workers and to their legal representatives, in accordance with Article 90 of the LOPDGDD.
- Proportionality: suitability, necessity and balance, with the least invasive alternative always assessed in writing.
- No automated decisions with employment effects without a specific analysis under Article 22 GDPR and, where applicable, under the EU AI Act.
Warning. CCTV and workplace monitoring are, together with cookies, the subjects with the most enforcement activity by the AEPD against SMEs, and their regime has many nuances from case law. Validate any decision with a legal professional and with your DPO before installing, repositioning or using images in disciplinary proceedings.
- Penalties and their logic
The GDPR establishes two tiers of administrative fines, and which one applies depends on the article infringed:
| Tier | Article | Maximum | Typical infringements |
|---|---|---|---|
| Lower | 83.4 | €10 million or 2 % of total worldwide annual turnover of the preceding financial year, whichever is higher | Obligations of the controller and the processor (Arts. 8, 11, 25 to 39, 42 and 43): no RoPA, no DPIA, no data processing agreement, failure to notify a breach, not appointing a DPO when required, inadequate security measures |
| Upper | 83.5 | €20 million or 4 % of total worldwide annual turnover, whichever is higher | Basic principles (Arts. 5, 6, 7 and 9), data subjects' rights (Arts. 12 to 22), international transfers (Arts. 44 to 49) and non-compliance with an order of the authority |
Two useful readings of this table:
- Documentary failings sit in the lower tier; substantive failings in the upper tier. Not having a RoPA is serious; processing without a lawful basis or ignoring people's rights is more so.
- «Whichever is higher» means that for an SME the effective ceiling is the €10 or €20 million, not a small percentage of its turnover. The absolute figures are not designed with SMEs in mind, and in practice penalties imposed on small companies are orders of magnitude lower, but it is important not to confuse the legal maximum with what usually happens.
The criteria for determining the fine
Article 83(2) lists eleven factors the authority must take into account. These are the ones a company can influence before anything happens:
| Criterion | How to influence it from today |
|---|---|
| Nature, gravity and duration | Minimising data and retention periods reduces the scope of any incident |
| Intentional or negligent character | The documentation (RoPA, DPIA, policies, minutes) is the proof of diligence |
| Action taken to mitigate the damage | Communicating to those affected, setting up a helpline, giving specific recommendations |
| Degree of responsibility, taking into account technical and organisational measures | The Article 32 mapping in section 16 |
| Previous infringements | Your track record counts |
| Degree of cooperation with the authority | Notify on time, reply quickly and provide whatever is asked for. It is the criterion most quickly won or lost |
| Categories of data affected | Segregating special category data limits the damage |
| How the infringement became known | That the authority learns of it through your notification and not through a complaint or the press |
| Adherence to codes of conduct or certification | ISO 27001, Art. 42 certification schemes |
The operational conclusion of the whole section is a single sentence: a well-kept file does not prevent the breach, but it changes the conversation with the authority. And that conversation is the difference between a reprimand and a fine.
The LOPDGDD, for its part, classifies infringements as very serious, serious and minor, and sets limitation periods of three years, two years and one year respectively, as well as regulating the procedure and the possibility of a reprimand.
Common Mistakes and Tips
Mistake 1: believing the GDPR is about «asking for consent». Consent is one of six bases, and it is usually the worst choice: it is revocable, requires proof and in the employment context is almost never freely given. Tip: for each processing activity in the RoPA, write down the basis before starting and justify why it is not another.
Mistake 2: not distinguishing when you are the controller and when you are the processor. In logistics this is the structural mistake: recipient data belonging to the customer is processed every day. Tip: mark the role in every row of the RoPA and keep the Article 30(2) record separately. And if you are the processor, never notify the AEPD yourself: tell the controller within 24 hours.
Mistake 3: writing «legitimate interest» without doing the balancing test. It is the easiest cell to fill in and the easiest to dismantle. Tip: two pages for each processing activity on that basis: purpose, necessity, alternatives rejected, balance and safeguards.
Mistake 4: confusing pseudonymisation with anonymisation. Removing the name and leaving the route, the time and the registration number anonymises nothing. Tip: if you can get back to the person with what you hold in other systems, it is still personal data and still subject to the GDPR.
Mistake 5: not starting the 72-hour clock. The deadline is not missed through not knowing the law: it is missed because nobody writes down the time of awareness and nobody has been given the task. Tip: the first step in the incident playbook, even before the analysis, is to record the date and time of awareness and alert the DPO.
Mistake 6: waiting until everything is clear before notifying. Article 33(4) expressly allows notification in phases. Tip: notify what you know, say that it is initial, commit to a date for the rest and meet it.
Mistake 7: not documenting breaches that are not notified. The Article 33(5) record is always mandatory. Tip: if you decide not to notify, write down the reasoning with the risk factors assessed. That page is your defence.
Mistake 8: keeping everything «just in case». It is an infringement and it aggravates any breach. Tip: retention periods in the RoPA, an automated monthly purge and the purge report kept as evidence.
Mistake 9: copied privacy notices. They tell people about what you do not do and leave out what you do. Tip: generate the notice from the RoPA, not the other way round. If the RoPA is right, the notice writes itself.
Tip 10: always start with the RoPA. It is the map from which the privacy notice, the data processing agreements, the retention policy, the assessment of a breach and the response to a right of access all flow. Without it, each of those tasks is done from scratch and badly.
Tip 11: the best time to do this is before the breach. Rutalia drew up its RoPA nine months after INC-2028-014. Everything in this lesson —the record, the DPIA, the contracts, the rights procedure— had been an obligation since 2018, and its absence did not cause the incident but it did make every decision that had to be taken during it harder.
Exercises
Exercise 1 — Classifying the role and deciding who notifies
For each situation, state: (a) whether Rutalia is the controller, the processor or a joint controller; (b) who must notify the AEPD if notification is required; (c) the applicable deadline; and (d) what contractual document should exist.
- An administration laptop, unencrypted, is lost on a train. It contained a spreadsheet with the payroll of 180 employees.
- A delivery tablet, encrypted and with remote wipe, is lost in Seville. It contained the day's route with 42 Alventa recipients. The remote wipe is confirmed as executed two hours later.
- The payroll bureau suffers a ransomware attack and reports that it was encrypted for 5 days, including Rutalia's data.
- A customer service employee mistakenly sends a file with the details of 60 customer contacts to the wrong recipient, who is another Rutalia customer. The recipient replies confirming they have deleted it.
- FleetTrack Ibérica reports that, because of a configuration fault in its portal, for 11 days any of its customers could see the positions of the other customers' vehicles.
- Marta Ruiz discovers that MiRutalia has an insecure direct object reference (IDOR) vulnerability that has allowed, for three months, a user at one customer to see another customer's shipments. The logs show that nobody exploited it.
Exercise 2 — Deciding whether to notify and writing up the reasoning
On 14 September 2029, at 11:20, Diego discovers that the bucket rutalia-pruebas-2024 —the forgotten one with real data— has had public read permissions since 3 March 2029. It contains a 2024 dump of the MiRutalia database: 380 customer users with name, work email, work telephone and bcrypt password hashes. The S3 access logs show 4 accesses from non-corporate IP addresses, all of them matching well-known search engine crawlers, and one access from a Spanish residential IP address on 22 July, which downloaded the whole object.
Decide and write up: (a) is there a breach?; (b) when does the clock start?; (c) is the AEPD notified?; (d) are the 380 people affected informed?; (e) write the reasoning for the internal register REG-RUT-15, assessing the risk factors one by one.
Exercise 3 — Spotting the flaws in a RoPA
A company in the sector shows you this row from its record of processing activities. Identify at least seven problems and propose the corrected row.
id,processing,role,data_subjects,data_categories,lawful_basis,purpose,retention,recipients,transfers,security_measures,dpia_required
T-04,"Employee monitoring",controller,"Employees","All those necessary","Employee consent","Monitor proper performance and compliance","For as long as necessary","No data is disclosed to third parties","No","Appropriate ones",noSolutions
Solution 1
| # | Role | Who notifies the AEPD | Deadline | Contractual document |
|---|---|---|---|---|
| 1 | Controller | Rutalia, and notification is almost certainly required | 72 h from awareness. In addition, high risk is likely (payroll, IBAN, 180 people, unencrypted) → communication to those affected under Art. 34 | None with third parties. It is an internal failure: disk encryption is mandatory under POL-RUT-06 |
| 2 | Processor (the recipients belong to Alventa) | Alventa, not Rutalia | Rutalia tells Alventa within 24 h under the contract. With encryption and a confirmed remote wipe, Alventa will probably conclude that risk is unlikely and will not notify, but will document it | Art. 28 contract with Alventa |
| 3 | Controller; the payroll bureau is the processor | Rutalia. The payroll bureau notifies Rutalia, not the AEPD | Rutalia's clock starts when the payroll bureau informs it. Hence the importance of the 24 h clause | Art. 28 contract with the payroll bureau. Check whether the notification deadline is set: if the bureau took five days, there is a breach of contract |
| 4 | Controller | Rutalia. It is probably not notified, but it is documented | Assessment: few people affected, professional data, identified and trusted recipient, deletion confirmed in writing. Risk unlikely | — |
| 5 | Controller; FleetTrack is the processor | Rutalia | Clock runs from FleetTrack's communication. What must be assessed: this is location data of workers, exposed for 11 days. Notification is likely to be required and, depending on the extent of actual access, communication to the drivers | Art. 28 contract with FleetTrack. It is also a finding for the supplier's annual review |
| 6 | Controller | Rutalia | It is a vulnerability, not necessarily a breach: if the logs reliably show that nobody accessed other customers' data, there has been no unauthorised access. The analysis is documented and the flaw fixed. If the logs do not make it possible to rule it out convincingly, you must assume that there was access and assess notification | — |
Cross-cutting lesson from the exercise: in four of the six cases, the decision depends on a contract or on the quality of the logs. Data protection is not resolved on the day of the incident: it is resolved in the contracts you signed and in the logs you configured.
Solution 2
(a) Is there a breach? Yes. It is a confidentiality breach through unauthorised access resulting from a configuration fault. No attacker is needed: a public bucket is an unauthorised disclosure.
(b) When does the clock start? On 14 September 2029 at 11:20, the moment of awareness. Not on 3 March (when it happened) or 22 July (when someone downloaded it). The deadline expires on 17 September at 11:20.
(c) Is the AEPD notified? Yes. It is not «unlikely to result in a risk»: there is a confirmed access from a residential IP that downloaded the whole object, 380 identifiable people and six months of exposure.
(d) Are those affected informed? Yes, although this is more debatable. In favour: confirmed access, complete professional contact details that enable targeted impersonation campaigns, and the presence of password hashes. Against regarding it as high risk: bcrypt is a slow, resistant key derivation function, the data does not include identity documents or bank details, and it dates from 2024. Decision: inform them, both out of prudence and because those affected may be reusing those passwords on other services, which is the most likely harm and the only one they themselves can mitigate.
(e) Reasoning for REG-RUT-15:
REG-RUT-15 - Entry BR-2029-004
Date of awareness: 2029-09-14 11:20 CEST
Source of awareness: quarterly review of S3 configuration (action A-09
of the INC-2028-014 post-incident plan).
FACTS
The bucket rutalia-pruebas-2024 had an access policy allowing
unauthenticated public read access since 2029-03-03 (date of the change, according
to CloudTrail). It contained a dump of the 2024 MiRutalia database with
380 records of customer users.
DATA AFFECTED
First name and surnames, work email, work telephone and
password hash generated with bcrypt (cost factor 12). It does not include
special category data, identity documents, bank details
or consignment recipient data.
ACTUAL EXPOSURE
Bucket access logs: 5 accesses from non-corporate addresses.
- 4 identified as well-known search engine crawlers, with
header requests and no download of the whole object.
- 1 access on 2029-07-22 at 23:41 from a Spanish residential IP
address, with a full download of the object (412 MB).
It is not possible to identify the holder of that address. The worst case is
assumed: the information is in the hands of an unidentified third party.
ASSESSMENT OF THE RISK TO RIGHTS AND FREEDOMS
- Type of breach: confidentiality, with confirmed disclosure. AGGRAVATING.
- Nature of the data: identification and professional contact. No
special categories. Relatively MITIGATING.
- Ease of identification: high; the data identifies people directly. AGGRAVATING.
- Credentials: protected with bcrypt, a slow, salted function. Significantly
MITIGATING, but it does NOT remove the risk of the users themselves
reusing their passwords on other services.
- Volume: 380 data subjects. Moderately AGGRAVATING.
- Duration of exposure: 195 days. AGGRAVATING.
- Likely consequences: impersonation and fraud campaigns targeting
professionals identified as Rutalia customers; attempts to access
other services through credential reuse.
- Data subjects: professionals, not vulnerable. MITIGATING.
CONCLUSION
There is a risk to rights and freedoms: YES -> the AEPD is notified within
the 72-hour deadline.
The risk is considered likely to be HIGH, mainly because of the confirmed
download, the duration of the exposure and the risk of credential
reuse -> the 380 data subjects are informed in accordance with Article 34, with
an express recommendation to change their password on any other service where
they had reused it and to be wary of communications invoking Rutalia.
MEASURES TAKEN
- 14/09 11:35 - Public access to the bucket blocked.
- 14/09 12:10 - Block public access enabled at account level,
which prevents this fault from recurring in any bucket.
- 14/09 14:00 - Inventory of the 4 buckets in the account and review of
policies. A second bucket with excessive permissions is found and fixed.
- 15/09 - Dump erased. There was no justification for keeping a 2024
dump of real data in a test environment in 2029.
- 15/09 - Automatic daily check for public exposure of buckets
added, with an alert to [email protected].
- 18/09 - Express prohibition in POL-RUT-11 on using real data in
test environments, with an anonymisation procedure.
ROOT CAUSE
Use of real data in a test environment (2024), lack of an inventory of
cloud assets, and lack of periodic checks for public exposure.
The cause is not the change of permissions in March 2029: it is that the dump
existed at all.The most valuable section of the whole document is the last one. The root cause is not the misconfiguration: it is that there was real production data in a test environment five years later. That is the conclusion that prevents the next incident, and it links directly with the data minimisation principle and with 08-01.
Solution 3
Problems identified:
| # | Field | Problem |
|---|---|---|
| 1 | processing |
«Employee monitoring» is not a legitimate purpose stated as such. The specific processing must be described: system access control, working time records, CCTV… A generic «monitoring» processing activity fails the purpose test |
| 2 | data_categories |
«All those necessary» is not a category. Art. 30 requires the categories of data to be described. If they cannot be listed, a breach cannot be assessed nor a right of access handled |
| 3 | lawful_basis |
Employee consent: in the employment context it is rarely freely given. Moreover, if it is withdrawn, does the monitoring stop? The real basis will be legal obligation, performance of the contract or legitimate interest depending on the case |
| 4 | purpose |
«Monitor proper performance»: if that really is the purpose, it is performance monitoring, with stricter requirements for information, proportionality and informing the legal representatives. And it is incompatible with using logs collected for security purposes |
| 5 | retention |
«For as long as necessary» is a non-period. It infringes Art. 5(1)(e). The period or the objective criterion must be given |
| 6 | recipients |
«No data is disclosed to third parties» is almost certainly false: there will be a payroll bureau, a cloud provider or a tool. Processors and recipients are different things and both must be recorded |
| 7 | security_measures |
«Appropriate ones» describes nothing. The real measures must be listed: encryption, access control, logging, backups |
| 8 | dpia_required |
Marked no without analysis. Processing that monitors workers through systematic monitoring is a clear candidate for a DPIA |
| 9 | Missing | There is no record of the processors, no reference to the balancing test and no review date |
Corrected row (split in two, because two different processing activities had been lumped together):
id,processing,role,data_subjects,data_categories,special_categories,lawful_basis,legal_reference,purpose,retention,recipients,processors,transfers,security_measures,dpia_required,last_review
T-04a,"Working time records",controller,"Employees","Identification;Clock-in and clock-out times;Breaks",,"Legal obligation","RDL 8/2019","Compliance with the legal obligation to keep a daily working time record","4 years","Labour Inspectorate on formal request","Time-clock system provider",no,"Role-based access control;Access logging;Daily backup;Encryption at rest",no,2029-05-07
T-04b,"Information systems security",controller,"Employees;Supplier staff with access","Identification;Authentication logs;Connection logs;Email metadata;Security alerts",,"Legitimate interest","GDPR 6.1.f (balancing test PON-2029-02);LOPDGDD 87","Guarantee the security of systems, the continuity of the service and compliance with legal and contractual obligations. NOT used to measure individual performance","12 months, unless there is an open incident case file",,"EDR/MDR provider","Pending assessment","Restricted, named access;MFA;Query logging;Encryption;Automatic 12-month retention;POL-RUT-02 sec.7",no,2029-05-07What the correction teaches: a badly done RoPA is not an incomplete document, it is a symptom. The vague cells («all those necessary», «for as long as necessary», «appropriate ones») appear exactly where the organisation has not taken the decision. Filling in the RoPA properly forces you to take it.
Conclusion
You have done the work, not just read about it. And the first thing it teaches is that the GDPR is not complied with through a document: it is complied with through eleven documented decisions, one per processing activity, and the ability to demonstrate them.
You know what personal data is, and that the definition is much broader than it seems: the registration number of truck 23, the coordinates at 14:32, the IP address of an access to MiRutalia and the identifier jlopez are personal data in a company that knows who drives what. You distinguish pseudonymisation —which is still personal data and still subject to the regulation— from anonymisation, which is difficult and final. And you know where the special categories hide in a transport company: the union dues on the payslip, the medical fitness of 42 drivers and any biometrics project that crops up in a purchasing meeting.
You are clear about the distinction that structures the whole lesson: Rutalia is the controller of the data of its employees, its customers, its cameras and its trucks, and it is the processor of the data of the recipients Alventa hands over to it. And you know the seven consequences of that difference, including the one that decides a crisis: as processor, Rutalia does not call the AEPD; it calls its customer within 24 hours, because the clock that starts is the customer's. In return, it demands exactly the same of its own processors, with the four clauses that separate a useful Article 28 contract from a form: authorised subcontracting, notice within 24 hours, proof of erasure and a right to audit.
You have applied the Article 5 principles to real decisions —the date of birth field that served no purpose, the 2022 CVs that are still there, the signs missing at two of the three warehouses— and you know which one generates the most penalties and why: transparency, because it can be checked from outside, anyone can complain about it and fixing it is cheap.
You know how to choose a lawful basis, and above all you know that employee consent is almost never valid, with the table of seven processing activities where the basis used out of habit is the wrong one. And you know that legitimate interest is not a tick box: it is a three-step test that is written down and kept.
You have the record of processing activities with eleven processing activities, one of them as processor and kept separately as Article 30(2) requires, and one that nobody knew existed. You have the version-controlled rat.csv and the validator that detects what a visual review does not: legitimate interest without a balancing test, consent in employee processing, undeclared special categories, indefinite retention, unassessed transfers and a RoPA not reviewed for more than a year.
You have the DPIA for the geolocation of 60 trucks, complete, with what makes it real: a section that declares the excluded purposes, a necessity test that rejects alternatives in writing and partly adopts one of them, a balancing test that concludes that without the safeguards the legitimate interest would not prevail, eight risks with their measures and their verification, and a DPO who makes the favourable opinion conditional on two measures being in place before processing starts.
You know how to inform in layers, how to handle the seven rights within one month with a procedure that starts in any channel of the company, how to classify the right even if the data subject calls it something else, and that the most common infringement is not refusing wrongly but not replying. You have retention periods by type of data, the Spanish nuance of blocking prior to erasure, and the monthly purge whose report is the evidence without which the retention policy does not exist.
You know when a DPO has to be appointed, why you appoint one when in doubt, and why in an SME the head of IT is almost always the worst choice for the role. And you have the Article 32 mapping against what you already built in modules 2 to 5, with the uncomfortable conclusion of point d): almost nobody regularly verifies the effectiveness of their measures, and that is exactly what the law requires.
And you have the whole breach. The three types —including availability, which almost nobody recognises as a breach—, the clock that starts with awareness and not with the attack, the 72 calendar hours that began on a Sunday at 05:04, the option of notifying in phases, the obligation to document even what is not notified, the eight risk factors with prior encryption carrying the most weight, and the complete decision flow from «does it affect personal data?» through to public communication.
And the real notification of INC-2028-014, drafted in full: 931 data subjects, 11,400 records, trade union membership and medical fitness among the data affected, the €180,000 demand declared and rejected, the measures with exact times, and the sentence that matters more than any other —«awareness: 9 July 2028, 05:04 UTC»— with its justification alongside. Submitted on 11 July at 17:30, with fourteen hours to spare. You know what would have happened in the five alternative scenarios, and you know that what protects you is not always getting it right, but having reasoned it through and documented it. And you know how it was communicated: a letter to the workforce signed by the managing director, and three different communications to customers depending on whether they were affected, controllers of data processed by Rutalia, or simply customers who were going to find out anyway on 26 July.
You finish with transfers —where the productive question is not where the data is but where it is accessed from and who holds the keys—, with CCTV and workplace monitoring, which are, together with cookies, where most Spanish SMEs fall short, and with the logic of the two tiers of fines and their eleven criteria for determining the amount, among which the one most quickly won or lost is cooperation.
Now notice how many times a company other than Rutalia has appeared in this lesson. The payroll bureau that suffers ransomware and decides when to give notice. FleetTrack, which exposes the drivers' positions for eleven days. AWS and Microsoft, whose contractual annexes have to be read to know who can see what. Alventa, which sends the data and receives the notices. Tecnosur, with permanent remote access to the ERP. And CiberTest, which accesses everything during an incident response.
Each of them is a contract, a notice deadline, a questionnaire and a risk that Rutalia does not control directly. And one of them was the entry route in the drill of 20 October, with hypothesis H5 still open.
That is what comes next, in Supplier and Supply Chain Security: the third-party inventory, due diligence before signing, the clauses that really matter, the just-in-time access that replaces the ERP supplier's standing access, what to do when your supplier suffers an incident, how to exit a supplier, and the other side of the mirror —Rutalia answering Alventa's 78-question questionnaire, because in someone else's supply chain, the supplier is you.
You now know how to protect the data you hold. Time to protect the data in other people's hands.
