π‘οΈ The Only Container Orchestrator with Built-In Compliance: How Gubernator Enforces ENS, NIS 2, CIS Benchmark, and ISO 27001
Over the past decade, container orchestration has been polarized into two stark extremes:
- Kubernetes (K8s) Overengineering: An extraordinarily capable blank canvas, yet born naked of security and regulatory compliance. To bring a Kubernetes cluster into compliance with standards like Spain's Esquema Nacional de Seguridad (ENS) or the European NIS 2 Directive, SecOps teams must assemble, configure, and maintain an intricate tapestry of 15+ third-party tools and operators: Trivy, Falco, Kyverno or OPA Gatekeeper, Cosign, cert-manager, Keycloak, Fluentbit, Prometheus, Grafana, OpenTelemetry... The consequence is astronomical technical debt, operational fragility, and a voracious appetite for RAM and CPU just to run the control plane.
- The Bare Minimalism of Docker Swarm and HashiCorp Nomad: Lightweight and elegant solutions for running containers, yet entirely devoid of forensic audit trails, admission control, cryptographic image signing, and regulatory compliance engines.
What happens when a public administration, healthcare provider, critical infrastructure operator, or financial institution needs to deploy containerized workloads meeting the strictest cybersecurity regulations without drowning in operational complexity and exorbitant infrastructure costs?
The answer is Gubernator (gbnt): the first and only container orchestrator designed from the ground up with native enterprise cybersecurity and regulatory compliance.
In this deep dive, we explore Gubernatorβs built-in security architecture, the international compliance frameworks it continuously audits in real time, its degradation-detecting watchdog, and why it represents a paradigm shift in technological sovereignty.
ποΈ The Core Philosophy: "Secure & Compliant by Design"
Unlike orchestrators where security is an afterthought retrofitted via third-party plugins, in Gubernator, every Centurion (worker node) and Legion (Docker Compose stack) is governed by an unyielding security framework from the moment it boots:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β GUBERNATOR ENTERPRISE SECURITY & COMPLIANCE ENGINE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β πͺπΈ ENS RD 311/2022 β πͺπΊ NIS 2 Directive β π CIS Benchmark β π ISO 27001:2022 β
ββββββββββββββββββββββββΌβββββββββββββββββββββββΌβββββββββββββββββββββΌββββββββββββββββββββββ€
β β’ op.acc.2 / op.mon β β’ Art. 21 Risks β β’ Daemon & Host β β’ A.5 Controls β
β β’ Basic/Medium/High β β’ SIEM Syslog Live β β’ Kernel Seccomp β β’ A.8 Controls β
β β’ CCN Evidence β β’ Cyber Hygiene β β’ AppArmor/Caps β β’ Formal SoA Rep. β
ββββββββββββββββββββββββ΄βββββββββββββββββββββββ΄βββββββββββββββββββββ΄ββββββββββββββββββββββ€
β π CONTINUOUS COMPLIANCE WATCHDOG DAEMON (15m Interval) β
β - Instant reactive re-evaluation upon any security configuration mutation β
β - Automatic degradation detection (>1.0% drop) -> COMPLIANCE_DEGRADED event β
β - Native Prometheus gauges: gbnt_compliance_score{framework="..."} β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π IDENTITY, ACCESS & FORENSIC AUDITING β
β β’ Active Directory / OpenLDAP (LDAPS:636) β’ SSO / OIDC (Google, Okta, Keycloak) β
β β’ Granular RBAC (Admin, Operator, Auditor) β’ MFA/TOTP with Offline Time Beacon β
β β’ Cryptographic SHA-256 Tamper-Evident Hash Chain Audit Ledger β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π¦ SOFTWARE SUPPLY CHAIN SECURITY & ADMISSION β
β β’ CVE Vulnerability Scanner with CVSS v3 β’ CycloneDX & SPDX JSON SBOMs β
β β’ In-Cluster Cosign ECDSA P-256 Signing β’ Gatekeeper Admission Controller β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Everything runs natively from a single self-contained Go binary with zero heavy external dependencies, managed through a modern, responsive Flutter Web Dashboard.
π 1. Esquema Nacional de Seguridad (ENS - Royal Decree 311/2022)
The Esquema Nacional de Seguridad (ENS) regulates the security conditions that Spanish Public Administrations and their technology partners must fulfill to safeguard information systems and services.
Gubernator natively assesses the operational controls specified by Spain's CCN-STIC standards:
-
op.acc.2(Access Control & Credential Hardening):- Configurable minimum password length validation (default 12+ characters).
- Enforced complexity (uppercase, lowercase, digits, and special characters).
- Automatic account lockout after repeated failed login attempts.
- Idle session expiration and timeout enforcement.
-
op.acc.6(Strengthened Authentication):- Mandatory Multi-Factor Authentication (MFA/TOTP RFC 6238) for administrative and operational roles.
-
op.mon.1(System Monitoring & Logging):- Cryptographically signed audit trails and live security event streaming to enterprise SIEM platforms.
-
op.exp.8(Integrity Protection & Cryptographic Chains):- Mathematical integrity verification across the action history via cryptographic hash chains.
Gubernator automatically evaluates compliance across the three official ENS tiers (Basic, Medium, and High) and produces a ready-to-present CCN evidence dossier in a single click.
πͺπΊ 2. European NIS 2 Directive (EU Directive 2022/2555)
The European Union's NIS 2 Directive establishes a harmonized cybersecurity baseline across essential and important entities, introducing strict penalties for non-compliance with risk management and incident reporting obligations.
Gubernator directly addresses the requirements of Article 21 (Cybersecurity risk-management measures):
- Risk Analysis & Information System Security Policies: Continuous monitoring of image admission modes and cluster security settings.
-
Incident Handling & Real-Time SIEM Streaming:
- Native RFC 5424 and RFC 3164 Syslog forwarder dispatching security events directly to Splunk, Elastic, Microsoft Sentinel, Wazuh, or QRadar.
- Automatic dispatch on policy violations, brute-force lockouts, and compliance degradation.
-
Business Continuity & Consistent Backups: Integrated with Gubernator's The Granaries subsystem, allowing operators to freeze containers (
docker pause), create encrypted.tar.gzsnapshots verified with SHA-256 digests, and manage automated retention schedules. - Supply Chain Security: Image validation prior to task scheduling to thwart dependency injection attacks.
- Cryptography & Encryption: Enforced mTLS and X.509 certificate lifecycle management on the Ingress proxy with automated certificate renewal.
The dashboard presents dedicated compliance gauges for both Essential Entities (EE) and Important Entities (IE) with live breakdowns of all 10 Article 21 requirements.
π 3. CIS Docker Benchmark v1.6.0
The Center for Internet Security (CIS) maintains the industry benchmark for hardening Docker hosts and container runtimes.
Gubernator embeds an automated CIS evaluation engine spanning all 6 core benchmark domains:
-
Section 1 (Host Configuration): Dedicated partition verification for
/var/lib/docker,auditdsystem call tracking, and daemon isolation. -
Section 2 (Docker Daemon Configuration): Inter-container communication restrictions on the default bridge (
icc=false), user namespace remapping (userns-remap), log rotation policies (max-size,max-file), and deprecation of legacy registry support. -
Section 3 (File Permissions and Ownership): Strict permissions verification (
0644,0600) androot:rootownership on/etc/docker/daemon.json, sockets, and TLS keys. -
Section 4 (Images and Build Files): Verification of non-root
USERexecution, detection of embedded credentials, and prevention of compiler binaries inside runtime containers. -
Section 5 (Runtime Security):
- Enforcement of default AppArmor profiles and Seccomp filters.
- Linux capability minimization (
--cap-drop=ALL). - Read-only root filesystems (
read_only: true). - Prevention of privilege escalation (
no-new-privileges: true).
- Section 6 (Security Operations): Housekeeping for orphaned volumes, zombie containers, and deprecated runtime parameters.
Each CIS check outputs its status (PASS, WARN, FAIL, INFO), alongside raw technical evidence and step-by-step remediation advice.
π 4. ISO/IEC 27001:2022 (Annex A)
ISO/IEC 27001 is the global benchmark for Information Security Management Systems (ISMS).
Gubernator evaluates the updated Annex A controls (2022 revision):
-
Theme A.5 (Organizational Controls):
- A.5.15 / A.5.18: Role-based access control and segregation of privileged rights.
- A.5.24 - A.5.28: Incident management workflow and forensic evidence collection.
-
Theme A.8 (Technological Controls):
- A.8.2: Privileged access rights monitored and managed.
- A.8.8: Technical vulnerability remediation across production stacks.
- A.8.9: Configuration management and cluster hardening.
- A.8.15: Tamper-resistant logging and event recording.
- A.8.28: Secure coding and declarative configuration validation.
From the web console, teams can export a formal Statement of Applicability (SoA) with real-time audit statuses ready for external certification audits.
π 5. Continuous Compliance Watchdog: Zero Blind Spots
Traditional compliance auditing relies on periodic, point-in-time reviews: an external auditor visits today, and until the next quarter, nobody knows whether security configurations have quietly drifted out of compliance.
In Gubernator, compliance is an active, continuous process:
[ Security Configuration Mutation ] βββΆ Reactive Out-of-Band Trigger
(e.g., MFA disabled, β
password policy relaxed, βΌ
SIEM endpoint altered) βββββββββββββββββββββββββββ
β Compliance Watchdog ββββ Background Cron (15m)
ββββββββββββββ¬βββββββββββββ
β
Did score drop > 1.0%?
βββ YES βββΆ π¨ Audit Log: COMPLIANCE_DEGRADED (WARNING)
βββ NO βββΆ βΉοΈ Audit Log: COMPLIANCE_RESTORED (SUCCESS)
β
βΌ
π Prometheus: gbnt_compliance_score
π₯οΈ Web UI: Executive Matrix Synchronized
What happens if an admin relaxes security settings?
If an operator disables MFA for a user or lowers the cluster password complexity threshold:
-
Instant Reactive Re-evaluation: Rather than waiting for the 15-minute background interval, the API immediately fires
go security.TriggerComplianceAudit(...). - Cryptographic Drift & Degradation Alert: The engine compares the previous score with the new evaluation. If it detects a drop greater than 1.0%, it registers a forensic warning:
{
"event": "COMPLIANCE_DEGRADED",
"severity": "WARNING",
"message": "Compliance score degraded in Spanish ENS (RD 311/2022): dropped from 96.9% to 88.5% (trigger: MFA_DISABLED)"
}
-
Prometheus Metrics (
:4002/metrics):
# HELP gbnt_compliance_score Current compliance score (0.0 to 100.0) evaluated by the continuous compliance audit engine.
# TYPE gbnt_compliance_score gauge
gbnt_compliance_score{framework="cis_docker"} 75.0
gbnt_compliance_score{framework="ens"} 88.5
gbnt_compliance_score{framework="iso27001"} 97.9
gbnt_compliance_score{framework="nis2"} 91.7
-
Live Dashboard Executive Matrix: The top header badge confirms
β WATCHDOG ACTIVEalongside the[ π‘οΈ Re-evaluate All Compliance ]master button to trigger an on-demand audit cycle in one click.
π 6. Tamper-Evident Forensic Audit Trail (SHA-256 Hash Chain)
Advanced attackers who breach a system frequently attempt to wipe or modify audit logs to cover their tracks.
To prevent log tampering, Gubernator implements an immutable forensic ledger:
Every log entry stored in SQLite contains:
-
PreviousHash: The SHA-256 hash of the immediately preceding event. -
EventHash: The cryptographic checksum computed over the event payload: $$\text{Hash}n = \text{SHA-256}(\text{Hash}{n-1} \parallel \text{Timestamp} \parallel \text{Actor} \parallel \text{IP} \parallel \text{Category} \parallel \text{Action} \parallel \text{Status} \parallel \text{Details})$$
Clicking "Verify Forensic Chain" traverses the entire audit history, recalculating every cryptographic link. If an unauthorized actor modifies a row directly in the database, the hash chain breaks instantly, flagging the exact corrupted record.
π¦ 7. Supply Chain Security: SBOMs, CVE Scanning, and Cosign
Software cannot be considered secure if you don't know what is running inside your containers.
Gubernator delivers deep software supply chain inspection out of the box:
-
Software Bill of Materials (SBOM):
- Instant export in standard CycloneDX JSON and SPDX JSON formats.
- Comprehensive inventory of OS packages, runtime language dependencies (Go, Python, Node.js, Rust, Java), and license compliance (GPL, Apache, MIT).
-
CVE Vulnerability Scanning:
- Image analysis against official vulnerability feeds with CVSS v3 severity scoring and automated patch recommendations.
-
Cryptographic Signing via Cosign (Sigstore):
- In-cluster generation of ECDSA P-256 keypairs without external tooling.
- Cryptographic signing and digest verification directly integrated into deployment pipelines.
-
Security Gatekeeper (Admission Controller):
- Declarative pre-deployment admission policies that block unsigned images or containers containing unpatched critical vulnerabilities.
π 8. Enterprise Identity, RBAC, and Resilient MFA (Time Beacon)
- Enterprise Directory Integration (LDAP/LDAPS): Direct connection to Microsoft Active Directory and OpenLDAP over LDAPS (port 636) and StartTLS, mapping external directory groups to Gubernator cluster roles.
- Single Sign-On (SSO / OIDC): Built-in authentication support for Google Workspace, Keycloak, Okta, Authentik, and Azure AD.
-
Role-Based Access Control (RBAC):
- π
admin: Full administrative control over cluster nodes, signing keys, TLS certs, and security policies. - β‘
operator: Stack authoring, service scaling, container restarts, and terminal shell access. - π
auditor: Forensic audit inspection for ENS, NIS 2, CIS, and ISO 27001 evidence without mutation privileges. - ποΈ
readonly: Visual monitoring of dashboards and telemetry.
- π
-
Laptop Clock-Drift Compensation (Time Beacon):
- A notorious issue with virtualized environments (Multipass, VMware, VirtualBox) is that closing a laptop lid suspends the host and causes VM clock desynchronization, immediately breaking TOTP MFA codes (RFC 6238).
- Gubernator features a Time Beacon mechanism: the browser transmits a client-side timestamp reference during login. If clock drift is detected, Gubernator validates the token and hot-syncs the VM host kernel clock on the flyβ100% offline without needing internet access.
βοΈ Comparison Matrix: Why Gubernator Stands Alone
| Security & Compliance Feature | Kubernetes (K8s) | Docker Swarm | HashiCorp Nomad | Gubernator (gbnt) |
|---|---|---|---|---|
| Deployment Simplicity | β Extreme Complexity | β Very Simple | β οΈ Moderate | β Dead Simple (1 Binary) |
| Native Compose Support | β No (Requires Kompose/CRDs) | β Yes | β No (Custom HCL) | β Yes (Native) |
| Spanish ENS (RD 311/2022) | β No (Requires bespoke audits) | β No | β No | π’ Native (Basic/Medium/High) |
| EU NIS 2 Directive (Art. 21) | β No native engine | β No | β No | π’ Native (EE & IE) |
| Automated CIS Docker Benchmark | β οΈ Via plugins (Kube-bench) | β No | β No | π’ Native (6 CIS Domains) |
| ISO/IEC 27001 (Automated SoA) | β No | β No | β No | π’ Native (Annex A) |
| Continuous Compliance Watchdog | β No | β No | β No | π’ Native (Cron + Triggers) |
| Compliance Degradation Alerts | β No | β No | β No | π’ Native (>1% Drop Alert) |
| SIEM Syslog Forwarder (RFC 5424) | β οΈ Via heavy logging agents | β No | β No | π’ Native in Core |
| Tamper-Evident SHA-256 Ledger | β No | β No | β No | π’ Native Hash Chain |
| In-Cluster Cosign ECDSA Signing | β οΈ Via Kyverno/Cosign | β No | β No | π’ Native Key Management |
| CycloneDX / SPDX SBOM Generator | β οΈ Via external scanners | β No | β No | π’ Native One-Click Export |
| Idle Memory Consumption per Node | ~1.5 GB - 3 GB | ~100 MB | ~150 MB | π’ < 60 MB |
π Conclusion: Sovereign, Simple, and Certified
Gubernator proves that organizations do not have to accept either the runaway complexity of Kubernetes or the security void of minimalist orchestrators.
By embedding the world's most rigorous compliance frameworks (Spanish ENS RD 311/2022, European NIS 2, CIS Docker Benchmark, and ISO/IEC 27001) directly alongside a continuous compliance watchdog, cryptographic Cosign signing, standardized SBOM generation, and a tamper-evident SHA-256 audit ledger, Gubernator stands as the only container orchestrator on the market that delivers radical simplicity and certified cybersecurity right out of the box.
If you operate in regulated industries, government agencies, healthcare, defense, or simply believe your infrastructure security shouldn't rely on 20 fragile plugins stitched together with duct tape, give Gubernator a run:
π Project Repository: https://github.com/mario-ezquerro/gubernator
β If you find this project valuable, star the repo and join our journey towards sovereign cloud-native computing!

Top comments (0)