Evidence for the ENS measures on application development, acceptance and supply chain, ready for your conformity audit.

The framework
The Esquema Nacional de Seguridad is regulated by Real Decreto 311/2022, of 3 May, in force since 5 May 2022. It applies to the entire Spanish public sector and to private companies that provide services or solutions to public-sector bodies under contract, and public procurement terms must require ENS conformity, which can extend to the contractor’s supply chain. The security measures in Annex II are grouped into an organizational framework, an operational framework and protection measures. For software, the relevant ones include application development (mp.sw.1), acceptance and entry into service (mp.sw.2), acquisition of new components (op.pl.3), asset inventory (op.exp.1), security configuration and its management (op.exp.2 and op.exp.3), maintenance and security updates (op.exp.4), change management (op.exp.5), protection against malicious code (op.exp.6), activity logging (op.exp.8) and supply chain protection (op.ext.3).
Systems are categorized as BÁSICA, MEDIA or ALTA. Systems in the MEDIA and ALTA categories need a certification audit, and BÁSICA systems a self-assessment, with regular audits at least every two years. For a software supplier to the public sector, conformity is often the condition to compete for a tender.
Auditors ask how applications are developed, how they are accepted into service and how components are chosen. Policy documents alone do not show that it happens on every release.
Open-source packages and subcontracted development reach your systems through the same pipelines. ENS asks you to protect that chain.
Many public bodies and their providers cannot send source code to an external service. The tooling has to run inside their own infrastructure.
How Xygeni helps





Measure by measure
| ENS measure (Annex II) | Evidence you can produce | Xygeni products |
|---|---|---|
| mp.sw.1 Desarrollo de aplicaciones (application development) | SAST, secrets and IaC findings per pull request; guardrail results; findings mapped to CWE and OWASP | AI SAST, Secrets Security, IaC Security, IDE Plugins |
| mp.sw.2 Aceptación y puesta en servicio (acceptance and entry into service) | DAST and API test results before release; guardrail outcome per project | DAST, API Security, ASPM |
| op.pl.3 Adquisición de nuevos componentes (acquisition of new components) | Vulnerability, license and malware checks on every new dependency | SCA, Malware Defense |
| op.ext.3 Protección de la cadena de suministro (supply chain protection) | SBOMs; malicious package alerts; pipeline posture; signed build provenance | SCA, Malware Defense, CI/CD Security, Build Security |
| op.exp.1 Inventario de activos (asset inventory), software assets | Inventory of repositories, components, pipelines and collaborators | ASPM |
| op.exp.2 and op.exp.3 Configuración de seguridad y su gestión (security configuration) | Misconfiguration findings in SCM, CI/CD and IaC | CI/CD Security, IaC Security |
| op.exp.4 Mantenimiento y actualizaciones de seguridad (maintenance and security updates) | Vulnerable component findings; fix pull requests with breaking-change analysis | SCA, Xygeni AI |
| op.exp.5 Gestión de cambios (change management) | Branch protection and code review checks; guardrails on pull requests | CI/CD Security, guardrails |
| op.exp.6 Protección frente a código dañino (protection against malicious code) | Malicious package alerts before a signature exists; malicious code findings (CWE-506) in your repositories | Malware Defense, AI SAST |
| op.exp.8 Registro de la actividad (activity logging), for the software factory | Per-asset audit trail; mute decisions with justification and user attribution | ASPM |
| op.mon.3 Vigilancia (monitoring), for SCM and CI/CD | Alerts on suspicious activity in source code platforms and pipelines | Anomaly Detection |
FAQs
ENS (Real Decreto 311/2022) includes specific measures for software in Annex II: application development (mp.sw.1) and acceptance and entry into service (mp.sw.2), alongside acquisition of new components, maintenance and security updates, change management, protection against malicious code and supply chain protection. The detail and reinforcements that apply depend on the system’s category and security level, and CCN-STIC guides describe how to implement them.
Yes, when they provide services or solutions to public-sector bodies. Real Decreto 311/2022 applies to the entire Spanish public sector and to private-sector providers under contract, and public procurement terms must require conformity with ENS, which can extend to the provider’s supply chain. For many software suppliers, ENS conformity is a condition to bid.
No. ENS conformity is assessed through a self-assessment for BÁSICA systems or a certification audit for MEDIA and ALTA systems, carried out under the rules of the scheme. Xygeni helps you produce evidence for the measures that touch software development and the supply chain, so the audit finds working controls with a record behind them.
They are separate. ENS is a Spanish royal decree for the public sector and its providers, in force since 2022. NIS2 is an EU directive that Spain has not yet transposed as of October 2026. Both ask for secure development and supply chain controls, so the same evidence from your SDLC supports the two.
Yes. Xygeni runs on-premise or air-gapped, or as SaaS. In an on-premise or air-gapped deployment, your source code stays inside your network. Air-gapped scanning needs an online license unlock step. Xygeni is headquartered in Spain.
Get started