logClerk Security Architecture & Customer Trust Commitments
For a cybersecurity service, trust is part of the product. This page documents how logClerk isolates customer environments, protects telemetry in transit and at rest, governs automated containment, and supports your data protection obligations.
1. Simplified End-to-End Security Architecture
[Customer Windows / Linux Endpoints & Syslog Sources]
│ (TLS Encrypted Telemetry + Short-Lived Single-Use Enrollment Token)
▼
[Wazuh SIEM Manager & OpenSearch Indexer (Tenant Agent Group / Dedicated Pod)]
│ (HMAC-SHA256 Signed Forwarder + 5-Minute Anti-Replay Nonce Window)
▼
[logClerk Control Plane API (api.logclerk.dev/v1)]
├── Resolves tenant strictly from trusted server-side infrastructure registry
├── Correlates raw alerts into tenant-scoped Incidents (TenantScopedRepository)
├── Evaluates 3-Tier Customer Response Policy (Low / Moderate / High Impact)
└── Dispatches allowlisted Shuffle SOAR workflow (or holds for Human Approval)
│
▼
[Customer SOC Portal (soc.logclerk.dev)] ──► TOTP MFA + Granular RBAC + PDF/CSV Reports2. How Our 5-Layer Multi-Tenant Isolation Works
Every customer request and incoming security event passes through five verifiable isolation layers:
- Authenticated Membership Gate (`TenantGuard`): Verifies the user’s signed JWT and active organization membership before any controller executes.
- Repository-Level Query Scoping (`TenantScopedRepository`): Every database read, write, update, and delete requires a verified `TenantContext` and overwrites any caller-supplied `tenantId`.
- Trusted Infrastructure Agent & Group Binding: During alert ingestion, logClerk resolves the tenant from server-side Wazuh agent/group bindings and ignores any external webhook payload `tenantId`.
- Encrypted Vault Secret Namespaces: Integration and infrastructure credentials are stored as AES-256-GCM versioned secrets referenced via `vault://` URIs with cross-tenant access checks.
- Tenant-Bound Shuffle SOAR Execution Context: Workflow executions and signed webhook callbacks validate tenant ownership and idempotency keys before updating incident state.
3. Controlled Host Containment & No Arbitrary Remote Shell
logClerk never permits customers or external webhooks to execute arbitrary shell commands on enrolled hosts. Only allowlisted Wazuh active-response commands (such as `firewall-drop`, `route-null`, `win_route-null`, and artifact quarantine on supported Windows and Linux agents) and allowlisted Shuffle workflows can run. High-impact containment actions always require explicit customer or SOC approval before dispatch.
4. Tamper-Evident Audit Trail & Encryption
All external connections enforce TLS 1.2/1.3 with HSTS preload. Security-sensitive events—authentication, MFA setup, role changes, endpoint enrollments, policy changes, high-impact approvals, and cross-tenant denial alerts—are written to an append-only tamper-evident audit ledger (`Object.freeze` records with zero update or delete endpoints) and backed up with SHA-256 integrity checksums.
5. Nigeria Data Protection Act (NDPA 2023) & Data Residency
logClerk implements technical safeguards aligned with the Nigeria Data Protection Act (NDPA 2023): data minimization (storing normalized triage metadata rather than raw personal files), explicit Data Processing Agreement (DPA) consent logging, user PII anonymization on erasure request, and zero-loss forensic evidence export on subscription expiry. Note: Using logClerk supports your technical security and audit controls, but formal statutory compliance depends on your organization’s broader legal governance and licensed DPCO verification.
6. Incident Escalation & Vulnerability Disclosure Policy
We welcome responsible security research. If you discover a vulnerability in any logClerk surface (`logclerk.dev`, `soc.logclerk.dev`, or `api.logclerk.dev`), please report it to security@logclerk.dev or submit a Technical Architecture & Disclosure report via our contact form. We acknowledge receipt within 24 hours and publish remediation summaries for verified findings.
7. AI Governance, Prompt-Injection Defense & Human Approval Gates
AI-assisted triage, investigations, Copilot Q&A, threat hunting, and response recommendations run through a fail-closed control plane—never giving language models direct database, Indexer API, host shell, Docker, or Vault credential access:
- • Allowlisted, Sealed Tool Execution: AI workflows may invoke only 9 strictly scoped read/advisory tools bound to a server-verified tenant context. Cross-tenant IDs and client-forged permission flags are rejected.
- • Telemetry Isolation & Egress Redaction: Endpoint logs are wrapped inside
<untrusted_telemetry>delimiters to neutralize prompt-injection strings, while API keys, Bearer tokens, private keys, and sensitive PII are scrubbed before model inference. - • Human-Gated Containment & Non-Mutating Evaluation: High-impact containment actions (such as endpoint isolation or account disablement) require explicit human approval and valid source evidence before Shuffle execution. Customer security logs are never used for shared model training without explicit written authorization, and Enterprise tenants may enforce private-hosted model routing.