LawlietRequest demo ↗

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 belowRoleHolds
SASuper administratorEvery permission. Protected: cannot be edited or deleted
LSOLeft security officerEvery permission. Critical actions approved by the RSO
RSORight security officerEvery permission. Critical actions approved by the LSO
AdmAdministratorEvery permission. For sites that do not use the officer pair
AnAnalystEvery 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
AudAuditorEvery view permission, including View users and View the audit trail. Changes nothing
VwViewerEvery 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#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View the overviewview_dashboardThe Overview page and its figures, the wall (20)All roles-

Fleet#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View agentsview_agentsEnvironment > Hosts, the agent drawer, host health; the Assets page (10, 38)All roles-
Manage agentsmanage_agentsEnrol 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 agentsdelete_agentsRemove a host or delete it with its records (with Manage agents), issue uninstall and stop codes, decommission every agent (10.7, 16)All admin rolesDelete an agent (on)
Publish agent releasesmanage_agent_releasesImport 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 rolesPublish 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 credentialsmanage_deploymentAdd, edit and delete SSH and WinRM credentials, Kerberos realms, cancel deployments and tests. Testing a credential also needs Deploy agents remotely (13)All admin rolesDeploy agents remotely (on): saving Kerberos realms and weakening a WinRM credential
Deploy agents remotelydeploy_agentsDeploy 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 rolesDeploy agents remotely (on): deploy, retry, test, offline package, vSphere guest install and hand-off, AWS rollout

Compliance#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View complianceview_complianceScans 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 scansrun_compliance_scanStart scans, create and manage compliance schedules, compare two scans, record and revoke attestations (22, 23, 25, 27)All admin roles, An-
Manage compliancemanage_complianceRequest, 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 profilesmanage_compliance_profilesCreate, change and delete customer profiles (API) (40.5)All admin rolesChange a compliance profile (on)
Accept risk (approve exceptions)accept_compliance_riskApprove another officer's compliance exception, never the requester's own (25.2)All admin rolesApprove a compliance exception (on)
View hardeningview_hardeningThe 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 hardeningrun_hardeningCreate 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 rolesExecute 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 anywayforce_apply_hardeningTurn 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 rolesApply hardening anyway (on) for the switch; a forced run waits for approval by someone other than the requester
Restart hosts after hardeningrestart_hostsRestart 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 rolesRestart a host after hardening (on): every restart request; cancelling is one signature
View evidenceview_evidenceThe 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 evidencemanage_evidenceCreate 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 keysAll admin roles, An-
Delete evidencedelete_evidenceDelete 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 rolesDelete evidence (on)
Accept requirement evidenceaccept_compliance_evidenceAccept another officer's document or note for a manual framework requirement, never the uploader's own (43.3)All admin rolesAccept requirement evidence (on)
Rotate the evidence signing keyrotate_evidence_keyRetire the key that signs reports and evidence packs and start a new one (API) (43.4)All admin rolesRotate the evidence signing key (on)
Manage reportsmanage_reportsCreate and delete report schedules, delete a generated report (25.3). Signed framework reports are Manage evidenceAll admin roles-

Investigation#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View findingsview_threatsDLP incidents and FIM events (with View DLP / View FIM) (32, 33). Granted by migration 0104 to everyone who could see them beforeAll roles-
Triage findingsmanage_threatsSet the status and note of DLP incidents and FIM events (32.2, 33.4)All admin roles, An-
View forensicsview_forensicsCases, evidence, timelines, hunts and their results; parse indicators and validate YARA (34)All roles-
Run forensicsrun_forensicsOpen 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 defenceview_defenseThe Defense page, the action catalog and history (36)All roles-
Execute containmentexecute_defenseDispatch 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 rolesRun a containment action (on)
View honeypotsview_honeypotsDecoys and trips (35)All roles-
Manage honeypotsmanage_honeypotsCreate, deploy, undeploy and delete decoys, set a trip's status (35). Turning auto-contain on also needs Execute containmentAll admin roles, AnRun a containment action (on) for auto-contain; Delete evidence (on) for deleting trips
View the review queueview_review_queueThe Review queue, Stories and Playbooks pages (21, 37, 38)All roles-
Work the review queuemanage_review_queueChange status, assign, comment, resolve, accept risk, suppress; triage detection alerts (21, 31.3)All admin roles, An-
Manage playbooksmanage_playbooksCreate, edit, enable, disable, delete and dry-run playbooks; ask again for a step's approval (37)All admin rolesRun a containment action (on) for disabling, deleting or removing the containment steps of a playbook that has them (also needs Execute containment)
View Under Attackview_under_attackPlans, activations, every change and settings (48)All roles-
Prepare Under Attack plansmanage_under_attack_planCreate, 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 rolesApprove an Under Attack plan (on): approving, settings, lifting the cap
Start Under Attackactivate_under_attackStart 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 Attackconfirm_under_attackConfirm an activation someone else started; switch automatic start off (48.2)All admin roles- (never the starter)
End Under Attackend_under_attackRequest or confirm the end with keep / roll back per change; roll one change back while active (48.4)All admin rolesAlways two administrators to end; Roll back an Under Attack change early (on) for a single change

Logs#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
Search logsview_logsSearch, saved searches, dashboards, alerts, entities, ATT&CK; preview and test rules; translate Sigma (30, 31)All roles-
Manage log sourcesmanage_log_sourcesAdd and delete syslog and HTTP sources (30.5)All admin roles-
Manage detection rulesmanage_detectionsCreate, edit, enable, disable, run, restore and delete rules; import Sigma; suppress an alert subject; recompute entities (31)All admin roles-
Manage SIEM forwardingmanage_siemSee and change Settings > SIEM forwarding destinations, send test events (39.7)All admin rolesChange SIEM forwarding (off)
Manage endpoint telemetrymanage_telemetryChoose 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 rolesCollect less endpoint telemetry (on) when a change collects less (off, a lower profile, more exclusions, shorter retention)

Network and data#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View networkview_networkThe map, nodes, discovery runs, devices, flows, reachability, exposure; export the topology (28)All roles-
Manage networkmanage_networkServer-side discovery scans, rescan a node, remove hidden internet endpoints, approve/ignore devices in the baseline (28)All admin roles-
View firewallview_firewallDevices, rules, findings, plans, versions, monitoring, exports (29)All roles-
Manage firewallmanage_firewallConnect 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 policyapply_firewallApply an approved plan to a live firewall; remove a device (29.6)All admin rolesPush a firewall policy (on)
View DLPview_dlpIncidents, policies, inventory, schedules, enforcement status (32)All roles-
Manage DLPmanage_dlpCreate, change, disable and delete DLP policies; test them; run and schedule discovery; locate files (32)All admin roles-
View FIMview_fimFIM events, policies, baselines, coverage (33)All roles-
Manage FIMmanage_fimCreate, change, disable and delete FIM policies; build baselines; verify; accept changes into the baseline (33)All admin roles-
View assetsview_intelligenceThe 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 assetsmanage_intelligenceChange an asset's criticality and environment (38.1)All admin roles-
View vSphereview_vsphereThe vSphere page: connections, inventory, compliance, network, VMs without an agent, changes (46)All roles-
Manage vSphere connectionsmanage_vsphereAdd, change and remove connections; show the certificate, test, sync (46.2)All admin rolesAdd or change a vSphere connection (on): add, change, remove
Change vSphere configurationwrite_vsphereRemediate and roll back host, VM and port group settings (46.5)All admin rolesChange vSphere configuration (on)
Write to Active Directoryad_writeCreate 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 rolesWrite to Active Directory (on): apply, roll back
Extend the Active Directory schemaad_schema_changeExtend the schema for Windows LAPS (64.3)All admin rolesExtend the Active Directory schema (on)
View and rotate LAPS passwordsread_laps_passwordShow a computer's Windows LAPS password once, or rotate it (64.3)All admin roles-

Cloud#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View cloudview_cloudThe AWS page: connections, accounts, inventory, compliance, exposure, instances, the IAM policies (47)All roles-
Manage cloud connectionsmanage_cloudAdd, change and remove connections; test, sync now, show the external id (47.2)All admin rolesChange a cloud connection (on): add, change, remove
Change cloud resourcescloud_writeApply and roll back the five AWS fixes (47.5)All admin rolesChange a cloud resource (on)

Administration#

PermissionKeyWhat it allowsBuilt-in rolesFour-eyes
View usersview_usersSettings > Users (read) (15.2)All admin roles, Aud-
Manage usersmanage_usersCreate, change, disable and delete users, adjust permissions, reset two-factor; directory sign-in and Windows sign-in settings (15.2, 14)All admin rolesChange users (on)
Manage rolesmanage_rolesCreate, change and delete custom roles (15.3)All admin rolesChange roles (on)
Approve critical actionsapprove_actionsSign off another person's critical request, in a role the policy lets approve that requester (15.6)All admin roles-
Configure dual controlconfigure_dual_controlChange the dual-control policy (15.4)All admin rolesChange the dual-control policy (always)
View the audit trailview_auditSettings > 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 keyAll admin roles, Aud-
Manage API keysmanage_api_keysIssue and revoke service-account keys (15.7)All admin rolesChange API keys (on)
Manage the licencemanage_licenceActivate or replace the licence (2.10)All admin rolesChange the licence (on)
Manage platform updatesmanage_updatesCheck for, stage, upload and discard platform updates (4.4)All admin rolesStage a platform update (on)
Manage settingsmanage_settingsPlatform settings not covered by a narrower permission: the certificate card, the sandbox tab, diagnostics for support (39)All admin roles-
Manage demo datamanage_demoSeed and clear the sandbox dataset (39.9)All admin rolesClear 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 actionCoversDefaultGuide
Change usersCreate, delete or disable a user; change a role or single permissions; reset two-factor; directory and Windows sign-in settingson15.2, 14
Change rolesCreate, edit or delete a roleon15.3
Change the dual-control policySwitch approval on or off for an action, change who approvesalways15.4
Run a containment actionIsolate, 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 playbookon36
Execute remediationApprove 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 signalon26, 41, 42
Apply hardening anywayTurn 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 onon41
Restart a host after hardeningRestart 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 includedon56
Approve a compliance exceptionApprove another officer's exception for a host, host group or profile, until it expires (at most a year). Never the requester's ownon25.2
Push a firewall policyApply a plan to a live firewall; remove a firewall device and its stored credentialson29.6
Delete an agentRemove a host, or delete it with its records; issue an uninstall or stop code; decommission all agents. Revoking a token is not includedon10.7, 16
Change the licenceActivate, replace or deactivate the licenceon2.10
Stage a platform updateDownload or upload a new platform versionon4.4
Change API keysCreate or revoke a service-account keyon15.7
Change SIEM forwardingAdd, edit or remove a SIEM destinationoff39.7
Publish an agent releasePublish 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 Sysmonon10.8, 52.3
Deploy agents remotelyDeploy 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 rolloutson13, 11.3, 46.6, 47.6
Clear or seed demo dataSeed or clear the sandbox datasetoff39.9
Change a compliance profileCreate, change or delete a customer profileon40.5
Add or change a vSphere connectionStore or change a vCenter/ESXi connection's address, account or trusted certificate, or remove it with its inventoryon46.2
Change vSphere configurationWrite a host, VM or port group setting through the vSphere API, or roll one backon46.5
Write to Active DirectoryCreate or link a GPO, or remediate an AD finding, on a domain controller; apply or roll back a Remediate actionon14.5, 64
Extend the Active Directory schemaAdd the Windows LAPS attributes to the forest schema (irreversible)on64.3
Accept requirement evidenceCount an uploaded document or note as evidence for a manual framework requirement. Never the uploader's ownon43.3
Rotate the evidence signing keyRetire the key that signs reports and evidence packs and start a new oneon43.4
Delete evidenceDelete an evidence bundle, a forensic case and its files, an AD domain with its assessments, a decoy's recorded tripson27.5, 34, 14, 35.6
Change a cloud connectionAdd, change or remove a cloud connection: the keys or roles Lawliet uses to read an accounton47.2
Change a cloud resourceApply or roll back a fix in a cloud accounton47.5
Approve an Under Attack planApprove 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)on48
Roll back an Under Attack change earlyUndo one change of an activation that is still active (ending always takes two administrators)on48.4
Collect less endpoint telemetrySwitch 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 signatureon31.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).