MORINI COMPUTERS
Services Expertise AI SOC Service Catalog About us Training Contact

Blog

National Security Framework (ENS): what it requires from your company

2026-11-26

Geometric illustration on ENS compliance and security

The National Security Framework (ENS) is the Spanish regulation that sets the minimum requirements for protecting information and services managed by electronic means. It was created for the public sector, but it affects you as a private company as soon as you provide a service to a public administration: in that case, the system providing the service must demonstrate compliance. What follows is what you need to know to make a decision: whether it applies to you, what category your system falls under, what is audited, and which technical aspects you can have resolved before the auditor arrives.

Morinicomputers
Strengthen the security of your infrastructure
Morini Computers designs and maintains secure IT infrastructures, with specialized consulting in cybersecurity and business continuity.
SOC

In summary

  • The ENS is regulated by Royal Decree 311/2022, of 3 May, in force since 5 May 2022, with the latest consolidated update on 6 November 2024.
  • It applies to you if, by contract, you provide services or solutions to the public sector. What is certified is the system providing the service, not the entire company.
  • The category (basic, medium, or high) is determined by the impact of an incident and dictates the measures: basic is self-assessed; medium and high require an audit and certification by an accredited entity.
  • The audit is repeated at least every two years. What is examined is evidence: monitoring, backups, patching, access control, and incident management.

Table of contents

  • What is the ENS and why does it exist
  • Does the ENS apply to you if you are a private company?
  • Categories: how to determine if your system is basic, medium, or high
  • The measures: 73 controls in three blocks
  • Steps to implement the ENS without losing track
  • Declaration or certification: they are not the same
  • What is reviewed in an audit and what causes failure
  • Where Morini Computers fits in the technical work
  • ENS and NIS2: what is currently in force
  • FAQ
  • Sources

What is the ENS and why does it exist

According to its Article 1, the ENS consists of the basic principles and minimum requirements to adequately protect information and services. The objective is to guarantee access, confidentiality, integrity, traceability, authenticity, availability, and preservation of data processed by electronic means, as stated in the consolidated text of the BOE.

The 2022 version was approved as part of a package of actions to strengthen defense against cyber threats, within the framework of the National Cybersecurity Plan, and adds measures regarding cloud services, system interconnection, supply chain, and connected devices, as explained by the Ministry of Economic Affairs portal.

Three ideas from Article 5 explain how the ENS thinks and are worth noting:

  • Security is comprehensive and risk-based. There is no fixed checklist to tick: you analyze what could happen and apply proportionate measures.
  • Prevention, detection, response, and recovery. Prevention alone is not enough; you must detect issues in time, respond, and be able to recover.
  • Continuous monitoring and periodic reassessment. A snapshot of compliance on audit day is not sufficient: the system must be monitored at all times.

This third idea is the one that requires the most work from a small IT team. Someone has to monitor systems outside business hours, and the critical alert looks just like all the others.

Does the ENS apply to you if you are a private company?

Article 2 of RD 311/2022 applies it to three groups: the entire public sector, systems processing classified information, and systems of private entities that, by virtue of a contractual relationship, provide services or solutions to the public sector, according to the text of Article 2. Tender documents must include compliance requirements, including the corresponding declaration or certification.

In practice, it applies to you if:

  • You sell software, hosting, support, or managed services to a city council, a ministry, a public university, or any public sector body for the exercise of their competencies.
  • A tender document requires a declaration or certificate of compliance with the ENS as a requirement or as an award criterion.
  • You are a subcontractor to the entity providing that service: the requirement may extend to the supply chain when risk analysis advises it.

If you work only with private clients, the ENS is not a legal obligation for you. Nevertheless, many companies use it as a reference for good practices, and it helps answer questions from management, clients, or insurers using a recognized framework.

What is compliant: the system, not the company

A common mistake is thinking that “certifying the company” means reviewing everything. What complies with the ENS is the information system providing the service, and if the tender document does not specify the expected category, it is advisable to ask for it before starting, because the measures and the type of compliance depend on it. Clearly defining the scope from the beginning reduces effort: you audit the platform you sell to the administration, not the salesperson’s laptop.

Scope of the ENS within a company

Categories: how to decide if your system is basic, medium, or high

The category is calculated per system, following the CCN-STIC 803 guide from the National Cryptologic Center (June 2025). The method is as follows:

  1. Identify the services provided by the system and the information it handles.
  2. Assess each dimension: confidentiality, integrity, traceability, and authenticity for the information; availability for the services.
  3. Assign a level to each affected dimension based on the harm an incident would cause: low (limited harm), medium (serious), or high (very serious). If a dimension is not affected, it does not receive a level.
  4. The system takes the maximum value of its assets for each dimension.
  5. The category is derived from the maximum of all dimensions: high if any reaches high, medium if any reaches medium and none reaches high, and basic if the maximum is low.

Illustrative example with invented data. An accounting firm develops an appointment application for a city council. The information consists of names and phone numbers (confidentiality: medium). If the application goes down for a day, citizens can request appointments in another way (availability: low). The integrity of the appointments is rated low. The maximum is medium, so the system is of medium category and will require third-party audit.

A useful clarification from Annex I: setting the category does not change the level of the dimensions that did not influence it, and some measures are applied by category while others are applied according to the level of specific dimensions.

Category When How compliance is demonstrated
Basic Maximum impact is low Self-assessment and declaration of conformity
Medium Some medium dimension, none high Audit and certification
High Some high dimension Audit and certification; the responsible party may suspend the system until serious deficiencies are remedied

The rule for the last two cases is found in Articles 31 and 38 of RD 311/2022.

The measures: 73 controls in three blocks

Annex II organizes security measures into three groups: organizational framework (security policy, regulations, roles), operational framework (planning, access control, operations, monitoring, continuity), and protection measures (facilities, personnel, equipment, communications, information, and services). The guide CCN-STIC 808 (April 2026) lists 73 measures, each with mandatory base requirements and, where applicable, mandatory or optional reinforcement requirements.

Key points for planning:

  • Base requirements always apply.
  • Reinforcements are mandatory for medium or high categories, and optional in other cases.
  • A measure can be replaced by a compensating one if justified in writing, according to Article 5 and Annex II.

This last point is practical: you do not need to copy a specific solution; you need to be able to explain why yours provides equivalent protection and document it.

Which measures typically weigh most on an IT team's workload

Not all of the ENS is technical, but these areas consume the most time and are what auditors expect to see functioning:

  • Incident detection and response. Who monitors, with what rules, and what is recorded.
  • Vulnerability and patch management. Inventory, periodic review, and application of updates.
  • Backups and continuity. Verified backups and the ability to restore service.
  • Access control and traceability. Who accessed what, and when.
  • Security testing. Evidence that defenses have been verified to withstand attacks.

If you handle personal data, the ENS coexists with the GDPR, and techniques such as data pseudonymization reinforce the protection of the information you process.

Steps to implement the ENS without losing track

The path is the same for an SME as for a large provider; only the depth changes.

  1. Define the scope. Which system provides the service to the public sector and what category the tender requires.
  2. Determine the category using the method in CCN-STIC 803.
  3. Select the measures and reinforcements from Annex II that correspond to that category.
  4. Conduct a risk analysis and establish a security policy approved by management. Applying a specific compliance profile does not exempt you from this: it only predefines which measures are expected, according to Cedesa.
  5. Implement and document. Each decision and each compensating measure is recorded in the statement of applicability.
  6. Set the expected maturity level and gather evidence for each measure.
  7. Evaluate or audit and repeat the cycle at each review.

A note on the CCN-STIC 804 implementation guide: the current edition dates from 2017 and was drafted based on RD 3/2010, so the details of the enhancements must always be cross-checked against the current Annex II, which prevails in case of discrepancy.

Step 5 is where small teams get stuck: implementing monitoring, patching, and recovery while handling daily operations. This is where the most time is saved by working with a provider that already covers these areas, as we will see below.

Declaration or certification: they are not the same

Article 38 of RD 311/2022 distinguishes:

  • Basic category: a self-assessment is sufficient for the declaration of conformity. The CCN-STIC 808 guide indicates that this must be carried out at least every two years or upon substantial modifications, can be performed by the staff administering the system, must be documented with evidence for each measure, and is analyzed by the security officer.
  • Medium or high category: an audit is required for the certification of conformity. This is issued by a certification body accredited by ENAC, and the CCN publishes the list of accredited entities.

Declarations and certifications must be published on portals or electronic offices. This is how you can determine if a company complies with the ENS: by consulting its declaration or certificate, and the CCN list of certifying entities.

There is a scheduling advantage: the regular audit under Article 31 can serve simultaneously for certification, so that the exercise is not duplicated.

How often audits are conducted

Article 31 requires a regular ordinary audit at least every two years. A substantial modification of the system triggers an extraordinary audit, which resets the two-year count. A three-month extension is permitted due to force majeure. The report determines the level of compliance and identifies findings of conformity and non-conformity (source: BOE and CCN-STIC 808).

ENS audit calendar and applicable deadlines

Keep in mind: if you migrate platforms, change cloud providers, or redesign the network, this may count as a substantial modification. Plan the change alongside the audit schedule, not afterwards.

What is reviewed in an audit and what causes failure

The auditor looks for evidence, not promises. These are the recurring questions:

Question asked Expected evidence
Who monitors the systems and when? Event logs, investigated alerts, reports
How do you manage vulnerabilities? Inventory, periodic scans, patches applied with dates
Can you recover the service? Backups, restoration tests, continuity plan
Have you tested your defenses? Penetration test report with findings and corrections
Who decides what? Security policy and differentiated roles

Common failures are not technical, but documentary: a measure implemented without a record, a backup that has never been restored, a patch installed without proof of when. Therefore, it is advisable that each tool provides a written report, not just an alert.

Where Morini Computers fits in the technical work

We are not a certifying entity and do not replace the security officer of your organization: that decision and the policy are yours. What we do cover from Barcelona, with support in Catalan, Spanish, and Italian, are the technical areas where an ENS system requires continuous evidence:

  • Monitoring: our AI-managed SOC is designed to monitor your systems 24/7. Nothing touches production without your approval, and you receive the verdict in writing.
  • Patching: system monitoring and automatic patching keep equipment up to date and provide a record of actions.
  • Security testing: in the service catalog you have external and internal penetration tests, web application, API, Wi-Fi and cloud testing, as well as vulnerability assessment.
  • Backups and recovery: backup, Disaster Recovery and business continuity, to demonstrate that the service can be restored.

If you want to see how this combines with the rest of your infrastructure, you can find more details on our cybersecurity for SMEs page and in the managed cybersecurity guide.

System monitoring and automatic patching

If a tender requires ENS and your IT team consists of just two people, tell us which system provides the service and what category is expected. Contact us via morinicomputers.com and we will assess which technical aspects you can have covered.

ENS and NIS2: what is currently in force

The question always arises: does NIS2 replace the ENS? As of September 2026, according to Haxoris, the NIS2 Directive had still not been transposed in Spain, the draft cybersecurity law had been approved in first reading in January 2025, and the European Commission had taken Spain to the Court of Justice in July 2026. Royal Decree-Law 12/2018 and Royal Decree 43/2021 remain in force. The situation may change during the legislative process, so please check the current status in the BOE.

What is useful for you: the ENS is the auditable framework you have today, and the monitoring, response and supply chain measures you implement for the ENS position you well for any subsequent regulations. Furthermore, Implementing Regulation (EU) 2024/2690 applies directly from October 18, 2024, to cloud providers, data centers and managed service providers, regardless of transposition, according to the same source.

FAQ

Where is the National Security Framework regulated?

In Royal Decree 311/2022, of May 3, published in the BOE on May 4, 2022, and in force since May 5. Its consolidated text was last updated on November 6, 2024, following the amendment by Royal Decree 1125/2024. The technical instructions for compliance, security status report, audit and incident notification remain in force.

How to know if a company complies with the ENS?

Request its declaration of conformity (basic category) or its certificate of conformity (medium or high), which must be published on portals or electronic offices. The certificate is issued by an entity accredited by ENAC, and the CCN publishes the list of these entities. Also check that the scope covers the system providing the service to you.

Is a freelancer or an SME required to comply with the ENS?

Only if they provide services or solutions to the public sector under contract, in which case the tender will specify the requirements. If you work exclusively with private clients, it is not mandatory, although it can serve as a reference framework. In any case, the category is determined by the system, not by the size of the company.

How often must the ENS be audited or assessed?

At least every two years, and exceptionally in the event of substantial modifications to the system. In the basic category, a documented self-assessment is sufficient; in the medium and high categories, a formal audit with a report on compliance and non-compliance is required.

Morinicomputers
Ask us about the ENS
Tell us how you manage your systems and we can guide you on the technical security and continuity needs of your company.
MMorinicomputers
Send us an email[email protected]
+34 681950522
+34 681950522

Sources

  • BOE: Royal Decree 311/2022, consolidated text
  • Article 2 of the National Security Framework (Iberley)
  • NSF Guide (Minery Report)
  • What is the NSF and how to certify a company (Briblo)
  • CCN-STIC 803: system assessment in the NSF
  • CCN-STIC 808: verification of compliance with measures
  • NSF levels and categories (Inventowry)
  • NSF in a municipality with fewer than 20,000 inhabitants (Cedesa)
  • CCN-STIC 804: the NSF implementation guide
  • National Security Framework: a guide by an auditor
  • NIS2 in Spain: what it requires today and what it does not (Haxoris)
  • Data pseudonymization

Recommendations

  • Cybersecurity for SMEs · Barcelona
  • Managed cybersecurity: what it includes and how to hire it
  • Managed AI SOC · 24/7 monitoring for businesses
  • Service catalog · Penetration testing and security assessment
MORINI COMPUTERS
  • Morini Computers S.L.
    Barcelona · Cataluña (España)

Customer support

  • Phone:
    +34 681 95 05 22
  • Email:
    [email protected]

Services

  • AI SOC
  • About us
  • Contact
  • Privacy Policy
  • Cookie Policy
© 2026 Morini Computers S.L. · Barcelona (España). All rights reserved.
Privacy Policy Cookie Policy