Check compliance
This guide shows you how to read the Compliance page: which hosts pass, which fail, how bad the failures are, and how to drill into one host to find out why.
Before you start
- You need a console account. Any role can read the Compliance page. Deleting hosts and re-enrolling them needs an administrator.
- A host is a computer that runs the LEA agent. A rule is one check, for example "SSH root login is disabled". Hosts get their rules through groups. See the glossary for other terms.
- Hosts only show results after the LEA agent is installed and the host belongs to an active group with active rules. See Add and manage hosts and Groups.
What the status words mean
Every host gets one compliance status. It is worked out from the latest result of every rule the host runs, in one place, so the console, reports, notifications and integrations always agree. The exact rules are in Host compliance status.
| Status in the console | What it means | What to do |
|---|---|---|
| COMPLIANT | No counted rule fails and every counted rule has a result. Rules that could not be checked do not count against the host; they show in grey in the status bar and as Could not check: N in the host's details. | Nothing, or give the agent access for the rules that could not be checked. See Could not check. |
| NON-COMPLIANT | At least one rule fails on this host. | Open the host and look at its failing rules. See Drill into a host. |
| PENDING | Nothing fails, but at least one counted rule has no result yet, for example right after enrollment. Integrations treat it as compliant. | Wait one rule interval. See Pending. |
| NO RESULTS | The host has no counted rule with a verdict. | See A host shows NO RESULTS. |
| INACTIVE | The host is switched off in LEA Platform. It is not evaluated and not counted. | Activate it if it should be checked. See Add and manage hosts. |
A verdict is the server's decision for one rule on one host: PASS, FAIL, CAN'T CHECK, or none. Results without a verdict show as INFO: the rule only collects data, or it has not produced a usable result yet. INFO and CAN'T CHECK never make a host non-compliant. See Read results and fix failures.
Note: A rule that has not run yet on a host makes the host PENDING until its first result arrives, unless another rule fails. The host preview lists those rules under Awaiting results. Staging rules never count for or against a host.
Note: A rule assigned to a host but with no command for the host's operating system (for example a macOS-only rule on a Linux host) never runs there. It is not applicable: it is not counted as awaiting results, does not lower coverage, and the host preview lists it under Not applicable with "no command for this OS". To stop assigning it, put the rule in a group that holds only matching hosts, or add a command for that operating system.
Read the summary numbers
The row of numbers at the top of the page sums up all hosts. Click a number to filter the table to those hosts. Click it again or click Hosts to see all hosts.
| Number | What it counts |
|---|---|
| Hosts | All hosts. |
| Compliant | Hosts whose results all pass. |
| Non-compliant | Hosts with at least one failing rule. |
| Pending | Hosts where nothing fails but a rule has no result yet. |
| No results | Hosts without any recorded rule result. |
| Inactive | Hosts that are switched off in LEA Platform. |
| Compliance rate | Compliant hosts out of all compliant, non-compliant and pending hosts, as a percentage. |
The numbers follow the search, group, enrollment and host metadata filters you set.
If you do not see these numbers, open View at the top right of the page and turn on Show summary.
Understand the compliance score
The Compliance page counts hosts. The Dashboard shows a different number: the LEA posture score. It counts checks (one rule on one host) and gives more weight to serious failures.
| Severity | Weight |
|---|---|
| Critical | 16 |
| High | 8 |
| Medium | 4 |
| Low | 2 |
| Informative | 1 |
The score is the weighted share of checks that pass. One failing critical check lowers the score as much as sixteen failing informative checks. Checks that could not be checked, staging rules and (when Settings → Severity excludes them) informative failures are left out of the score.
Example: a host runs one critical rule and four low rules. The critical rule fails, the low rules pass. The weights are 16 failing and 4 × 2 = 8 passing. The score is 8 / 24 = 33%. The same host counts as one Non-compliant host on the Compliance page.
Every rule has a severity. Rules without their own severity use the default from Settings → Severity. The Severity column on the Compliance page shows the worst severity among a host's failing rules.
Tip: To raise the score fastest, fix critical and high failures that affect many hosts first.
Search and filter hosts
- Type part of a host name in Search hosts and press Enter.
- Click a status button under the search box: All, Compliant, Non-compliant, No results, Active or Inactive. Each button shows how many hosts match.
- Click Filters to narrow down further:
- Group: only hosts in one group.
- Severity: only hosts whose worst failing rule has this severity.
- Enrollment: only hosts in one enrollment state, or Certificate expiring / Certificate expired.
- Period: only hosts last checked within Last hour, Last 24 hours or Last 7 days. All time (the default) includes hosts without results.
- Click Filters and use the Host metadata section to filter on what the host reports about itself. Choose a Field (for example Distribution Name, Operating System, IP Address, Agent Version or Tag), an Operator (Equals, Contains, Starts with, Ends with) and a Value, then click Add Filter.
You should see: each active filter as a chip under the search box. Click the x on a chip to remove it, or Clear all to remove them all.
The filters are kept in the page address. Copy the address from the browser to share exactly this view with a colleague.
Note: View → Show filters only hides the filter bar. It does not clear the filters. Hidden filters still show as chips after Filtered by.
Read the host table
| Column | What it shows |
|---|---|
| Host name | The host name. Click the row to open a preview. |
| Status | Whether the host passes every rule it runs, worked out from the latest result of each rule. It reads Compliant, Non-compliant, Pending, No results or Inactive, in plain text. The small bar under it shows the host's rules: passing in green on the left, pending or could not check in grey, failing in red on the right. Hover the bar for the counts, for example 41 rules: 38 passing · 1 failing · 2 pending. |
| Severity | How serious the worst failing rule on this host is, from Critical down to Informative. Empty when nothing fails. |
| Enrollment | Whether the LEA agent on this host proves its identity to the server with a valid certificate. See the next section. |
| Distribution | The operating system the host reported, for example Ubuntu or Red Hat Enterprise Linux. |
| Version | The version of the host's operating system, for example 22.04, not the version of the LEA agent. |
| IP address | The address the host reported. |
| Agent Version | The version of the LEA agent installed on this host. Shows — when the agent has not reported it. |
| Last seen | When the LEA agent on this host last contacted the server. Hover the time to see the exact date. |
| Check-in interval | How often the agent checks in with the server now. (default) means it follows the default in Settings → Agent Management, (group) that a group sets it, and no mark that the host sets it. Hidden by default. |
To show or hide columns, click the gear icon (Table settings) at the right end of the header row. Data that rules collect about hosts (for example the host name or the package list) can also be shown as extra columns there. They are hidden by default.
Click the arrow at the start of a row to expand it. You should see Host Details with system, network, timestamps and agent information, and the buttons Open host, Rule results, Run history and Preview.
Read the Enrollment column
Every LEA agent proves its identity to the server with a client certificate. This is called mTLS (mutual TLS). The Enrollment column shows the state of that identity.
| Value | Meaning | What to do |
|---|---|---|
| mTLS enrolled (plain text) | Healthy. The agent uses its certificate. | Nothing. |
| NEVER CONNECTED | A certificate was issued but never used. | Check that the LEA agent runs and can reach the server. |
| LEGACY | The agent has no certificate (old agent, or Ansible-managed). | Upgrade the agent, then re-enroll the host (no token needed), or enroll it with a deployment token. |
| CERTIFICATE ERROR | The server recently rejected this agent. | It often fixes itself. If not, re-enroll the host. |
| PENDING RE-ENROLLMENT | The host may enroll again, but only with a deployment token. | Put a token in the agent's lea.conf, or open a re-enrollment window. |
| RE-ENROLLMENT OPEN | An administrator opened a window. The agent can get a new certificate without a token. | Wait for the agent's next check-in. |
| PROBATION | The agent re-enrolled through a window, or was registered through the Ansible/AWX gateway. Rules with secret parameters are held back. | Check the host, then confirm it. |
| RE-ENROLLMENT CONFLICT | A second machine asked for a certificate for the same host. | Investigate before you confirm. |
A second pill, EXPIRING or EXPIRED, appears when the certificate has less than 30 days left or has run out. Certificates renew by themselves while the agent can reach the server.
Hover over the Enrollment cell to see the deployment token the host used, the certificate expiry date, the last rejection reason and, if open, when the re-enrollment window closes.
To fix enrollment problems, see Add and manage hosts and the reference Agent enrollment.
Drill into a host
- Click a host row. You should see a preview panel open on the right.
- Read the top of the preview:
- Checks passing: the share of this host's checks that pass.
- Failing: the number of failing checks.
- Worst: the worst severity among the failures.
- Scroll down. The preview lists Failing rules, Awaiting results, Info rules, Not applicable, Passing rules (click the arrow to show them), the host's Groups, Latest collected output and Recent changes.
- Click a failing rule. You should see the result of that rule on this host: the verdict, the expectation that failed and the raw output. Use the back arrow at the top of the panel to return.
- Click Open host page to see everything about the host.
Other ways to open things:
- Ctrl-click (Windows, Linux) or ⌘-click (macOS) a host name opens the host page in a new tab.
- Right-click a host name for more actions: Open page, Open in new tab, Rule results, Run history, Agent logs, Pin for quick access, Copy name and Copy link.
- Press Ctrl K or ⌘ K anywhere to search for a host by name.
Tabs on the host page
The host page (/hosts/<id>) shows the status pills (COMPLIANT, NON-COMPLIANT or NO RESULTS, the worst severity, INACTIVE, IN MAINTENANCE) and a line with the operating system, IP address, agent version and when the host was last seen.
| Tab | What you find there |
|---|---|
| Overview | The compliance posture, host details (Client ID, LEA GUID, Registered, Last seen, Check-in interval), system details, owner, contact, criticality and labels, and the Enrollment panel with the Re-enroll button. |
| Rule results | Every rule on this host with its latest status. Filter by Failing, Passing or Info. |
| Run history | Every run of every rule on this host. |
| Agent logs | Messages the LEA agent sent, with debug capture. |
| Terminal | Run a one-off read-only command on the host (administrators). |
| Groups | The groups this host belongs to, directly or through nesting. |
| Configuration | Labels, ownership, criticality, environment variables and maintenance windows, and the data rules collect (Collected host tags). See Configure a host. |
| Held rules | Rules this host runs at an older version. See Rule library and updates. |
The host tabs are described in detail in Add and manage hosts. Reading one result is described in Read results and fix failures.
Export the host list
- Set the filters you want. The export uses the same filters and the visible columns.
- Click the export button (download arrow) at the top right of the page.
- Choose CSV (Comma-Separated Values) or JSON (JavaScript Object Notation).
- Click Export.
You should see: the dialog tells you how many records will be exported, and your browser downloads the file.
For reports with charts and sealed evidence, use Reports. See Reports and evidence.
Delete hosts
Delete a host when the machine is gone for good. Its results and history are removed. This cannot be undone.
Warning: Stop or uninstall the LEA agent on the machine first. See Add and manage hosts.
- Click the checkbox icon (Select mode) at the left end of the table header. A selection bar appears above the table.
- Click the hosts you want to delete. To pick every host on the page, click Select all N on this page in the selection bar. You should see "N hosts selected".
- Click Delete N in the selection bar.
- Read the Confirm Deletion dialog and click Continue.
The selection bar also has Activate, Deactivate, Edit configuration and Re-enroll buttons. Clear selection unselects all. Edit configuration sets labels, ownership, criticality, check-in interval, environment variables, groups or maintenance windows on every selected host (see Edit many hosts at once). Re-enroll is for broken agents. See Add and manage hosts.
The column menu (⚙) adds Criticality, Owner, Labels and Check-in interval columns, and Filters → host metadata can match a Label, Criticality, Owner, Contact or Check-in interval (choose the interval from the list; it matches the interval the host uses now, wherever it is set). The export includes every visible column.
Common questions
A host shows NO RESULTS
Check these in order:
- Last seen is recent. If not, the agent is not reporting. See Add and manage hosts.
- The host is active (status is not INACTIVE).
- The host belongs to at least one active group. Open the host page → Groups.
- The group has active rules. Open the group page → Rules.
- The rules have commands for this operating system. A Linux-only rule never produces results on Windows.
- Wait one rule interval. A new rule runs on the host's next cycle for that rule; many rules run once an hour.
A host is NON-COMPLIANT but I fixed the problem
The status changes after the rule runs again. Rules run on their interval (often one hour). Open the result and check last check to see when it last ran. See Read results and fix failures.
Why is the Compliance rate different from the posture score on the Dashboard?
The Compliance rate counts whole hosts. The posture score counts checks and weights them by severity. See Understand the compliance score.
A host appears twice
The LEA agent identifies a machine by an operating system ID plus its host name. If you rename a host or rebuild it, LEA Platform may register it as a new host. Delete the old entry when you are sure it no longer reports.
Last seen is old, but the status is still COMPLIANT
The status is based on the last results the host sent. Old results stay until new ones arrive. Treat a host with an old Last seen as unknown and fix the agent first.
If something goes wrong
- The page is empty: clear all filters (Clear all) and click Hosts in the summary row.
- Numbers do not update: click Updated X ago at the top right to reload.
- Many hosts show CERTIFICATE ERROR: see Add and manage hosts and Troubleshooting.
- For other problems, see Troubleshooting.
Related
- Read results and fix failures
- Add and manage hosts
- Groups
- Reports and evidence
- Dashboard reference