Qué vas a conseguir
Entender qué te piden de verdad la norma, la directiva y el reglamento en el día a día de IT, y convertir el trabajo que ya haces (altas y bajas, parches, copias, cambios) en evidencias que un auditor acepta a la primera. Y saber qué hacer en las primeras horas cuando se pierde un equipo con datos personales.
Antes de empezar
- Esta guía no es asesoramiento jurídico: si algo se notifica o no lo deciden el DPO y Jurídico, con la información técnica que IT les da.
- Localiza a tres personas: el responsable de seguridad (CISO o responsable del SGSI), el delegado de protección de datos (DPO) y quien firma los riesgos en dirección.
- Ten a mano el inventario de sistemas, el registro de cambios y el de incidentes. Si no existen, son lo primero.
1. ISO 27001:2022: el SGSI en lo que toca a IT
ISO/IEC 27001 certifica un sistema de gestión (SGSI), no un nivel técnico. Las cláusulas 4 a 10 piden contexto, alcance, análisis de riesgos, objetivos, auditoría interna (9.2), revisión por la dirección (9.3) y mejora. El Anexo A de la versión 2022 tiene 93 controles en cuatro temas: organizativos (37), de personas (8), físicos (14) y tecnológicos (34). La transición desde la versión 2013 terminó en octubre de 2025.
- La declaración de aplicabilidad (SoA) lista los 93 controles, si se aplican, por qué, y cómo. Es el documento que el auditor abre primero; cada "aplicado" necesita una evidencia detrás.
- Una evidencia buena es fechada, completa y repetida: un informe de cada trimestre, no una captura del día anterior a la auditoría.
- La auditoría interna la hace alguien independiente del área auditada. Para un equipo pequeño, otro departamento o un externo.
| Tarea de IT | Control del Anexo A | Evidencia |
|---|---|---|
| Revisión trimestral de accesos | 5.18 Derechos de acceso | Exportación de la revisión de acceso de Entra ID con decisiones y tickets de retirada |
| Altas, bajas y cambios de puesto | 5.16 Gestión de identidades | Tickets enlazados con la baja de RR. HH. y fecha de deshabilitación |
| Cuentas de administración | 8.2 Derechos de acceso privilegiado | Activaciones de PIM con justificación |
| Parches y vulnerabilidades | 8.8 Gestión de vulnerabilidades técnicas | Informe mensual de Qualys o Intune, excepciones aprobadas |
| Copias y pruebas de restauración | 8.13 Copias de seguridad de la información | Informes de trabajos y acta de restauración probada |
| Cambios en producción | 8.32 Gestión de cambios | Solicitudes con aprobación, ventana y vuelta atrás |
| Registros y alertas | 8.15 Registro · 8.16 Seguimiento | Retención configurada y revisión de alertas |
| Cifrado de portátiles | 8.1 Dispositivos de usuario final · 8.24 Criptografía | Informe de cumplimiento de BitLocker |
| Proveedores en la nube | 5.19 a 5.23 Proveedores y servicios en la nube | Contrato, acuerdo de encargo e informes del proveedor |
2. NIS2: quién entra y qué cambia
La Directiva (UE) 2022/2555 amplía mucho la primera NIS. Entran las medianas y grandes entidades de los sectores de sus anexos: energía, transporte, banca, sanidad, agua, infraestructura digital, gestión de servicios TIC entre empresas (proveedores de servicios gestionados y de seguridad gestionada), administración pública, fabricación, alimentación, servicios postales y otros. Algunas entran sea cual sea su tamaño, como los proveedores de DNS.
- Responsabilidad de la dirección (artículo 20): el órgano de dirección aprueba las medidas, supervisa su aplicación, recibe formación y puede responder personalmente.
- Medidas (artículo 21): análisis de riesgos, gestión de incidentes, continuidad y copias, cadena de suministro, gestión de vulnerabilidades, formación, criptografía, control de acceso, inventario de activos y MFA. Un SGSI ISO 27001 cubre la mayor parte.
- Notificación de incidentes significativos (artículo 23): alerta temprana en 24 horas desde que se tiene conocimiento, notificación en 72 horas con una primera evaluación, y informe final en un mes desde la notificación.
- En España: en el momento de escribir esta guía (octubre de 2026), la ley de transposición, el anteproyecto de Ley de Coordinación y Gobernanza de la Ciberseguridad, no se ha publicado en el BOE, y la Comisión Europea ha llevado el retraso al Tribunal de Justicia de la UE. Sigue vigente el Real Decreto-ley 12/2018 (la primera NIS), y el sector público y sus proveedores aplican el Esquema Nacional de Seguridad. Comprueba el BOE antes de citar plazos u obligaciones nacionales.
- Las entidades financieras siguen DORA, aplicable desde enero de 2025, que prevalece sobre NIS2 en lo que regula.
3. El RGPD desde IT
- Registro de actividades de tratamiento: lo lleva el DPO, pero IT aporta los sistemas, dónde están los datos, cuánto tiempo se guardan y qué medidas los protegen.
- Encargados del tratamiento (artículo 28): cada proveedor que trata datos personales por vuestra cuenta (SaaS, soporte externo, copias en la nube) necesita un acuerdo de encargo firmado y una lista de subencargados. Antes de dar de alta una herramienta nueva, no después.
- Brechas (artículo 33): se notifican a la AEPD en 72 horas desde que se tiene constancia, salvo que sea improbable que supongan un riesgo para las personas. Todas, notificadas o no, se documentan en el registro interno. La AEPD ofrece la herramienta Asesora Brecha para orientar la decisión.
- Conservación: los registros con datos personales (IP, usuario) también tienen plazo. Que esté definido y que la retención de Log Analytics o de Purview lo cumpla.
- Derecho de acceso: se responde en un mes, ampliable dos más en casos complejos. IT localiza los datos (buzón, sistemas de RR. HH., registros) con búsquedas de eDiscovery y los entrega por un canal seguro sin incluir datos de terceros.
4. La carpeta de evidencias
- Una carpeta por control, un archivo por periodo y un nombre que diga qué es y de cuándo. Lo que genera una herramienta se exporta con una tarea programada, no a mano.
- Una retención de Purview sobre el sitio evita que alguien borre la evidencia del año pasado.
5. La auditoría: "enséñame las revisiones de acceso y las copias probadas"
El auditor elige una muestra: dos trimestres y tres aplicaciones, y dos meses de copias.
- Revisiones de acceso: el procedimiento (quién revisa, cada cuánto), la exportación de cada revisión con las decisiones, y los tickets de retirada de lo que se denegó, con fecha. La no conformidad más habitual es revisar y no retirar, o que el usuario se revise a sí mismo.
- Copias probadas: el informe de trabajos del mes y el acta de restauración: qué se restauró, dónde, cuánto tardó frente al RTO, quién lo hizo y qué falló. Una restauración real de un servidor o una base de datos al trimestre vale más que doce capturas de "trabajo correcto".
- Si falta algo, no lo fabriques: se registra como no conformidad menor con su acción correctiva. Una evidencia inventada convierte un hallazgo menor en uno grave.
6. El ticket: "he perdido el portátil en el tren"
Lunes, 09:10. Marta Gil, de RR. HH., perdió anoche su portátil PT-0231. Trabaja con nóminas. Desde este momento la organización tiene constancia y corren las 72 horas.
Connect-MgGraph -Scopes "DeviceManagementManagedDevices.Read.All"Get-MgDeviceManagementManagedDevice -Filter "deviceName eq 'PT-0231'" | Select-Object DeviceName, UserDisplayName, IsEncrypted, ComplianceState, LastSyncDateTimeDeviceName UserDisplayName IsEncrypted ComplianceState LastSyncDateTimePT-0231 Marta Gil True compliant 27/10/2026 19:42:10- Contener: bloqueo y borrado remoto desde Intune (se ejecuta cuando conecte), revocar las sesiones de la usuaria y cambiar su contraseña.
- Reunir los hechos para el DPO: BitLocker activo (XTS-AES 256 con TPM y PIN), cumplimiento correcto en la última sincronización, equipo apagado según la usuaria, datos de nóminas sincronizados desde OneDrive.
- La evaluación la hacen el DPO y Jurídico: con cifrado fuerte y la clave sin comprometer, los datos son ininteligibles para quien encuentre el equipo, y lo habitual es concluir que es improbable un riesgo y no notificar a la AEPD. Se documenta igualmente en el registro de brechas.
- Si BitLocker no estaba activo o no se puede demostrar, la conclusión cambia: notificación a la AEPD dentro de las 72 horas y, si el riesgo es alto, comunicación a las personas afectadas.
El informe de BitLocker de cada mes es la evidencia que decide este caso. Sin él, no puedes demostrar que el portátil estaba cifrado.
Siguientes pasos
- La guía de BitLocker y la de Intune para que el cifrado y su informe estén en todos los equipos.
- La guía de Microsoft Purview para la retención, las etiquetas y las búsquedas que piden el RGPD y la auditoría.
- La guía de Backup y DR/BCP para las pruebas de restauración que alimentan el control 8.13.
- La guía de Microsoft 365: Global Admin y PIM para las evidencias de acceso privilegiado.
¿Falta algo o en tu entorno es distinto? Escríbeme y lo corrijo.
What you'll get
An understanding of what the standard, the directive and the regulation actually ask of IT day to day, and how to turn the work you already do (joiners and leavers, patching, backups, changes) into evidence an auditor accepts first time. And knowing what to do in the first hours when a device with personal data is lost.
Before you start
- This guide is not legal advice: whether something is reported is decided by the DPO and Legal, with the technical information IT gives them.
- Identify three people: the security lead (CISO or ISMS owner), the data protection officer (DPO) and whoever signs off risk at management level.
- Have the system inventory, the change log and the incident log to hand. If they don't exist, they come first.
1. ISO 27001:2022: the ISMS as it affects IT
ISO/IEC 27001 certifies a management system (ISMS), not a technical level. Clauses 4 to 10 require context, scope, risk assessment, objectives, internal audit (9.2), management review (9.3) and improvement. Annex A of the 2022 version has 93 controls in four themes: organisational (37), people (8), physical (14) and technological (34). The transition from the 2013 version ended in October 2025.
- The Statement of Applicability (SoA) lists the 93 controls, whether they apply, why, and how. It is the first document the auditor opens; each "applied" needs evidence behind it.
- Good evidence is dated, complete and repeated: a report for every quarter, not a screenshot taken the day before the audit.
- The internal audit is done by someone independent of the area audited. For a small team, another department or an external party.
| IT task | Annex A control | Evidence |
|---|---|---|
| Quarterly access review | 5.18 Access rights | Export of the Entra ID access review with decisions and removal tickets |
| Joiners, leavers and movers | 5.16 Identity management | Tickets linked to the HR leaver record and the disable date |
| Admin accounts | 8.2 Privileged access rights | PIM activations with justification |
| Patching and vulnerabilities | 8.8 Management of technical vulnerabilities | Monthly Qualys or Intune report, approved exceptions |
| Backups and restore tests | 8.13 Information backup | Job reports and a record of a tested restore |
| Production changes | 8.32 Change management | Requests with approval, window and rollback |
| Logs and alerts | 8.15 Logging · 8.16 Monitoring activities | Configured retention and alert reviews |
| Laptop encryption | 8.1 User endpoint devices · 8.24 Use of cryptography | BitLocker compliance report |
| Cloud suppliers | 5.19 to 5.23 Suppliers and cloud services | Contract, processing agreement and supplier reports |
2. NIS2: who is in and what changes
Directive (EU) 2022/2555 greatly widens the first NIS. It covers medium and large entities in the sectors of its annexes: energy, transport, banking, health, water, digital infrastructure, B2B ICT service management (managed service and managed security service providers), public administration, manufacturing, food, postal services and others. Some are in regardless of size, such as DNS providers.
- Management responsibility (Article 20): the management body approves the measures, oversees their implementation, receives training and can be held personally liable.
- Measures (Article 21): risk analysis, incident handling, continuity and backups, supply chain, vulnerability handling, training, cryptography, access control, asset inventory and MFA. An ISO 27001 ISMS covers most of it.
- Reporting significant incidents (Article 23): an early warning within 24 hours of becoming aware, an incident notification within 72 hours with an initial assessment, and a final report within one month of the notification.
- In Spain: at the time of writing (October 2026), the transposing law, the draft Ley de Coordinación y Gobernanza de la Ciberseguridad, has not been published in the BOE, and the European Commission has taken the delay to the EU Court of Justice. Royal Decree-law 12/2018 (the first NIS) remains in force, and the public sector and its suppliers apply the Esquema Nacional de Seguridad. Check the BOE before quoting national deadlines or obligations.
- Financial entities follow DORA, applicable since January 2025, which takes precedence over NIS2 where it regulates.
3. GDPR from IT's side
- Records of processing activities: kept by the DPO, but IT supplies the systems, where the data sits, how long it is kept and which measures protect it.
- Processors (Article 28): every supplier processing personal data on your behalf (SaaS, outsourced support, cloud backups) needs a signed data processing agreement and a list of sub-processors. Before onboarding a new tool, not after.
- Breaches (Article 33): reported to the AEPD within 72 hours of becoming aware, unless they are unlikely to result in a risk to people. All of them, reported or not, are documented in the internal register. The AEPD offers the Asesora Brecha tool to guide the decision.
- Retention: logs containing personal data (IP, user) have a period too. It should be defined, and the Log Analytics or Purview retention should match it.
- Right of access: answered within one month, extendable by two more in complex cases. IT finds the data (mailbox, HR systems, logs) with eDiscovery searches and delivers it through a secure channel without including third parties' data.
4. The evidence folder
- One folder per control, one file per period, and a name that says what it is and when. Whatever a tool generates is exported with a scheduled task, not by hand.
- A Purview retention policy on the site stops someone deleting last year's evidence.
5. The audit: "show me the access reviews and the tested backups"
The auditor picks a sample: two quarters and three applications, and two months of backups.
- Access reviews: the procedure (who reviews, how often), the export of each review with its decisions, and the removal tickets for what was denied, with dates. The most common nonconformity is reviewing and not removing, or users reviewing themselves.
- Tested backups: the month's job report and the restore record: what was restored, where, how long it took against the RTO, who did it and what failed. One real restore of a server or a database per quarter is worth more than twelve "job succeeded" screenshots.
- If something is missing, don't fabricate it: it is logged as a minor nonconformity with its corrective action. Invented evidence turns a minor finding into a major one.
6. The ticket: "I've lost my laptop on the train"
Monday, 09:10. Marta Gil, from HR, lost her laptop PT-0231 last night. She works with payroll. From this moment the organisation is aware and the 72 hours are running.
Connect-MgGraph -Scopes "DeviceManagementManagedDevices.Read.All"Get-MgDeviceManagementManagedDevice -Filter "deviceName eq 'PT-0231'" | Select-Object DeviceName, UserDisplayName, IsEncrypted, ComplianceState, LastSyncDateTimeDeviceName UserDisplayName IsEncrypted ComplianceState LastSyncDateTimePT-0231 Marta Gil True compliant 27/10/2026 19:42:10- Contain: remote lock and wipe from Intune (it runs when the device connects), revoke the user's sessions and change her password.
- Gather the facts for the DPO: BitLocker on (XTS-AES 256 with TPM and PIN), compliant at the last sync, device switched off according to the user, payroll data synced from OneDrive.
- The assessment is made by the DPO and Legal: with strong encryption and the key not compromised, the data is unintelligible to whoever finds the device, and the usual conclusion is that a risk is unlikely and the AEPD is not notified. It is still documented in the breach register.
- If BitLocker was not on, or can't be proven, the conclusion changes: notification to the AEPD within the 72 hours and, if the risk is high, communication to the people affected.
Each month's BitLocker report is the evidence that decides this case. Without it you can't prove the laptop was encrypted.
Next steps
- The BitLocker and Intune guides so encryption and its report cover every device.
- The Microsoft Purview guide for the retention, labels and searches that GDPR and the audit call for.
- The Backup and DR/BCP guide for the restore tests that feed control 8.13.
- The Microsoft 365: Global Admin and PIM guide for privileged access evidence.
Is something missing, or different in your environment? Get in touch and I'll fix it.
Tech Career Lab · newsletter
¿Te ha servido? Cada dos semanas envío una idea práctica para perfiles IT: LinkedIn, proyectos, networking y procesos de selección.Found this useful? Every two weeks I send one practical idea for IT professionals: LinkedIn, projects, networking and hiring processes.
Apúntate y llévate las 33 ideasSign up and get the 33 ideas →