# Audit log and security

> For organization administrators — reading and filtering the audit log, history by person and by record, exporting to CSV; requiring two-factor authentication and members' MFA status; API keys — generating, scoping, using and revoking them.

Source: https://embedarium.com/guide/audit-and-security · Last updated: 2026-10-19


## The audit log {#audit-log}

The **Audit Log** lists your organization's permission, license and identity events, newest first: who did what, when, in which unit, on which record, and whether it succeeded. Records **can't be changed or deleted**.

![The audit log](https://embedarium.com/assets/images/guide/en/ad-audit.webp "Filtered to the organization owner's actions; the details of a unit settings change are open: trace ID, browser and the change's before and after.")

Each row shows:

| Column | What it shows |
| --- | --- |
| Time | When the action happened |
| Action | What was done (for example *Created a role*, *Sent an invitation*) and the action's technical name |
| Actor | The person who did it and their IP address |
| Unit | The unit where it was done |
| Resource | The record the action concerned (role, invitation, assignment, unit…) and its type |
| Outcome | Successful or failed |

Use the arrow at the end of a row to open its **details**: the trace ID, the browser recorded, the reason if there is one, and the change's **before and after**.

### Filtering and following history {#filtering}

- **Action area:** Authentication, Organization and membership, Role and permission, License and seat, Platform staff access, Education, LMS connection (LTI), Build, Simulation, Circuit Design.
- **Time range:** Last 24 hours, last 7, 30 or 90 days, All time.
- **Outcome:** all, successful or failed actions.
- **Include sub-units:** events in sub-units are listed too.
- **This person's actions:** the button next to the actor shows only that person's actions; a **Person: …** filter appears at the top, removed with **×**.
- **History of this record:** the button next to the resource shows only that record's history (for example an assignment's or a role's). **Open the record** goes to the record's own page.

**Audit trail** in a person's **⋮** menu in the member list also opens the log filtered to that person.

**Download CSV** downloads up to 50,000 records with the current filter. The export itself is recorded in the audit log too.

> [!note]
> If someone from the Embedarium team accesses your organization's data for support, that's recorded as well: a **Platform** badge appears next to the actor; hovering over it shows "Embedarium staff — this access was recorded". Filter these events with the **Platform staff access** area.

## Requiring two-factor authentication {#mfa-requirement}

You can require every member of a unit to use two-factor authentication:

1. First turn on two-factor authentication on **your own account** (see [Two-factor authentication](https://embedarium.com/guide/account#two-factor)). The rule closes the screens for anyone without a setup — including you.
2. In **Unit Settings**, turn on **Require two-factor authentication** and select **Save settings**.

Once it's on:

- Members of this unit and its sub-units can only open their **profile** and the setup screens until they set up two-factor authentication; once they finish, everything opens.
- If a parent unit requires it, a sub-unit can't remove the requirement.
- Follow members' status with the **MFA on / No MFA** labels on the **Members** screen.

> [!tip]
> Tell your members before you turn the requirement on and ask them to install an authenticator app (Google Authenticator, Microsoft Authenticator, 1Password etc.). If a member loses both their phone and their recovery codes, the platform administrator (the Embedarium team, or the IT team running your own server) can turn their two-factor authentication off; the member then sets it up again.

## API keys {#api-keys}

**API Keys** generates keys for desktop clients and your organization's own integrations (for example importing from a student information system).

### Generating a key {#generating-a-key}

1. Select **New API key**.
2. Type a **Key name** — a name that says where the key will be used, for example "Lab desktop client".
3. Optionally set an **Expires** date; if left empty, the key is valid for 1 year.
4. Choose what the key can do under **Permission scope**. Narrow the list with **Search permission**. You can only give a key permissions you hold yourself.
5. Select **Generate key**.

![The new API key form](https://embedarium.com/assets/images/guide/en/ad-api-key.webp "New API key: name, expiry date and permission scope.")

> [!warning]
> The key's value is shown **only once**. Copy it straight away and store it somewhere safe, then select **Saved, close**. If you lose it, revoke the old key and generate a new one.

### Using a key {#using-a-key}

Send the key in the request's `Authorization: Bearer <key>` header. A key:

- acts on behalf of the user who created it, **only in the unit it was created in** and **only with the scopes chosen**;
- **can't be used** for password, two-factor authentication, session and key management, ownership transfer or LMS platform registration;
- can't change the organization's sign-in policy (the two-factor requirement, allowed email domains).

The list shows each key's creation date, creator, expiry date and **last use**.

### Revoking a key {#revoking-a-key}

**Revoke key** on a row closes the key permanently; clients using it lose access immediately. Revoking can't be undone. Revoked or expired keys are removed from the list after 90 days; their creation and revocation stay in the audit log.

## Members' account security {#account-security}

- After 10 wrong passwords in a row, signing in to the account from the network the attempts came from is closed for a while, and a warning email goes to the account's owner (see ["Account locked" message](https://embedarium.com/guide/getting-started#account-locked)).
- Every user sees and closes their open sessions and security events in their profile (see [Open sessions and security activity](https://embedarium.com/guide/account#sessions)).
- To close the access of someone leaving the organization, suspend or remove their membership (see [Membership actions](https://embedarium.com/guide/members-and-roles#membership-actions)).
