Appendix B. Permissions, roles and four-eyes
This guide describes Lawliet 1.6.3.b (the current release, a beta: earlier releases are beta. The first stable release will be 2.0.0). Screens, commands and procedures may change in later versions; the usage guide is updated with each release. Check the version your server runs under Settings > Platform or with ./lawliet version, and see the Releases page for what changed.
Every permission in the role editor (Settings > Access control > Roles), what it allows, which built-in roles hold it, and which critical actions need a second administrator. The list is taken from the platform's permission catalogue; the role editor and the server read the same list.
How permissions combine and how to change them: 1.2 Roles and permissions and 15. Users, roles and approvals.
B.1 The built-in roles#
| Short name used below | Role | Holds |
|---|---|---|
| SA | Super administrator | Every permission. Protected: cannot be edited or deleted |
| LSO | Left security officer | Every permission. Critical actions approved by the RSO |
| RSO | Right security officer | Every permission. Critical actions approved by the LSO |
| Adm | Administrator | Every permission. For sites that do not use the officer pair |
| An | Analyst | Every view permission except View users and View the audit trail, plus Run scans, Triage findings, Run forensics, Work the review queue, Manage evidence, Manage honeypots |
| Aud | Auditor | Every view permission, including View users and View the audit trail. Changes nothing |
| Vw | Viewer | Every view permission except View users and View the audit trail |
"All admin roles" below means SA, LSO, RSO and Adm.
A user can also be given single grants or denials on top of the role (15.2). A denial always wins. An API key is governed only by its scope, never by a role (15.7).
B.2 Every permission#
The Four-eyes column names the critical action the permission's changes fall under, and whether it needs a second signature by default. Each one can be switched on or off in Settings > Access control > Dual control, except "Change the dual-control policy", which is always on while dual control is on. "-" means no action under this permission is critical.
Overview#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View the overview | view_dashboard | The Overview page and its figures, the wall (20) | All roles | - |
Fleet#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View agents | view_agents | Environment > Hosts, the agent drawer, host health; the Assets page (10, 38) | All roles | - |
| Manage agents | manage_agents | Enrol agents, see the filled-in install command, send commands, turn self-protection on and off, revoke an agent's token, run protection drills, sync assets from agents, see Agent versions; also needed with Delete agents to remove a host (10, 16) | All admin roles | - |
| Delete agents | delete_agents | Remove a host or delete it with its records (with Manage agents), issue uninstall and stop codes, decommission every agent (10.7, 16) | All admin roles | Delete an agent (on) |
| Publish agent releases | manage_agent_releases | Import bundled agents, register, publish, unpublish, delete releases, create, pause, resume and cancel rollout plans, roll out 10 and upgrade one host (10.8); upload, activate, withdraw and delete Sysmon64.exe and change the Sysmon settings (52) | All admin roles | Publish an agent release (on): publish, a rollout plan (once per plan), resuming a plan a stop rule halted, roll out 10, upgrade one host, activating a Sysmon64.exe, the Sysmon settings |
| Manage deployment credentials | manage_deployment | Add, edit and delete SSH and WinRM credentials, Kerberos realms, cancel deployments and tests. Testing a credential also needs Deploy agents remotely (13) | All admin roles | Deploy agents remotely (on): saving Kerberos realms and weakening a WinRM credential |
| Deploy agents remotely | deploy_agents | Deploy agents over SSH or WinRM, retry a host, test a credential (with Manage deployment credentials), make offline packages and revoke their codes; install agents into vSphere VMs through VMware Tools or hand them off; install the agent on AWS instances through Systems Manager (11.3, 13, 46.6, 47.6) | All admin roles | Deploy agents remotely (on): deploy, retry, test, offline package, vSphere guest install and hand-off, AWS rollout |
Compliance#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View compliance | view_compliance | Scans and results, frameworks and their scores, schedules, drift (and enforced drift), heatmap, trends, attestations, exceptions, reports; generate a report now; the control catalog and profiles (API); export profiles; AD assessment (read) (22-25, 40, 43, 14.5) | All roles | - |
| Run scans | run_compliance_scan | Start scans, create and manage compliance schedules, compare two scans, record and revoke attestations (22, 23, 25, 27) | All admin roles, An | - |
| Manage compliance | manage_compliance | Request, extend and revoke exceptions; revoke attestations; upload and withdraw evidence for manual framework requirements; create and download exports, import a shell bundle report; switch telemetry signals on or off (API); register AD domains and collect them (25.2, 43.3, 44, 45.6, 14.5) | All admin roles | - (switching off a drift-attribution signal also needs Run hardening and Execute remediation (on)) |
| Change compliance profiles | manage_compliance_profiles | Create, change and delete customer profiles (API) (40.5) | All admin roles | Change a compliance profile (on) |
| Accept risk (approve exceptions) | accept_compliance_risk | Approve another officer's compliance exception, never the requester's own (25.2) | All admin roles | Approve a compliance exception (on) |
| View hardening | view_hardening | The Hardening page, runs and their steps; the Planner; the Host baseline page, its items, deviations, inventory, overrides and groups; hardening telemetry (API) (26, 41, 42, 45.2) | All roles | - |
| Run hardening | run_hardening | Create a run from a Fix plan, the planner or a drift re-apply; request, approve (never your own), disable and resume auto-fix policies; approve and execute, roll back, cancel; stage and cancel audit steps, request enforces, overrides; issue and download recovery artifacts; approve baselines, pin, add, unpin and delete items, modes, re-baseline, groups and group items; turn auto-baseline for new hosts on or off (26, 41, 42, 23.3) | All admin roles | Execute remediation (on): approve and execute, roll back, recovery issue and download, baseline and guard overrides, accepting log volume, and every baseline change that removes protection (unpin, delete item, warn/off modes, re-baseline, group removals) |
| Apply hardening anyway | force_apply_hardening | Turn on the Settings switch "Apply hardening anyway", or tick "Apply anyway" on one run (Fix plan, batch, planner); both ask for the password and 2FA code again (41) | All admin roles | Apply hardening anyway (on) for the switch; a forced run waits for approval by someone other than the requester |
| Restart hosts after hardening | restart_hosts | Restart hosts whose applied hardening waits for a restart, one host or every pending host, with a warning delay for logged-in users; cancel a requested restart (56) | All admin roles | Restart a host after hardening (on): every restart request; cancelling is one signature |
| View evidence | view_evidence | The Evidence page, bundle details, JSON and HTML export, Verify an export; signed framework reports: list, download, public key and key history, verify (27, 43.4) | All roles | - |
| Manage evidence | manage_evidence | Create evidence bundles (27); generate signed framework reports and evidence packs (43.4). Granted by migration 0104 to everyone who could create a bundle before (Run scans), and held by Run scans API keys | All admin roles, An | - |
| Delete evidence | delete_evidence | Delete an evidence bundle (27.5), a forensic case (34), an AD domain with its assessments (14), a decoy's recorded trips (35.6) | All admin roles | Delete evidence (on) |
| Accept requirement evidence | accept_compliance_evidence | Accept another officer's document or note for a manual framework requirement, never the uploader's own (43.3) | All admin roles | Accept requirement evidence (on) |
| Rotate the evidence signing key | rotate_evidence_key | Retire the key that signs reports and evidence packs and start a new one (API) (43.4) | All admin roles | Rotate the evidence signing key (on) |
| Manage reports | manage_reports | Create and delete report schedules, delete a generated report (25.3). Signed framework reports are Manage evidence | All admin roles | - |
Investigation#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View findings | view_threats | DLP incidents and FIM events (with View DLP / View FIM) (32, 33). Granted by migration 0104 to everyone who could see them before | All roles | - |
| Triage findings | manage_threats | Set the status and note of DLP incidents and FIM events (32.2, 33.4) | All admin roles, An | - |
| View forensics | view_forensics | Cases, evidence, timelines, hunts and their results; parse indicators and validate YARA (34) | All roles | - |
| Run forensics | run_forensics | Open cases, collect, upload, download artifacts, export timelines, start and cancel hunts, escalate alerts, open an investigation from a story (34, 31.3, 38.2) | All admin roles, An | - |
| View active defence | view_defense | The Defense page, the action catalog and history (36) | All roles | - |
| Execute containment | execute_defense | Dispatch and undo containment actions, run a command, isolate a host from a review item, response from a case, auto-remediate an incident (36, 34.7, 39.1) | All admin roles | Run a containment action (on) |
| View honeypots | view_honeypots | Decoys and trips (35) | All roles | - |
| Manage honeypots | manage_honeypots | Create, deploy, undeploy and delete decoys, set a trip's status (35). Turning auto-contain on also needs Execute containment | All admin roles, An | Run a containment action (on) for auto-contain; Delete evidence (on) for deleting trips |
| View the review queue | view_review_queue | The Review queue, Stories and Playbooks pages (21, 37, 38) | All roles | - |
| Work the review queue | manage_review_queue | Change status, assign, comment, resolve, accept risk, suppress; triage detection alerts (21, 31.3) | All admin roles, An | - |
| Manage playbooks | manage_playbooks | Create, edit, enable, disable, delete and dry-run playbooks; ask again for a step's approval (37) | All admin roles | Run a containment action (on) for disabling, deleting or removing the containment steps of a playbook that has them (also needs Execute containment) |
| View Under Attack | view_under_attack | Plans, activations, every change and settings (48) | All roles | - |
| Prepare Under Attack plans | manage_under_attack_plan | Create, edit, retire and drill plans; create the built-in plans; approve a plan (never one you last edited, unless a co-signer signs); never-touch lists and defaults; lift a held blast-radius cap; allow automatic start again and change its settings (50.5) (48.1, 48.5) | All admin roles | Approve an Under Attack plan (on): approving, settings, lifting the cap |
| Start Under Attack | activate_under_attack | Start an approved plan at once (break-glass); withdraw your own unconfirmed manual start; start or dismiss a suggestion; switch automatic start off (50) (48.2) | All admin roles | - (a different administrator must confirm in time, or it rolls back) |
| Confirm Under Attack | confirm_under_attack | Confirm an activation someone else started; switch automatic start off (48.2) | All admin roles | - (never the starter) |
| End Under Attack | end_under_attack | Request or confirm the end with keep / roll back per change; roll one change back while active (48.4) | All admin roles | Always two administrators to end; Roll back an Under Attack change early (on) for a single change |
Logs#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| Search logs | view_logs | Search, saved searches, dashboards, alerts, entities, ATT&CK; preview and test rules; translate Sigma (30, 31) | All roles | - |
| Manage log sources | manage_log_sources | Add and delete syslog and HTTP sources (30.5) | All admin roles | - |
| Manage detection rules | manage_detections | Create, edit, enable, disable, run, restore and delete rules; import Sigma; suppress an alert subject; recompute entities (31) | All admin roles | - |
| Manage SIEM forwarding | manage_siem | See and change Settings > SIEM forwarding destinations, send test events (39.7) | All admin roles | Change SIEM forwarding (off) |
| Manage endpoint telemetry | manage_telemetry | Choose what hosts collect: telemetry profiles per host group, filters, retention; put a host the cost limit stepped down back on its profile (31.8) | All admin roles | Collect less endpoint telemetry (on) when a change collects less (off, a lower profile, more exclusions, shorter retention) |
Network and data#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View network | view_network | The map, nodes, discovery runs, devices, flows, reachability, exposure; export the topology (28) | All roles | - |
| Manage network | manage_network | Server-side discovery scans, rescan a node, remove hidden internet endpoints, approve/ignore devices in the baseline (28) | All admin roles | - |
| View firewall | view_firewall | Devices, rules, findings, plans, versions, monitoring, exports (29) | All roles | - |
| Manage firewall | manage_firewall | Connect a firewall, import a file, test, read now, make plans, set a baseline, start and stop monitoring, count hits from logs, remove a device (with Push firewall policy) (29) | All admin roles | - |
| Push firewall policy | apply_firewall | Apply an approved plan to a live firewall; remove a device (29.6) | All admin roles | Push a firewall policy (on) |
| View DLP | view_dlp | Incidents, policies, inventory, schedules, enforcement status (32) | All roles | - |
| Manage DLP | manage_dlp | Create, change, disable and delete DLP policies; test them; run and schedule discovery; locate files (32) | All admin roles | - |
| View FIM | view_fim | FIM events, policies, baselines, coverage (33) | All roles | - |
| Manage FIM | manage_fim | Create, change, disable and delete FIM policies; build baselines; verify; accept changes into the baseline (33) | All admin roles | - |
| View assets | view_intelligence | The Assets page: asset profiles, risk, business processes, asset evidence, the posture tiles (38). Granted by migration 0104 to every role and user that reached these screens before (View agents or View compliance) | All roles | - |
| Manage assets | manage_intelligence | Change an asset's criticality and environment (38.1) | All admin roles | - |
| View vSphere | view_vsphere | The vSphere page: connections, inventory, compliance, network, VMs without an agent, changes (46) | All roles | - |
| Manage vSphere connections | manage_vsphere | Add, change and remove connections; show the certificate, test, sync (46.2) | All admin roles | Add or change a vSphere connection (on): add, change, remove |
| Change vSphere configuration | write_vsphere | Remediate and roll back host, VM and port group settings (46.5) | All admin roles | Change vSphere configuration (on) |
| Write to Active Directory | ad_write | Create or link a GPO on a domain controller (Deploy agents via GPO) (14.5); preview, apply, verify and roll back the Remediate actions (64) | All admin roles | Write to Active Directory (on): apply, roll back |
| Extend the Active Directory schema | ad_schema_change | Extend the schema for Windows LAPS (64.3) | All admin roles | Extend the Active Directory schema (on) |
| View and rotate LAPS passwords | read_laps_password | Show a computer's Windows LAPS password once, or rotate it (64.3) | All admin roles | - |
Cloud#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View cloud | view_cloud | The AWS page: connections, accounts, inventory, compliance, exposure, instances, the IAM policies (47) | All roles | - |
| Manage cloud connections | manage_cloud | Add, change and remove connections; test, sync now, show the external id (47.2) | All admin roles | Change a cloud connection (on): add, change, remove |
| Change cloud resources | cloud_write | Apply and roll back the five AWS fixes (47.5) | All admin roles | Change a cloud resource (on) |
Administration#
| Permission | Key | What it allows | Built-in roles | Four-eyes |
|---|---|---|---|---|
| View users | view_users | Settings > Users (read) (15.2) | All admin roles, Aud | - |
| Manage users | manage_users | Create, change, disable and delete users, adjust permissions, reset two-factor; directory sign-in and Windows sign-in settings (15.2, 14) | All admin roles | Change users (on) |
| Manage roles | manage_roles | Create, change and delete custom roles (15.3) | All admin roles | Change roles (on) |
| Approve critical actions | approve_actions | Sign off another person's critical request, in a role the policy lets approve that requester (15.6) | All admin roles | - |
| Configure dual control | configure_dual_control | Change the dual-control policy (15.4) | All admin roles | Change the dual-control policy (always) |
| View the audit trail | view_audit | Settings > Audit trail and its verification (15.8); the server's own log by API (GET /api/v1/logs/, /logs/stats, /logs/sources), never to a sandbox account or an API key | All admin roles, Aud | - |
| Manage API keys | manage_api_keys | Issue and revoke service-account keys (15.7) | All admin roles | Change API keys (on) |
| Manage the licence | manage_licence | Activate or replace the licence (2.10) | All admin roles | Change the licence (on) |
| Manage platform updates | manage_updates | Check for, stage, upload and discard platform updates (4.4) | All admin roles | Stage a platform update (on) |
| Manage settings | manage_settings | Platform settings not covered by a narrower permission: the certificate card, the sandbox tab, diagnostics for support (39) | All admin roles | - |
| Manage demo data | manage_demo | Seed and clear the sandbox dataset (39.9) | All admin roles | Clear or seed demo data (off) |
B.3 Critical actions (four-eyes)#
There are 30 critical actions. While dual control is on, each action below is held until a second administrator signs it. The requester then executes it from Approvals > My requests (15.6). Who may approve whom is set by the policy: by default the LSO and RSO approve each other, and a super administrator approves anyone else.
| Critical action | Covers | Default | Guide |
|---|---|---|---|
| Change users | Create, delete or disable a user; change a role or single permissions; reset two-factor; directory and Windows sign-in settings | on | 15.2, 14 |
| Change roles | Create, edit or delete a role | on | 15.3 |
| Change the dual-control policy | Switch approval on or off for an action, change who approves | always | 15.4 |
| Run a containment action | Isolate, kill, block, quarantine, disable an account, reset credentials, undo them, run a command, auto-remediate; turn on or widen a decoy's auto-contain; disable, delete or remove the containment steps of a playbook | on | 36 |
| Execute remediation | Approve and execute a hardening run, roll it back, issue or download a recovery artifact; override the host baseline or an unknown Windows guard; accept the log volume of an audit step; baseline changes that remove protection; switching off a drift-attribution signal | on | 26, 41, 42 |
| Apply hardening anyway | Turn on the Settings switch that accepts every hardening risk check (turning it off needs no approval). With one approver or dual control off, one administrator may turn it on | on | 41 |
| Restart a host after hardening | Restart one host or every host whose hardening waits for a restart, after a warning to its logged-in users. Cancelling a requested restart is not included | on | 56 |
| Approve a compliance exception | Approve another officer's exception for a host, host group or profile, until it expires (at most a year). Never the requester's own | on | 25.2 |
| Push a firewall policy | Apply a plan to a live firewall; remove a firewall device and its stored credentials | on | 29.6 |
| Delete an agent | Remove a host, or delete it with its records; issue an uninstall or stop code; decommission all agents. Revoking a token is not included | on | 10.7, 16 |
| Change the licence | Activate, replace or deactivate the licence | on | 2.10 |
| Stage a platform update | Download or upload a new platform version | on | 4.4 |
| Change API keys | Create or revoke a service-account key | on | 15.7 |
| Change SIEM forwarding | Add, edit or remove a SIEM destination | off | 39.7 |
| Publish an agent release | Publish a release, create a rollout plan (one approval for the whole plan), resume a plan a stop rule halted, roll out 10, upgrade one host; activate an uploaded Sysmon64.exe, change the Sysmon settings, opt domain controllers in to Sysmon | on | 10.8, 52.3 |
| Deploy agents remotely | Deploy or retry over SSH/WinRM, test a credential, weaken a WinRM credential, save Kerberos realms, make an offline package; vSphere guest installs and hand-offs; AWS Systems Manager rollouts | on | 13, 11.3, 46.6, 47.6 |
| Clear or seed demo data | Seed or clear the sandbox dataset | off | 39.9 |
| Change a compliance profile | Create, change or delete a customer profile | on | 40.5 |
| Add or change a vSphere connection | Store or change a vCenter/ESXi connection's address, account or trusted certificate, or remove it with its inventory | on | 46.2 |
| Change vSphere configuration | Write a host, VM or port group setting through the vSphere API, or roll one back | on | 46.5 |
| Write to Active Directory | Create or link a GPO, or remediate an AD finding, on a domain controller; apply or roll back a Remediate action | on | 14.5, 64 |
| Extend the Active Directory schema | Add the Windows LAPS attributes to the forest schema (irreversible) | on | 64.3 |
| Accept requirement evidence | Count an uploaded document or note as evidence for a manual framework requirement. Never the uploader's own | on | 43.3 |
| Rotate the evidence signing key | Retire the key that signs reports and evidence packs and start a new one | on | 43.4 |
| Delete evidence | Delete an evidence bundle, a forensic case and its files, an AD domain with its assessments, a decoy's recorded trips | on | 27.5, 34, 14, 35.6 |
| Change a cloud connection | Add, change or remove a cloud connection: the keys or roles Lawliet uses to read an account | on | 47.2 |
| Change a cloud resource | Apply or roll back a fix in a cloud account | on | 47.5 |
| Approve an Under Attack plan | Approve a plan, edit or retire an armed plan, change the never-touch list or defaults, lift a held blast-radius cap, allow automatic start again, change the automatic-start settings (50.5) | on | 48 |
| Roll back an Under Attack change early | Undo one change of an activation that is still active (ending always takes two administrators) | on | 48.4 |
| Collect less endpoint telemetry | Switch telemetry off for a host group, lower its profile, add exclusions or shorten retention, or edit, rename or delete a host group so its hosts collect less. A change that collects more needs no second signature | on | 31.8 |
A critical action also needs its own permission: for example removing a host needs Manage agents for the screen and Delete agents for the critical action.
Two more rules sit outside this table:
- A playbook's containment step always needs a second signature, whatever the policy says (37.1).
- An exception is always approved by someone other than the person who requested it, and requirement evidence by someone other than its uploader, even on a site with one approver (25.2, 43.3).
- Overriding the host baseline and accepting audit log volume are refused outright unless a second approver really exists (41.7).
On a new installation, while no two approvers exist who could sign for each other, an approver's critical actions run on one signature and are recorded as dual_control_bypassed (15.4).