Skip to main content

Device Security Posture & Compliance

Every Admiral device reports its platform security posture: whether it has a TPM, whether Secure Boot is on, whether its data disk is encrypted, and whether its disk recovery key is safely escrowed in Admiral Cloud. Fleets can then declare which of those they require, and Admiral shows every device that falls short.


What Each Device Reports​

Devices send their posture with their hardware inventory and re-send it whenever it changes (for example once disk encryption is set up or the recovery key is escrowed).

AreaWhat is reported
TPMPresent and usable; kind (discrete, firmware, or virtual); interface; manufacturer; firmware version; TPM spec version.
Secure BootSupported; enabled; mode (user, setup, custom, or disabled); which key databases are enrolled (PK, KEK, db, dbx).
Disk encryptionEnabled; scheme (LUKS2); cipher; key protector (TPM, passphrase, or none); the TPM PCRs the key is sealed to.
Recovery keyEscrowed (with date), pending upload from the device, or not escrowed.

Devices running an older Admiral release show Not reported until they are updated. Not reported is never treated as "absent".

When Is the Disk Encrypted?​

Admiral encrypts the device's main storage partition (workloads, images, volumes, and secret files) automatically when the device has both a usable TPM and UEFI Secure Boot enabled (not in setup mode). The disk key is sealed to the TPM against the Secure Boot state (PCR 7), so the device unlocks itself on every normal boot with no passphrase. The installer, first boot, and factory reset all apply the same rule.

PlatformTPMSecure BootDisk encryption
x86_64 UEFI (discrete or firmware TPM)ReportedUEFI Secure Boot, signed kernel and bootloaderYes, when TPM and Secure Boot are both on
ARM single-board computersNot availableShown as Unsupported on this hardwareNo
NVIDIA Jetson OrinNot availableShown as Unsupported on this hardwareNo

Regardless of posture, every Admiral device boots a read-only, integrity-verified system image and a hardened kernel. See System Updates.

Enable Secure Boot before installing

To get an encrypted disk on x86 hardware, enable the TPM and UEFI Secure Boot in firmware before running the Admiral installer. A device installed without them stays unencrypted until it is reinstalled or factory reset with both enabled.


Device Security Tab​

Open a device and select Security.

Device > Security tab on a compliant x86 device: TPM, Secure Boot, LUKS2 and an escrowed recovery key

The tab has three cards:

  1. Security compliance: a badge (Compliant, Needs attention, Non-compliant, or Not enforced), the fleet's requirements, and every violation. With no fleet policy, posture is shown for information only.
  2. Platform security: one row each for TPM, Secure Boot, disk encryption, and recovery key, for example Discrete TPM 2.0, Enabled (UEFI, user mode), LUKS2 aes-xts, protected by TPM (PCR 7), Escrowed. A state the fleet requires but the device lacks is shown in red.
  3. Disk Encryption & Recovery Key: reveal the escrowed recovery key (see below).

Device > Security tab on a non-compliant device, with the violations list


Fleet Security Policy​

Open a fleet and select Policy > Security (/fleets/<fleet-id>/policy/security).

Fleet &gt; Policy &gt; Security with all four requirements enabled and non-compliant device counts

Turn on any of the four requirements and click Save policy. Modifying the fleet security policy requires the Edit security policy capability (policy.security), included in the Owner, Administrator and Engineer roles. Users who only hold view permissions see the switches locked.

The four requirements:

  • Require TPM
  • Require Secure Boot
  • Require disk encryption
  • Require recovery key escrow

The tab shows how many devices are in the fleet, how many are non-compliant, and how many have not reported their posture.

Reporting only

The four requirements above affect compliance reporting only. They never change how devices boot, encrypt, or behave, and they never block or quarantine a device. Workload host access is separate: it does decide which configurations a fleet accepts.

Compliance Levels​

LevelMeaning
Not enforcedThe fleet has no requirements switched on.
CompliantThe device meets every requirement.
Needs attentionPosture or Secure Boot state has not been reported, or the recovery key has not been escrowed yet.
Non-compliantA required TPM is missing or unusable, Secure Boot is unsupported or disabled, or the disk is not encrypted.

Compliance is re-evaluated when a device's posture changes, when the policy is saved, and every five minutes. The Compliance column on the device list shows the worse of a device's connectivity and security status as a badge. Open the device's Security tab for the violations; the API returns the first one as compliance_reason.

Devices list with the Compliance column showing Poor and Warning badges for devices that violate their fleet security policy

ARM fleets

ARM boards do not report a TPM or Secure Boot. A fleet of ARM devices that requires a TPM, Secure Boot, or disk encryption will show every device as non-compliant.

API​

# Read
curl -sS https://api.admrl.co/v1/fleets/$FLEET_ID/security-policy \
-H "Authorization: Bearer ***" -H "X-Organization-ID: $ADMIRAL_ORG"

# Update (requires Edit security policy, policy.security)
curl -sS -X PUT https://api.admrl.co/v1/fleets/$FLEET_ID/security-policy \
-H "Authorization: Bearer ***" -H "X-Organization-ID: $ADMIRAL_ORG" \
-H "Content-Type: application/json" \
-d '{"require_tpm":true,"require_secure_boot":true,"require_disk_encryption":true,"require_recovery_key_escrow":true}'

The response includes the four flags, enforced, updated_at, devices_total, devices_noncompliant, and devices_not_reported. A device's posture and compliance are returned in the security object of GET /v1/devices/{deviceId}.


Workload Host Access​

Some workload settings reach past the container to the device itself. A fleet's security policy decides whether configurations that use them can run on that fleet. The default is deny: a fleet that has never been given an allowance accepts none of them.

What is gated​

UseClassTriggered by
Privileged serviceprivilegedA service with privileged: true (compose privileged).
Powerful capabilitiescapabilitycapAdd with CAP_SYS_ADMIN, CAP_NET_ADMIN, CAP_SYS_MODULE, CAP_SYS_PTRACE, CAP_SYS_RAWIO, CAP_DAC_READ_SEARCH, or ALL. Other capabilities, such as CAP_CHOWN, are not gated.
Host devicesdeviceAn entry in a service's devices (compose devices), or a mounts bind whose source is under /dev. Binds of /dev/shm, /dev/null, /dev/zero, /dev/full, /dev/random, /dev/urandom and /dev/tty are not gated. Leaving options.isolateDevices off, which passes the host /dev through, is not a use.
Host namespacesnamespaceA configuration that shares the host pid or ipc namespace. The host network namespace is not gated.

Each use is checked against its own class. Allowing privileged does not allow devices or capabilities.

Set the allowance​

In the dashboard, open the fleet and choose Policy > Security. The Workload host access card sits below the four compliance requirements:

  • Privileged services (privileged: true).
  • Host devices (devices and /dev bind mounts).
  • Host namespaces (the host pid and ipc namespaces).
  • Capabilities: All, or any of CAP_DAC_READ_SEARCH, CAP_NET_ADMIN, CAP_SYS_ADMIN, CAP_SYS_MODULE, CAP_SYS_PTRACE and CAP_SYS_RAWIO.

Each switch and capability is its own allowance. Choose what to allow, then choose Save host access. This is a separate save from Save policy for the four compliance requirements. Cancel discards the unsaved changes. The card states what the fleet allows now, and warns when any host access is allowed. Only users with Edit security policy can change it; others see the controls disabled.

The same allowance is the workload_host_access object of the fleet security policy. Over the API, send it with the four compliance flags in the same PUT:

curl -sS -X PUT https://api.admrl.co/v1/fleets/$FLEET_ID/security-policy \
-H "Authorization: Bearer ***" -H "X-Organization-ID: $ADMIRAL_ORG" \
-H "Content-Type: application/json" \
-d '{
"require_tpm": true,
"require_secure_boot": true,
"require_disk_encryption": true,
"require_recovery_key_escrow": true,
"workload_host_access": {
"allow_privileged": false,
"allow_capabilities": ["CAP_NET_ADMIN"],
"allow_devices": true,
"allow_host_namespaces": false
}
}'
KeyMeaning
allow_privilegedAllow services with privileged: true.
allow_capabilitiesThe powerful capabilities services may add: any of the six names above, or "ALL" for every one. Anything else is a 400.
allow_devicesAllow devices and /dev bind mounts.
allow_host_namespacesAllow the host pid and ipc namespaces.

Leave workload_host_access out and the fleet keeps its current value, so a client that only sends the four flags never clears it. To remove an allowance, send the object with every key false and an empty list. GET returns the object, or null for a fleet that has none. Changing it needs the same Edit security policy capability as the rest of the policy. It does not count towards compliance reporting. Each new configuration version records the kinds of host access it uses in the audit log.

Where it is enforced​

Admiral checks the allowance for every fleet a configuration would reach, whenever:

  • a configuration is assigned to a fleet,
  • a rollout is created, and at each step of it,
  • a device is moved into a fleet, or its configuration override is changed,
  • a new version is saved for a configuration that is assigned to a fleet or that a fleet follows at its latest version.

A refusal is 409 host_access_not_allowed, and nothing is written:

{
"error": "host_access_not_allowed",
"message": "configuration frigate v3 uses host access that fleet lobby does not allow: service nvr: privileged; service nvr: device /dev/apex_0",
"fleetId": "00000000-0000-0000-0000-0000000000f1",
"fleetName": "lobby",
"uses": [
{ "service": "nvr", "kind": "privileged" },
{ "service": "nvr", "kind": "device", "detail": "/dev/apex_0" }
],
"hint": "allow it in the fleet security policy (workload_host_access)"
}

If several fleets refuse, the answer names the first by fleet ID. Checking a compose file with the Compose tab or --dry-run reports the same refusals as warnings for each fleet the configuration is assigned to, before you save.

The check runs when a configuration is assigned, rolled out or saved. Changing a fleet's allowance does not touch devices that are already running, even if the new policy would no longer allow what they run. The next assignment, rollout or new version is checked against it. Creating a configuration that uses host access is never refused: it only cannot reach a fleet that disallows it.

Existing configurations​

When this check was introduced, configurations that already used host access through the settings that existed then, /dev bind mounts and the host pid or ipc namespaces, were marked as allowed. Their fleets and devices see no change, across all of the configuration's versions, and new versions of them keep working. The mark does not carry to a duplicate of the configuration, and it covers only those two older settings. privileged, capAdd and devices are new, and are checked for every configuration.


Recovery Keys​

When a device encrypts its disk it generates a recovery key in the form ADMRL-XXXX-XXXX-..., uploads it to Admiral Cloud, and keeps it out of its own logs. Admiral stores the key encrypted and bound to that device.

Revealing a key: on the device's Security tab, click Reveal Recovery Key, then Copy or Hide. Revealing a key requires the Recover devices capability (device.recovery), held by the Administrator and Owner profiles. Personal API tokens, CLI sign-ins, and MCP tokens are refused.

Disk Encryption &amp; Recovery Key card with the key revealed

The recovery key grants full access to the drive. Treat it like a root password. Every reveal, and every denied attempt, is recorded in the audit log with who, when, and from where. The key itself is never written to the log.

API: GET /v1/devices/{deviceId}/recovery-key returns recovery_key and staged_at.

Remote Unlock​

If a device cannot unseal its disk at boot (for example after a firmware update changed the Secure Boot state), it shows an unlock code such as ABCD-2345 on its screen and waits.

  1. The device page shows a Remote unlock alert while the device is waiting.
  2. Read the code from the device's screen, enter it, and click Grant this code.
  3. The device receives its key within about 30 seconds and continues booting.

The grant is valid for one hour and is released once, only to the device displaying that code. Granting requires the Recover devices capability (device.recovery, held by the Administrator and Owner profiles). Personal API tokens, CLI sign-ins, and MCP tokens are refused, and the grant is recorded in the audit log. Wired network interfaces come up before the disk is unlocked so remote unlock works over Ethernet; Wi-Fi settings are stored on the encrypted disk and are only available after unlock.

Device page Remote unlock alert with an unlock code entered

API: POST /v1/devices/{deviceId}/remote-unlock with {"code": "ABCD-2345"}.


Hardware Identity​

When a device with a TPM is onboarded, it registers its TPM endorsement key and proves that its attestation key lives in the same TPM. Admiral records this link, and it survives OS reinstalls and factory resets, so a physical machine can be recognised across its lifetime.