Spain — ENS: The National Security Framework Spans Every Public-Sector System
The Spanish Esquema Nacional de Seguridad (ENS) is not a cloud-specific framework. It is the security framework for every public-sector information system, with cloud services treated as one operational mode among many. That breadth is both ENS’s strength — it produces a unified posture across the Spanish public sector — and a characteristic that makes it different in kind from frameworks like ACN Qualificazione or SecNumCloud that are purpose-built for cloud. This article walks through ENS as it applies to cloud services, with attention to the cloud services compliance profile (PCE) that gives cloud providers a clear route in.
The system at a glance
The framework is the Esquema Nacional de Seguridad (ENS) — National Security Framework — currently regulated by Real Decreto 311/2022 of 3 May 2022 (BOE-A-2022-7191). RD 311/2022 replaced the original Real Decreto 3/2010, modernising the control set and introducing explicit treatment of cloud services. It has been amended once since, by Real Decreto 1125/2024 of 5 November 2024, which modified its second additional provision.
The framework is administered by the Centro Criptológico Nacional (CCN), part of the Centro Nacional de Inteligencia (CNI) — the Spanish intelligence service. CCN issues the STIC guidance series, maintains the ENS portal at https://ens.ccn.cni.es/, and operates the INES and AMPARO governance tools. Implementation policy sits at the Ministerio para la Transformación Digital y de la Función Pública, which took the digital portfolio when the former Ministerio de Asuntos Económicos y Transformación Digital was split in the November 2023 reshuffle.
The ENS framework is built around three categorisation levels and 73 security measures organised across organisational, operational, and protective control families. Compliance is demonstrated via audit (for higher categories) or self-assessment (for the baseline category).
Legislative basis
ENS is anchored in a deeper statutory stack than most cloud frameworks:
- Real Decreto 311/2022 of 3 May 2022 — the operative regulation.
- Ley 40/2015 on the Legal Regime of the Public Sector — defines the public-sector scope to which ENS applies.
- Real Decreto-ley 12/2018 — the Spanish transposition of the NIS Directive.
- Real Decreto 43/2021 — implementing regulation for RDL 12/2018, defining OES and DSP obligations.
- Ley Orgánica 7/2021 on protection of personal data in the criminal-justice context —
§37references ENS directly as the security framework. - Anteproyecto de Ley de Coordinación y Gobernanza de la Ciberseguridad — the comprehensive NIS2 transposition vehicle. Approved by the Council of Ministers on 14 January 2025 and still not adopted.
Spain has not notified any NIS2 transposition, in whole or in part. The Commission sent a letter of formal notice on 28 November 2024 and a reasoned opinion on 7 May 2025, and on 8 July 2026 referred Spain to the Court of Justice — alongside Ireland, France and the Netherlands — with a request for financial sanctions (Spain: INFR(2024)0270). Until the coordination law passes, the operative obligations remain the NIS1 regime under RDL 12/2018 and RD 43/2021.
Scope of obligation
The scope is broader than most national cloud frameworks:
- All public administration in the sense of
artículo 2of Ley 40/2015 — central government, autonomous communities, local administrations, universities, and the public corporate sector. - Private-sector entities providing technological services to the public administration — under
artículo 2.3of RD 311/2022, which extends the decree to private-sector systems where, under an applicable rule and a contractual relationship, they provide services or supply solutions to public-sector entities for the exercise of administrative powers. This is the hook that brings cloud providers in scope when they serve Spanish public-sector customers. - Systems processing classified information are also covered, with additional CCN-issued requirements.
That artículo 2.3 mechanism is what makes ENS operationally relevant for commercial cloud providers. A CSP that wants to sell to Spanish public-sector customers either needs to be ENS-certified, or its customers need to inherit ENS responsibility for the systems they run on the cloud.
Classification model — Básica, Media, Alta
Systems are categorised under Annex I of RD 311/2022 based on the impact of an incident on five dimensions:
- Confidentiality.
- Integrity.
- Availability.
- Authenticity.
- Traceability.
The authenticity and traceability dimensions are ENS-specific and differentiate the framework from frameworks that use the standard CIA triad alone.
| Category | Impact level | Evaluation route |
|---|---|---|
| BÁSICA (Low) | Low impact across all dimensions | Self-assessment |
| MEDIA (Medium) | Medium impact in at least one dimension | Formal third-party audit by ENAC-accredited body |
| ALTA (High) | High impact in at least one dimension | Formal third-party audit, strictest control set |
The categorisation is performed by the system owner; CCN provides guidance but does not pre-classify. A system’s category drives which of the 73 measures apply and at what depth.
Evaluation criteria
The control set is in Annex II of RD 311/2022: 73 security measures — 4 organisational, 33 operational and 36 protective — across:
- Organisational measures (org) — policy, organisation, governance.
- Operational measures (op) — operations, monitoring, incident management.
- Protective measures (mp) — controls on people, premises, equipment, communications, media, software, information, services.
For cloud services, RD 311/2022 introduces new controls covering:
- Cloud service provision specifically.
- System interconnection.
- Supply chain protection.
- Continuous monitoring.
The framework allows Perfiles de Cumplimiento Específicos (PCE) — specific compliance profiles — that adapt ENS for particular contexts. CCN has approved PCE profiles for:
- Local entities (municipalities).
- Universities.
- Cloud services — the Servicios en la Nube PCE.
The cloud PCE is the operative route for cloud providers and is the version of ENS most relevant to a CSP-procurement conversation.
On 17 June 2025, CCN updated five Serie 800 STIC guides (STIC 801, 802, 803, 805, 808) to reflect RD 311/2022 and the post-NIS2 cybersecurity challenges. These updates affect the operational interpretation of ENS controls and are the most current authoritative source for the audit methodology.
ISO/IEC 27001 compatibility is explicitly recognised: a system certified to 27001 has a substantial head start in ENS. The audit instructions under the pre-RD 311/2022 regime (Resolución de 27 de marzo de 2018) treated 27001 evidence as material; current practice under RD 311/2022 continues this compatibility through CCN guidance and the updated STIC Serie 800 guides.
The assessment process
The path for a new system or service:
- Adecuación — implementation of ENS controls by the organisation, typically 3–6 months for a system that already runs on a mature security baseline.
- Evaluation — Básica: self-assessment with documented evidence; Media or Alta: formal audit by an ENAC-accredited certification body.
- Certificación de Conformidad — issued by the accredited certification body. This is the certification of record.
- Incident notification — through CCN-CERT for public-sector subjects; through INCIBE-CERT for private-sector subjects providing services to the public administration.
ENAC is the Entidad Nacional de Acreditación — the Spanish national accreditation body — which accredits the certification bodies that perform ENS audits. ENAC accreditation is the equivalent in this framework of PASSI in France.
For a cloud provider, the practical route is to certify against the Cloud Services PCE under Media or Alta. The certification body performs the audit; ENAC accreditation ensures the body’s competence; CCN maintains oversight.
Catalogue and recertification
CCN maintains a public register of certified entities accessible through the ENS portal at https://ens.ccn.cni.es/. The register is the authoritative source for verifying whether a system or service holds current ENS certification.
INES and AMPARO are CCN’s governance tools — INES for self-evaluation, AMPARO for incident management. Both are used internally by public-sector entities; cloud providers interact with the framework primarily through certification rather than these tools.
Recertification:
- Audit every 2 years for Media and Alta categories.
- Básica requires periodic self-assessment updates, with no fixed external audit cadence.
- Continuous ISO/IEC 27001 maintenance is generally synced with the 2-year cycle.
The 2-year cycle for Media/Alta is stricter than the typical 3-year ISO 27001 cycle, which means CSPs running both certifications need to plan audit calendars accordingly.
Sanctions and oversight
The sanctioning mechanism varies by subject:
- Public-sector subjects — non-compliance is grounds for audit by Tribunal de Cuentas (the Court of Auditors) and potential personal liability for responsible officials.
- Private-sector providers to the public administration — non-compliance disqualifies from public-sector procurement.
- NIS1-scope operators under RDL 12/2018 and RD 43/2021 — administrative sanctions under that regime. No NIS2 sanctions regime exists in Spanish law yet; it arrives with the coordination law.
- Serious incidents — coordinated with CCN-CERT.
CCN-CERT is operationally important. It is the national CERT for the public sector and a central actor in incident response and supervisory action.
Architectural Pro Tip
For a multinational CSP entering the Spanish public-sector market, the practical sequence is: hold ISO/IEC 27001 and 27017 as the baseline; engage an ENAC-accredited certification body familiar with the Cloud Services PCE; audit against Media for the bulk of public-sector workloads, and Alta for higher-sensitivity workloads where the additional controls earn their cost. Trying to audit against the full ENS Annex II without the PCE filter produces broader audit scope than necessary for cloud-mode services.
Sovereignty posture
ENS does not have the explicit ownership-cap and immunity-from-foreign-law rules that SecNumCloud has. Its sovereignty posture is layered through:
- Category Alta — strictest controls, including stricter requirements around key management and personnel.
- PCE Cloud — defines cloud-specific expectations including jurisdictional considerations.
- Classified information systems — covered by separate CCN-issued requirements above the ENS baseline.
The framework’s pragmatic position is closer to the German C5 transparency model than to the French exclusion model. International CSPs hold ENS certifications and operate in the Spanish public-sector market.
Multicloud factor
ENS is one of the more workable EU national frameworks for multinational CSPs:
- ISO/IEC 27001 compatibility is explicit. A CSP that holds 27001/27017 already covers a significant portion of the ENS Annex II control set.
- The Cloud Services PCE provides a defined audit scope rather than requiring providers to map themselves against the full breadth of ENS.
- ENAC-accredited bodies include audit firms that also audit for ISO and SOC 2, reducing supplier fragmentation.
- The 2-year recertification cycle aligns with most multi-framework audit calendars.
Hyperscalers (AWS, Microsoft, Google) have multiple Spanish-region services ENS-certified at Media and Alta. The framework is operationally accommodating to large CSPs in a way that SecNumCloud is not.
Reality Check
The five-dimension model (CIA + authenticity + traceability) sounds like a marginal addition, but the traceability dimension is operationally demanding. ENS expects detailed audit-log retention with specified retention periods, cryptographic integrity protection on logs, and correlation across systems. A CSP whose logging meets ISO/IEC 27001 expectations may still fail ENS traceability requirements, particularly at Alta. Treat traceability as a dedicated control area in the implementation plan, not as an afterthought bundled with general logging.
Closing checklist
- ENS is the framework for all Spanish public-sector information systems, with cloud services treated through the dedicated Servicios en la Nube PCE.
- Three categories: Básica (self-assessment), Media (third-party audit), Alta (third-party audit, strictest controls). Categorisation is based on impact across five dimensions: C, I, A, authenticity, traceability.
- 73 security measures across organisational, operational, and protective control families. The PCE filters the scope for cloud-mode delivery.
- Audits performed by ENAC-accredited certification bodies. Recertification every 2 years for Media and Alta.
- Public register maintained on
ens.ccn.cni.es. Non-compliance disqualifies from public-sector procurement; NIS2 sanctions apply on top. - Sovereignty posture is layered through category Alta and the PCE rather than through ownership caps. International CSPs hold ENS certifications at Media and Alta.
- ISO/IEC 27001 compatibility is explicit and a strong baseline for ENS audit prep. Plan the 2-year cycle alongside ISO and SOC 2 calendars.
- Watch traceability requirements at Alta — logging discipline is more demanding than the standard CIA-triad framework would suggest.
- What to read next: ISO 27001/27017/27018 for the baseline ENS audit prep stack; GDPR Article 28 + EU Cloud CoC for the parallel GDPR regime; Reading Attestation Reports for evaluating ENAC-accredited certifications.