What is the National Security Framework?
What is the National Security Framework (ENS), to whom it applies, how information systems are categorized and what security measures it requires.

What is it and who does it apply to?
The National Security Framework (ENS) is the common cybersecurity framework for Spain’s public sector. It establishes the basic principles, minimum requirements and security measures that information systems must meet to protect the data they process and ensure the services they provide to the public. It also applies to companies providing solutions or services to the public sector.
- What does it establish?
- Basic principles and minimum requirements, implemented through security measures suited to each information system’s category and security dimension levels, and proportionate to the risks it faces.
- Governing legislation
- Royal Decree 311/2022, of 3 May.
Timeline
2010
Royal Decree 3/2010
Establishes the National Security Framework.
2015
Royal Decree 951/2015
Amends Royal Decree 3/2010.
2022
Royal Decree 311/2022
Regulates the current ENS and replaces Royal Decree 3/2010.
To whom does it apply?
The ENS is mandatory for Spain’s entire public sector and for the companies providing services to it. Public administrations require compliance in contracts for those services.
Where can you check whether the ENS applies?
Check article 2 of Royal Decree 311/2022, which defines its scope. For specific cases, also consult the CCN-STIC series 800 guides.
ENS basic principles, minimum requirements and roles
The ENS is based on basic principles and minimum requirements that every organisation must consider when protecting its systems.
- Basic principles
- The basic principles set out in Article 5 of Royal Decree 311/2022 can be consulted at the next link: basic ENS principles, Article 5 of Royal Decree 311/2022 (opens in a new tab) — Basic principles, Article 5, RD 311/2022.
- Minimum requirements
- The minimum requirements laid down in Article 12 of Royal Decree 311/2022 can be found at: the next link: minimum ENS requirements, Article 12 of Royal Decree 311/2022 (opens in a new tab) — Minimum requirements, Article 12, RD 311/2022.
Roles and Information Security Committee
The Security Policy defines these roles, their duties and responsibilities, and the procedure for their appointment and renewal. It identifies those responsible unambiguously and establishes coordination and conflict-resolution mechanisms. It also sets out the structure, membership and responsibilities of the security committee or committees, in accordance with articles 11, 12 and 13 of RD 311/2022 and measure org.1 in Annex II.
For further information, see:
ENS security dimensions
To determine the protection a system needs, assess the impact an incident would have on each of the five security dimensions. Each dimension is rated LOW, MEDIUM or HIGH, using the criteria in CCN-STIC guide 803 (system assessment), available in the guide catalogue (series 800).
- Confidentiality
- Ensuring that information is known only to authorised individuals.
- Integrity
- Ensuring that information is not altered without authorisation.
- Traceability
- Being able to determine who did what and when.
- Authenticity
- Being able to confirm the identity of a person accessing the system or the origin of information.
- Availability
- Ensuring that information and services are accessible when needed.
ENS security categories
The category of a system depends on the highest level it reaches in its five dimensions (Annex I).
The measures applicable depend on the assessment of each dimension, because each measure can affect only certain dimensions.
BASIC
No dimension exceeds the LOW level.
How it is demonstrated: a Declaration of Conformity based on a self-assessment. Certification is also an option and is recommended.
MEDIUM
At least one dimension reaches MEDIUM and none reaches HIGH.
How compliance is demonstrated: Certification of Compliance following a formal audit.
HIGH
At least one dimension reaches HIGH.
How compliance is demonstrated: Certification of Compliance following a formal audit.
Once conformity has been declared or certified, the system receives a conformity mark.
CCN-STIC Guide 809 (Declaration and Certification of Conformity), in the guides catalogue (800 series).
ENS security measures
Annex II of Royal Decree 311/2022 sets out the security measures. Those applicable to a system depend on its category, the level of each dimension and, where relevant, the Specific Compliance Profile (PCE).
Measures by category
BASIC
52 security measures
MEDIUM
68 security measures
HIGH
73 security measures
Other sets of measures
Fundamental Security Requirements
38 security measures
Measures table (Annex II)

ENS Specific Compliance Profiles (PCE)
A Specific Compliance Profile (PCE) is a set of measures, reinforcements and application criteria tailored to a particular sector or type of organisation. The Centro Criptológico Nacional (CCN) validates and publishes the profiles (article 30 of Royal Decree 311/2022).
What does it provide?
Where is it applied?
Profiles are integrated into INES on the CCN’s Portal de Gobernanza. Selecting a profile prompts the tool to suggest the corresponding measures.
Profiles by type of organisation and sector
View the profiles available for each type of organisation (such as Local Authorities or Fundamental Security Requirements) and sector, including their guides and status, and find out how a new profile is developed.
For local entities, the ENS Compliance section offers an itinerary tailored to their profile (CCN-STIC Guide 883).

National Security Status Report (INES)
Article 32 of Royal Decree 311/2022 requires the CCN to organise the collection of information on organisations’ security status. This information is submitted through INES, where organisations can complete an annual questionnaire.
For clarification of any term, consult the glossary.
