Prepare for ENS conformity in Spain with less manual work
The ENS (Esquema Nacional de Seguridad) is Spain's National Security Framework, set out in Royal Decree 311/2022, which defines the security principles, minimum requirements and measures for information systems in the public sector. It classifies systems as BASIC, MEDIUM or HIGH and applies a matching set of the 73 security measures in Annex II. Conformity is shown through a self-assessment for BASIC systems or a certification audit for MEDIUM and HIGH systems.
Is ENS right for your organisation?
Every Spanish public sector body must comply with the ENS for its information systems. Private companies are also in scope when they provide services or solutions to the public sector under contract, and tenders commonly ask for an ENS declaration or certification of conformity at a stated category. Cloud, software and managed service providers bidding for Spanish government work are the most frequent private adopters.
It is a legal or regulatory requirement for organisations in scope.
- Issued by
- Government of Spain (Royal Decree 311/2022 of 3 May)
- Published
- BOE no. 106, 4 May 2022
- In force since
- 5 May 2022
- Replaced
- Royal Decree 3/2010, the original ENS
- Applies to
- Spanish public sector and its private sector suppliers
- Security categories
- BASIC, MEDIUM, HIGH
- Conformity route
- Self-assessment (BASIC) or certification audit (MEDIUM, HIGH), with audits at least every two years
- Type
- Regulation (mandatory)
- Region
- Spain, EU
- In OneClickComply
- Supported today
OneClickComply makes it simple
The ENS is mapped in OneClickComply's control library and is available on request, so you can work towards it using controls you may already hold for ISO 27001 or other frameworks. OneClickComply collects evidence automatically from your connected tools, generates audit-ready policies such as the Article 12 security policy, and monitors controls continuously. Our in-house audit team can guide you through categorisation and preparation for your declaration or certification audit.
Requirements covered
41 articles across 7 chapters, with minimum requirements in Articles 12 to 27, conformity in Article 38, and 73 security measures in Annex II grouped into organisational, operational and protection frameworks.
Manual ENS vs. OneClickComply
- Working out which of the 73 Annex II measures apply to each system category
- Writing and maintaining the security policy, roles and statement of applicability by hand
- Gathering screenshots and logs for every measure before each two-yearly audit
- Duplicating effort where ISO 27001 or other controls already cover the same ground
- Discovering control gaps only when the auditor arrives
- Mapped ENS controls show which measures apply and where you already have coverage
- Policies generated from your real environment and kept current as it changes
- Evidence collected automatically from connected tools and stored ready for audit
- Evidence collected once counts towards ENS and every other framework it applies to
- Continuous monitoring flags drift so gaps are fixed long before the audit
Everything you need for ENS
ENS control set mapped to the controls you already run, available on request
Automated evidence collection for Annex II operational and protection measures
AutoComplete policies, including the security policy required by Article 12
Risk register to support the risk analysis required by Article 14
Continuous monitoring with alerts when controls drift between audits
Ask an Auditor guidance on categorisation and audit preparation
Three steps to ENS compliance
Connect & scan
Connect your cloud, identity and SaaS tools. OneClickComply checks them against ENS and shows you exactly where you stand.
Fix & generate
OneClickFix remediates technical gaps in one click, and AutoComplete generates ENS-aligned policies from your real environment.
Monitor & evidence
Continuous monitoring keeps you compliant, and our in-house audit team is on hand when you need expert guidance.
Spain National Security Framework (ENS), Royal Decree 311/2022 requirements
All 41 articles of Royal Decree 311/2022, plus its four annexes, with the 73 Annex II security measures summarised by framework.
| Reference | Requirement |
|---|---|
| Article 1 | Object |
| Article 2 | Scope of application |
| Article 3 | Information systems that process personal data |
| Article 4 | Definitions |
| Article 5 | Basic principles of the National Security Framework |
| Article 6 | Security as an integral process |
| Article 7 | Risk-based security management |
| Article 8 | Prevention, detection, response and preservation |
| Article 9 | Existence of lines of defence |
| Article 10 | Continuous monitoring and periodic reassessment |
| Article 11 | Differentiation of responsibilities |
| Article 12 | Security policy and minimum security requirements |
| Article 13 | Organisation and implementation of the security process |
| Article 14 | Risk analysis and management |
| Article 15 | Personnel management |
| Article 16 | Professionalism |
| Article 17 | Access authorisation and control |
| Article 18 | Protection of facilities |
| Article 19 | Acquisition of security products and contracting of security services |
| Article 20 | Least privilege |
Always check the official ENS text for the exact wording.
ENS FAQs
What is the ENS (Royal Decree 311/2022)?
The ENS, or Esquema Nacional de Seguridad, is Spain's National Security Framework, set out in Royal Decree 311/2022 of 3 May 2022. It defines the basic principles, minimum requirements and security measures that information systems in the Spanish public sector must apply. It replaced the original 2010 framework and is scaled by system category: BASIC, MEDIUM or HIGH.
Who must comply with the ENS?
The whole Spanish public sector must comply with the ENS, including systems that handle classified information. Private companies are also in scope when, under a contract, they provide services or solutions to public sector bodies for the exercise of their administrative functions. Public contracts must require contractors to show conformity, typically through an ENS declaration or certification.
Do private companies need ENS certification?
A private company needs ENS conformity when it supplies systems or services to a Spanish public sector body. For BASIC category systems a self-assessment and declaration of conformity is enough. MEDIUM and HIGH category systems require a certification audit. Tenders often state the required category, so suppliers usually check the contract terms before choosing a route.
What is the difference between ENS BASIC, MEDIUM and HIGH?
BASIC, MEDIUM and HIGH are the ENS security categories in Annex I, set by the impact a security incident would have on confidentiality, integrity, traceability, authenticity and availability. The higher the category, the more Annex II measures apply and the stronger they must be. BASIC systems can self-assess, while MEDIUM and HIGH systems need a certification audit.
How often is an ENS audit required?
Article 31 requires systems in scope to undergo a regular ordinary security audit at least every two years. An extraordinary audit is also needed whenever substantial changes are made that could affect the required security measures, and that audit resets the two-year count. Audits follow the requirements in Annex III of Royal Decree 311/2022.
How does the ENS relate to ISO 27001?
The ENS and ISO 27001 overlap heavily: both are risk-based and cover security policy, roles, access control, incidents, continuity and audit. However, ISO 27001 certification does not replace ENS conformity, because the ENS sets its own mandatory measures, categories and conformity procedures. Organisations holding ISO 27001 can reuse much of their evidence and controls when preparing for the ENS.
How many security measures does the ENS contain?
Annex II of Royal Decree 311/2022 contains 73 security measures in three groups: 4 in the organisational framework, 33 in the operational framework and 36 protection measures. Which measures apply, and at what level of strength, depends on the system's security category and the outcome of the risk analysis, documented in a statement of applicability.
Does OneClickComply support the ENS?
Yes, on request. The ENS is mapped in OneClickComply's control library and is available on request rather than as a live, ready-to-adopt framework today. Once enabled, it uses the same automated evidence collection, policy generation, continuous monitoring and auditor guidance as other frameworks. OneClickComply does not issue ENS certifications, which come from certification bodies.
Related standards
All standards- Spain Royal Decree 1720/2007Regulation · EU
- NIS2 Implementing Regulation (EU) 2024/2690Regulation · EU
- EU AI ActRegulation · EU
- Digital Operational Resilience Act (DORA)Regulation · EU
- EU General Data Protection Regulation (GDPR)Regulation · EU
- EU Cyber Resilience Act AnnexesRegulation · EU
- BAIT (BaFin Supervisory Requirements for IT)Regulation · EU
- EU Cyber Resilience ActRegulation · EU
Get ENS ready, not stressed
Automate controls, gather evidence continuously and stay audit-ready, all on one platform.