Governance, Four-Eyes & Compliance
Cross-node lateral movement, monitor-first canary rollouts, Two-Person cryptographic seals, NIS2/DORA/AI Act evidence, GitOps and WORM archives.
Interactive Isometric Architecture Simulators
Post-Quantum Zero-Trust Onboarding & Outbound Reverse Live RPC
See how 1 to 10,000+ Linux servers join a hub with zero inbound ports and instant revocation.
Admin mints scoped enrollment token (stored as SHA3-256)
From /nodes -> Add node, an admin mints a single-use or unlimited (max_uses=0) cluster token. Only its SHA3-256 digest is persisted in SQLite migration 0027.
{
"metadata": { "cluster": "prod-eu", "max_uses": 0, "ttl": "168h" },
"install_command":
"curl -fsSL 'https://hub:7070/api/v1/fleet/install.sh?token=...' | sudo sh"
}Ometsuke turns Ring 0 runtime telemetry into verifiable governance artifacts for regulated environments without ever introducing automatic enforcement.
#1. Cross-Node Lateral Movement & Monitor-First Canary Rollout
- Lateral Movement Correlation (
GET /api/v1/nodes/lateral-movement): Correlates outbound SSH, TCP, or remote execution activity from one enrolled host referencing another node's hostname, ID, or IP label with suspicious follow-up activity on the target host inside a configurable window (default 15 minutes). Correlated paths surface directly on the Isometric 3D Fleet Map (/nodes) and through the read-only MCP toolfleet_lateral_movement. - Monitor-First Canary Rollout (
POST /api/v1/nodes/policy-rollout): Stages starter packs (such asai-agent-runtime-guard) across a cluster or percentage canary (1–100%) strictly inmonitormode. Attemptingmode: "enforce"via fleet rollout is refused (403) — enforcing remains gated behind explicit human seals. - Forensic Non-Destructive Freeze (
freeze-process/SIGSTOP): Alongsidekill-process,pause-container, andisolate-container, operators can execute a sealedSIGSTOPfreeze via/actions/executeto pause a suspicious process in RAM for forensic inspection without destroying volatile evidence.
#2. Two-Person (Four-Eyes) Cryptographic Seals & Enforcement Gate
Stored in SQLite Migrations 0028_four_eyes_seals.sql + 0030_four_eyes_consume.sql and managed directly from the Governance sidebar link (/governance):
- Operator A requests a Four-Eyes approval (
POST /api/v1/seals/approvals), generating an immutablepayload_sha256and signingchallenge_hex. - Self-approval is impossible: cosigning with the same operator identity is rejected (
400). - Operator B cosigns (
POST /api/v1/seals/approvals/{id}/cosign), either via Browser WebCrypto ECDSA P-256 (Sign with P-256 & cosign, producing SPKI DER + ASN.1 DER verified in Go) or Ed25519 overchallenge_hex. - Hard Enforcement Gate (
-require-four-eyes/OMETSUKE_REQUIRE_FOUR_EYES): When enabled,POST /api/v1/policies/{name}/enforceandPOST /api/v1/actions/executerequire a valid, unexpired, cosignedfour_eyes_approval_idbound to the exact(kind, subject)and atomically consume it once via SQLite CAS (status = 'consumed'), formally proven replay-free (NoApprovalReplayinspecs/tla/FourEyesSeal.tla).
#3. Blast Radius Preview, Policy Studio & Agent Dead-Man's Switch
- Blast Radius Preview (
GET /api/v1/policies/{name}/blast-radius?hours=168): Analyzes recent monitor-mode telemetry before switching toenforce, flagging exact matched binaries, containers, nodes, and critical system lockout hazards (systemd,sshd,containerd,kubelet). Surfaced directly inside/policies/{name}/enforce. - Policy Studio eBPF Safety Lints (
/policies/load): Real-time client-side linter flags Hard Rule #4 (policy-mode: enforce), Tetragon v1.8.0Overrideonsecurity_*withoutdisable-kprobe-multi: "1", >5 selectors per hook,syscall: trueon non-sys_*symbols, and fail-openNotInrules, alongside curated starter snippets. - Agent Dead-Man's Switch (
-deadman-timeout=60s): If a remote fleet agent loses hub heartbeats (3 consecutive failures or grace timeout) immediately after transitioning a policy toenforce, it automatically reverts that policy back tomonitormode to prevent production host lockouts.
#4. Multi-Tenant Cluster-Scoped RBAC
- Bind operator or viewer identities to specific clusters via OIDC (
-oidc-cluster-claim=ometsuke_clustersorometsuke-cluster:<name>group prefixes) or static tokens (token:role:subject:clusterA|clusterB). - Cluster-scoped principals only see their authorized clusters in
/api/v1/nodes/page,/api/v1/nodes/lateral-movement, and/api/v1/auth/me, and receive403 Forbiddenfor cross-tenant?node=Reverse RPC calls, node revocations, or policy rollouts.
#5. Multi-Framework Compliance, S3 Object Lock WORM & Air-Gap Bundles
- Multi-Framework Posture (
GET /api/v1/compliance/posture): Evaluates live runtime evidence across EU NIS2, EU DORA, EU AI Act, SOC 2 Type II, and ISO/IEC 27001:2022, with Ed25519-signed Markdown/JSON auditor exports (GET /api/v1/compliance/export). - GitOps Export (
GET /api/v1/gitops/export): Generates deterministickustomization.yaml,argocd-application.yaml,flux-kustomization.yaml, and SHA-256-annotated monitor-firstTracingPolicymanifests. - S3 Object Lock (
COMPLIANCE) WORM Push: Download signed.tar.gzarchives (GET /api/v1/audit/worm-archive) or push automatically on a schedule using pure-stdlib AWS SigV4 (-worm-s3-endpoint,-worm-s3-bucket,-worm-s3-interval,-worm-s3-retention-days,OMETSUKE_WORM_S3_ACCESS_KEY/SECRET_KEY), plus on-demandPOST /api/v1/audit/worm-pushandGET /api/v1/audit/worm-status. - Air-Gap Offline Deployment & Helm Verification: Build self-contained zero-internet Linux tarballs (static binary, 116 policies, 18 graphs, Helm chart, systemd units,
SHA256SUMS.txt) via./scripts/build-airgap-bundle.sh amd64and verify Helm templates against Go CLI flags with./scripts/verify-helm.sh.