Security model
A platform that can change every host it watches is a target. These are the controls that stand between that capability and someone misusing it.
Pull-only agents
Nothing connects to a monitored host. Agents open no listening port and reach the server on a heartbeat, which also means laptops behind NAT and hosts in segmented networks work without firewall exceptions towards them.
Signed commands
Every command is signed with HMAC-SHA256 using the agent's own token, and carries a timestamp. Agents refuse a command that is older than ten minutes or more than a minute in the future, so a captured command cannot be replayed later.
Roles and permissions
Seven built-in roles: Super administrator, Left Security Officer, Right Security Officer, Administrator, Analyst, Auditor and Viewer. You can create your own roles and give individual users extra grants or denials. When a grant and a denial meet, the denial wins.
Dual control
Critical actions wait for a second person to approve them. By default this covers changes to users and roles, the approval policy itself, containment, remediation, firewall pushes, deleting agents, licences, platform updates, API keys, agent releases, deploying agents remotely and writes to Active Directory.
The Left and Right Security Officers approve each other's requests, and nobody can approve their own. Pending requests appear under Approvals. Which actions need approval, and who approves whom, is set under Settings, Access control, Dual control.
On a fresh installation
A new installation has one administrator, so no request could ever be approved, not even creating the second user. Until two active users who can approve each other exist, an approver acts alone: every such action is recorded in the audit trail with the reason, and every console page shows that four-eyes is inactive. As soon as a second approver exists the rule applies in full, and a change that would leave nobody able to approve user management is refused. Make the second approver a second Super administrator, or create a Left and a Right Security Officer.
Full procedure: 15.4 Dual control (four-eyes).
Sign-in
- Two-factor authentication (TOTP) is required by default, with ten single-use recovery codes.
- The installation's first administrator must replace the one-time password before anything else opens.
- Passwords shorter than 12 characters, or well known, are refused.
- Single sign-on with OIDC is available; local sign-in remains for break-glass access.
- Directory sign-in lets people use their Active Directory account over LDAPS or StartTLS, with two-factor always required, roles from their groups, and failed binds kept below the domain's lockout threshold. Directory sync takes access away within minutes from accounts disabled or removed in the directory, and Windows sign-in (Kerberos) signs people in on domain computers with their Windows ticket.
- An SSO or directory sign-in never demotes the last active super administrator, and never makes a change after which nobody could approve user management.
Encryption in transit
The console, the API and the agents use HTTPS by default. Encryption can be switched off for a lab with ./lawliet tls off; while it is off, every console page and the sign-in page say so in red, and the switch is in the audit trail. Turning it back on offers to sign every user out and to rotate the agent enrolment secret, since both crossed the network in clear. See TLS and certificates.
API keys
Service accounts use API keys with one of three scopes: read-only, run scans or ingest. Keys are stored only as SHA-256 hashes.
Audit trail
Every action is recorded with the user, the time and, for critical actions, the approver. Audit records are kept for two years by default.
Delivery and updates
- Each bundle carries a signed manifest of every file in it.
- The server application ships compiled to native code for Intel/AMD and ARM.
- Licences are RSA-4096 signed and verified on your server, with no licence server and no telemetry.
- Agent releases are signed with a separate Ed25519 key held offline.
- Agents are compiled programs, each signed. Installers check what they download against the hash the server publishes, never pipe a download into a shell, and never run anything from the folder they are started in.
Where your data lives
On your server, in PostgreSQL and Redis on the internal container network. Neither is published on a host port. Nothing is sent to us.
Stored secrets, such as two-factor keys and integration credentials, are encrypted. A fresh installation generates its own data encryption key; an update never changes it, so existing data stays readable.
Full procedure: 9. Security hardening of the server, 16. Agent security.
Reporting a vulnerability
Write to [email protected].