Skip to content

Security

Two account-security features live in the dashboard under Settings: two-factor authentication for your own sign-in (Settings → Account) and an audit log of what changed in the organization (Settings → Audit log). Neither affects the API: API keys authenticate requests to /v1 exactly as before.

Two-factor authentication (2FA) adds a second step to signing in: a six-digit, time-based code (TOTP) from an authenticator app such as 1Password, Google Authenticator or Authy. It applies to every way of signing in to the dashboard, including GitHub and Google.

  1. Open Settings → Account and choose Set up two-factor in the Two-factor authentication card.
  2. Scan the QR code with your authenticator app, or choose Show setup key and type the key in. The QR code is drawn in your browser from the setup key; the key is not sent to any third-party service.
  3. Enter the six-digit code the app shows. 2FA is active from this moment.
  4. Save the ten recovery codes that appear. They are shown only once. Copy or download them, tick the confirmation and choose Done.

Until step 3 completes nothing changes: an abandoned enrolment leaves sign-in as it was.

After your email and password (or after GitHub / Google), the dashboard asks for the current code from your app. Codes are valid for a 30-second window plus one step of clock drift on either side, and each accepted code works once. The sign-in attempt expires after five minutes, and five wrong codes end it; start again from the sign-in page.

A password reset link proves control of your mailbox, not possession of your device, so resetting the password on a 2FA account still asks for a code before the session opens.

If you do not have your device, choose Use a recovery code on the verification step and enter one of the ten codes. Each code works once; the dashboard warns you when fewer than three remain. Generate a fresh set at any time from Settings → Account → Regenerate recovery codes (this needs a current code from the app, and the old set stops working immediately).

Settings → Account → Disable… asks for your current password, or for a code from the app. Accounts that signed up through GitHub or Google and never set a password confirm with a code. Disabling removes the authenticator secret and all recovery codes; signing in goes back to password only.

The authenticator secret is encrypted at rest with a key derived from the server’s session secret, and recovery codes are stored only as SHA-256 hashes. Neither is ever written to the audit log or to request logs.

The audit log records who changed what in an organization: API keys, webhook endpoints, members and invites, projects, organization settings, and the account-security events of its members. It is at Settings → Audit log.

  • Who can read it: owners and admins. Members cannot, because entries carry other members’ email addresses and IP addresses. Requests from a member return 403 insufficient_role.
  • Retention: 365 days. Older entries are deleted by a daily housekeeping job.
  • Scope: one log per organization. Account-level events (two-factor and password changes) are written to every organization the account belongs to, so each organization’s admins see the security posture of their own members.
  • Filtering: by family (API keys, Webhooks, Members, Invites, Projects, Organization, Account security). Pages of 50, newest first, with Load more.

Each entry has the time (UTC), the actor (email address, kept even if the account is later deleted; empty for system actions), the action, the target (type, id and a human label such as the key name or the member’s email), the client IP address (first hop of X-Forwarded-For behind the proxy), and a small metadata object described below. Secrets are never recorded: no API key material or hashes, no webhook signing secrets, no passwords, no authenticator secrets or recovery codes.

Action Target Metadata
api_key.created the key (name) project_id, mode, scopes, ip_allowlist_count, expires_at
api_key.updated the key (name) project_id, changed (name, ip_allowlist)
api_key.rolled the old key (name) project_id, mode, new_key_id, old_key_valid_until
api_key.revoked the key (name) project_id, mode
webhook.created the endpoint (URL) project_id, mode, events
webhook.updated the endpoint (URL) project_id, changed (url, events, active), active
webhook.deleted the endpoint (URL) project_id, mode
webhook.secret_rotated the endpoint (URL) project_id
invite.sent the invite (email) role, email_sent
invite.revoked the invite (email) role
member.joined the member (email); actor is the new member role, invite_id
member.role_changed the member (email) from, to
member.removed the member (email) role, left (true when the member removed themselves)
project.created the project (name) region, retention_hours
project.updated the project (name) changed, region, retention_hours
project.deleted the project (name) region
org.updated the organization (name) changed (name or spend_cap_cents) with the new and previous value
user.2fa_enabled the account (email) —
user.2fa_disabled the account (email) method (password or code)
user.recovery_codes_regenerated the account (email) —
user.password_changed the account (email) via (reset)

Events are only written when something actually changed: saving a key or project with the same values records nothing.