Skip to content

Documentation

Settings, section by section

This guide walks through every section of Settings in the order the console shows them: what each one controls, when you need it, the important fields and safe defaults. Each section links to the guide with the full steps.

Before you start

  • Settings shows only the sections your role allows. Administrators see every section; a person whose roles allow none of them does not see Settings in the left menu. See Access: roles and scopes.
  • Open it from the left menu → Settings, or go to Settings.

How the Settings page works

The page has a list of sections on the left and the selected section on the right. On a phone the list is a row of tabs at the top.

Each section saves on its own. Changes in one section are never saved by another section's button.

  • Data retention, Database backup and Notifications have Save and Discard at the top right of the section. "Unsaved changes" appears next to them while you have edits.
  • Other sections have their own buttons inside: for example Save AI Settings, Save Severity Settings, Save on each framework card, Save on the sign-in Policy tab, or Save in Security. Lists (tokens, users, connections, sources) save each item as soon as you confirm its dialog.

Dots in the left list tell you where to look:

DotMeaning
Orange dot with the tooltip "Unsaved changes"You changed something in this section and did not save it. Open it and click Save or Discard
Red dotA problem that needs action now: the license is invalid, a break-glass window is open, or an identity provider needs attention
Orange dot (no unsaved changes)A warning: pending access requests, local users still enabled while single sign-on is on, the legacy password API is on, no successful backup yet, or the cluster is degraded
Coloured dot on ClusterAlways shows the cluster health

Important: Unsaved edits stay while you move between sections, but they are lost when you reload the page or leave Settings. Save before you go.

Overview

Settings → Overview shows one tile per section with a one-line summary, for example "Last backup …", "2 providers · 1 access request" or "Default Medium". A tile with a red or orange border has a problem; click it to open the section. Start here when you are not sure what needs attention.

License

Settings → License shows the license installed on this server and lets you install a new one.

  • Current License shows Status (Active, Evaluation, Grace Period, Expired, …), License ID, Customer Name, Days Remaining, Valid Until, Max Hosts, Max Rules and Features.
  • License Request: click Generate Request, then Copy or Download. Send the request to your vendor. It identifies this server, so generate it on the server that will run LEA Platform.
  • Upload License: click Upload License, paste the license text you received into the box, and click Upload.

When a license expires, a grace period starts and the console keeps working for the days shown. Renew before it ends. The license check needs no internet connection; see Running without internet.

Note: The grace-period banner ("License Expired - Grace Period Active") asks you to email LEA Support. On a site without internet, use this section instead: Generate Request → Download, carry the file out to your vendor, then paste the license you get back with Upload License.

Deployment tokens

Settings → Deployment tokens creates the tokens that let new hosts join. A host uses a token once, when its agent first starts.

  1. Click Create Token.
  2. Fill in Name, and pick the Purpose: Agent enrollment (normal hosts) or Ansible / AWX gateway certificate.
  3. Optionally pick a Group the new hosts join, turn on Activate enrolled agents automatically, and set Max uses (optional) and Expires (optional).
  4. Click Create.

You should see the token once, with the install commands for Linux and macOS and for Windows, and Variables for bulk deployment (Ansible, GPO, Intune). Copy them now.

Later, the terminal icon on a token shows the same commands with <DEPLOYMENT_TOKEN> in place of the value, which is never shown again; paste the token you saved, or rotate it to get a new one.

Safe defaults: set an expiry and a maximum number of uses, and leave automatic activation off unless the token only goes to trusted build processes. Use the rotate icon to issue a new value (the old one works briefly) and the revoke icon to stop a token. Full steps are in Add and manage hosts.

Single sign-on

Settings → Single sign-on connects LEA Platform to your identity provider so people sign in with their company account. It has five tabs: Identity providers, Access requests, Identities, Sessions and Policy.

Use it when you move from local passwords to company sign-in, approve someone who has no access yet, end a session, or change session timeouts. The Policy tab has its own Save button. Safe defaults: idle timeout 60 minutes, maximum session 12 hours.

Full steps are in Users, roles and sign-in.

Access

Settings → Access shows who can do what. It has five tabs: Roles (the built-in roles, your custom roles and every permission), Bindings (every role mapping and grant, with the host groups they are limited to), Effective access (everything one identity can do, and a Can they…? check), Service accounts (identities and tokens for integrations) and Reviews (everyone's access with flags for unused, expiring and administrator access, Export CSV, and the requests denied in the last 7 days).

Use it to give a team a role on some host groups only, to create a role of your own, to give one person temporary access, to connect an integration without a person's token, to find out why someone can or cannot do something, or to run an access review. People with only the Audit log permission can open the Roles and Reviews tabs, read-only; people with only Manage tokens see the Service accounts tab.

Full steps are in Access: roles and scopes.

Security

Settings → Security chooses which actions ask Confirm it is you before they run (ad-hoc commands, rule changes and rollouts, removing results or hosts, users, sign-in, tokens, the cluster and more) and whether a passkey is the only accepted way to confirm. The section has its own Save button, and saving asks you to confirm it is you.

Below it, Approval policy chooses which actions wait for a second person, per channel (console, MCP clients, Slack and Teams, tokens) and risk, with per-permission overrides, four-eyes permissions and time limits. It has its own Save approval policy button. Full steps are in Set the approval policy.

Safe default: keep the recommended actions on and Any method. Switch to Passkey only once every administrator has added a passkey. Full steps are in Require confirmation for sensitive actions.

Local users

Settings → Local users lists accounts with a password stored in LEA Platform: Local user (break-glass) accounts and API accounts for integrations.

Use it before single sign-on is on (for the first administrators), to keep one emergency admin account, and for tools that can only send a user name and password. Click + Create new user below the table, or a user to edit it. Passwords follow the password policy (at least 16 characters); after creating a user, Copy invitation message copies an email text with everything they need. An API account's row has Convert to service account, which moves the integration to a token; see Convert an API account.

Safe default once single sign-on works: keep one local admin, Disabled, for break-glass. Full steps are in Users, roles and sign-in.

Compliance frameworks

Settings → Compliance frameworks controls the frameworks LEA Platform reports on, their report wording, and the key that signs the evidence. A framework appears here as soon as an active rule carries its std:<FRAMEWORK> tag, including standards you add yourself.

  • Evidence Sealing Key (HMAC): the secret key LEA Platform uses to compute the record MAC (HMAC-SHA256) of every evidence record; Key Fingerprint identifies it. Rotate Key creates a new one (leave Custom Key (optional) empty for a random key). Old evidence stays valid; new records use the new key.

  • Frameworks: one card per framework, in three groups: Enabled, Tagged in rules (not enabled yet; new frameworks start here) and Known standards (wording ready, no tagged rules; collapsed). Turn a framework on with its switch, then set:

    FieldWhat it controls
    Snapshot Interval (hours)How often a sealed evidence snapshot is taken
    Report Interval (hours)How often a report is produced
    Report FormatJSON, PDF or Both
    Endpoint Group ScopeWhich host groups count. Empty means All endpoints

    Click Save on the card. Report wording opens the names and text the PDF reports print for the standard; see Describe a standard.

Only enable the frameworks you report on. Full steps are in Reports and evidence.

Severity

Settings → Severity sets the Default Severity for rules that have no severity of their own (Critical, High, Medium, Low or Informative). It changes their weight in the compliance score at once; no batch update is needed. Click Save Severity Settings.

Change it only if most of your own rules have no severity and you want them weighted differently.

Informative-severity failures affect host compliance (on by default) decides whether a failing rule with severity Informative makes a host non-compliant. Turn it off to treat Informative failures as findings only: they still show as FAIL on the rule and the host, but they no longer change the host's compliance status, worst severity or score, and integrations no longer see them. The switch also applies to rules that get Informative from the default severity. To keep a single rule out of host compliance whatever its severity, make it a staging rule.

Rule sources

Settings → Rule sources controls where rule updates come from and how they are rolled out.

  • Rollout default: what the rollout choice selects when a rule changes: All hosts now or New hosts only (existing hosts are held).
  • Sources: the GSR rule source and your own sources, each with its ed25519 public key. Add source adds one with Name, Feed URL (optional), Public key (ed25519, base64), Require a valid signature and an Update policy (Manual, Apply to unmodified rules or Add new rules inactive).
  • Import a rule pack: for sites without internet. Choose pack (.tgz), Choose signature (.sig), pick the Source, click Import. Nothing goes live: changes wait in Rules → Updates.
  • Imported packs: every import with its signature status (VERIFIED or UNSIGNED).

Safe defaults: keep Require a valid signature on and the update policy Manual. Full steps are in Rule library and updates.

Functions

Settings → Functions manages functions: small programs that run on the LEA server when a rule result arrives (for example to open a ticket or renew a certificate).

  • New function, Upload and Policy at the top. The policy decides whether uploads need approval and a signature.
  • Waiting for approval lists uploads that need a second administrator.
  • Each function shows its status, digest, the rules that use it, Recent runs, its Secrets, and buttons Test run, New version and Starter.
  • Runtime at the bottom shows what the function sandbox provides (Python version, installed packages, programs).

Uploads, approvals, deletes, secrets and the policy ask you to Confirm it is you first. Full steps are in What functions are.

Webhooks

Settings → Webhooks sends host, rule and result changes to other systems (NAC, firewalls, ticketing, SIEM, a CMDB), system-wide or for the groups you choose. Create one from a preset with New webhook, try it in dry run and follow every delivery on the Log tab. Full steps are in Webhooks.

Notifications

Settings → Notifications sets notification defaults for everyone:

  • Default profile per role: the profile Administrators and Read-only users start with (Operator, Security / CISO, Auditor, Executive or Observer).
  • Notification types: switch a type off to stop it for everyone.

Click Save at the top right. People still tune their own delivery under My account. Full steps are in Notifications.

Email, Slack & Teams

Settings → Email, Slack & Teams delivers notifications outside the console. Tabs: Connections (mail server, Slack, Teams), Routes (team destinations and digests), Delivery log, Recipients and Options (public address, message detail, noise control, LEA AI analysis, proxy).

A Slack app or Teams bot connection also has Channel access, which limits what answers posted in each channel can show.

Set Public URL of LEA Platform on Options first, then connect email. On a site without internet, connect your internal mail relay. Full steps are in Notifications.

AI Assistant

Settings → AI Assistant turns on the built-in assistant and the MCP server for your own AI tools, and holds personal access tokens.

  • AI Assistant enabled, Provider (Anthropic (Claude), OpenAI, OpenAI-compatible (local or private model), or SAP AI Core (Claude on SAP BTP)), Base URL, API key, Model (Get Models lists them), Max tool rounds per answer.
  • For SAP AI Core: Service key (JSON) (fills the fields below it), Auth URL, Client ID, Client secret, AI API URL, Resource group and Deployment URL (Get Deployments lists the Claude deployments).
  • MCP server: MCP server enabled, Allow write tools …, OAuth sign-in, Public URL (optional) and the MCP URL to give to clients.
  • Click Save AI Settings.
  • Personal access tokens: Create Token, and the list of tokens (Show tokens of all users shows everybody's).

On a site without internet, use OpenAI-compatible (local or private model) with a model server inside your network, or leave the assistant off. Full steps are in AI assistant; tokens are explained in Users, roles and sign-in.

Data retention

Settings → Data retention decides how long data is kept. Click Save at the top right of the section.

FieldWhat it controls
Audit Retention (Days)Webhook call records (the Notifications tab of the Audit page). Configuration-change records are not purged by this setting
Execution Retention (Days)Rule results and their output
Host Inactive Time (Days)When a host that stopped reporting is marked inactive
Notification Retention (Days)Notifications (open alerts are kept until they resolve)
Execution Inactive Time (Days)When a rule result counts as old: it keeps its verdict, and the host and rule pages show an age warning next to it
Agent Log Retention (Days)Agent log messages
Agent Debug Log Retention (Days)Captured debug messages

The switches Automatically purge old audit logs, Automatically purge old executions and ad-hoc commands and Automatically purge old agent logs turn deletion on or off.

Note: Purges only remove data already covered by a successful backup. Without a working backup, nothing is purged and the database keeps growing. The section then shows Purging is paused with a link to Database backup, and the Overview card says purging paused.

Before shortening audit retention, check how long your auditors need records.

Database backup

Settings → Database backup sets where the daily database backup goes. Last successful backup at the top tells you whether backups work. Click Save at the top right of the section.

TargetFields
Local (server db_backup/archive)Local Retention (Days)
SSH (scp)Destination (for example user@host:/var/backups/lea), SSH Retention (Days). The SSH key is read from .db_backup/keys on the server
Amazon S3 / S3-compatibleBucket, Region, Prefix, Endpoint URL (for S3-compatible storage such as MinIO), S3 Retention (Days). Credentials come from the server's .env file or its AWS role

Backups are encrypted. The key is db_backup/encryption_key in the release directory on the server.

Warning: Keep a copy of db_backup/encryption_key somewhere other than the LEA server. Backups cannot be restored without it.

Safe default: enable at least one target that is not the LEA server itself (SSH or an internal S3-compatible store). See Install and upgrade.

Cluster

Settings → Cluster shows the LEA servers (nodes) that serve the console and the agents, with the database role, replication lag and the services each node runs (API, Functions, Notifier, Snapshots, Backup). Sections: Attention, Topology, Switchovers and Schema migrations.

The top card separates three questions:

  • Services healthy, degraded or critical: whether the services on the nodes are running. It does not tell you whether you can survive losing a server.

  • High availability: STANDALONE on a single server (no failover), ENDPOINT MISSING when a node has not registered its database endpoint, READY when every node has.

  • Recovery: when the last backup succeeded, or NO BACKUP YET. Click it to open Database backup.

  • Add node shows the one-time command to run on a new server.

  • Refresh reloads the status.

A single server is simply a cluster of one. Failover and give-back are run from the server with lea_ha.sh. Full details are in the high availability reference.

If something goes wrong

SymptomFix
A section shows an orange dot and you do not know whyOpen Overview; the tile with a coloured border says what is wrong
"Unsaved changes" will not go awayClick Save in that section. If it fails, read the red message at the top of the page
Database backup says "Never"No target is enabled, or the target is unreachable. Check the server logs with docker compose logs db_backup in the release directory
The license shows ExpiredGenerate a request, get a new license from your vendor and upload it. See License

More in Troubleshooting.