Test mode: paid plans aren't on sale yet, so nothing is charged. Every plan's limits apply.

← Docs

Security log

Each realm keeps a log of what matters for its security: sign-ins that worked and ones that didn't, second factors, changes people make to how they sign in, what administrators did, and signs of stolen tokens. Read it through the management API with the logs:read scope.

curl "$ISSUER/api/v1/logs?limit=100" -H "Authorization: Bearer $T"
# {"events": [{"id": "01J…", "time": "2026-11-29T12:31:05.120Z", "type": "signin.failure",
#              "username": "alice", "ip": "203.0.113.7", "detail": "password: wrong username or password"}, …],
#  "next": "01J…"}

Reading it

What's in it

typeWhen
signin.successSomeone signed in. detail says how: passkey, password, password and authenticator app, a recovery code (with how many are left), outside provider
signin.failureA sign-in was refused. username is the name tried (for passwords), and detail says why
signup.success, signup.failureA passkey sign-up
mfa.failureA wrong authenticator app or recovery code after a right password
hook.denied, hook.failedA hook refused a sign-in or a sign-up, or failed (detail says which and how)
mfa.enrolled, mfa.removedAn authenticator app turned on or off from the account page
passkey.added, passkey.removedFrom the account page
password.changedFrom the account page, or by a reset link (which also signs the person out everywhere)
scim.changeA change by an identity provider through SCIM: client_id is scim:<token id>, detail the method
organization.joinedSomeone became a member by signing in through the organization's own connection
account.linked, account.unlinkedAn outside account linked or unlinked
user.exportedThe person downloaded their data from their account
signoutSingle logout ended sessions: from an outside SAML IdP (detail says which, and how many), or from a SAML app (client_id is saml:<app id>)
session.endedThe person signed another device out from their account page
saml.assertionNod answered a SAML app's sign-in request for the person: client_id is saml:<app id>, detail its entity ID
user.blocked, user.unblocked, user.deletedBy the management API
admin.changeAny change made through the management API: client_id is the machine client that made it, actor_id the person it acted for (with a token on their behalf; absent for a client's own token), user_id the user changed (if any), and detail the method and path (PATCH users/01J…). Bodies are never logged. Refused requests and reads aren't logged
ip.throttledAn address failed too many sign-ins (any accounts) and is refused for a while
token.refresh_reuseA refresh token that had already been rotated was used again, so it was copied. The grant is revoked, and the event is written in the same transaction
token.code_replayAn authorization code was used twice. Its grant is revoked, in the same transaction
client.native_confirmationAn administrator turned off (detail starts skipped) or back on (required) the confirmation of an app's loopback and private-use sign-ins (apps), through the management API or the command line, in the same transaction as the change

Each event has ip (the connection's address, never a header) where there was a request from a person. It never holds passwords, codes or tokens.

A change made with the nod command (which works on the store directly, as an operator) is an admin.change too, with client_id cli:nod (no app can have that id) and detail the command and the id it changed (nod user create zoe): never a flag's value, a URL or a file, which may hold a secret. Commands that only read, and refused ones, aren't logged. Not yet built: logging the account commands, which have no realm to log to.

Streaming to your SIEM

Rather than polling, Nod can push the log to an HTTPS endpoint of yours: batches of up to 100 events, oldest first, as soon as they settle (about ten seconds after they happen).

curl -X PUT "$ISSUER/api/v1/logs/stream" -H "Authorization: Bearer $T" \
  -H "Content-Type: application/json" -d '{"url": "https://siem.acme.example/harpora"}'
# {"url": "https://siem.acme.example/harpora", "secret": "…"}      realm:admin; the secret this once
curl "$ISSUER/api/v1/logs/stream" -H "Authorization: Bearer $T"    # logs:read: how delivery is going
# {"url": "…", "failures": 0, "delivered_through": "01J…", "last_delivered": "2026-11-30T01:02:03.000Z"}
curl -X DELETE "$ISSUER/api/v1/logs/stream" -H "Authorization: Bearer $T"

Or nod log-stream set REALM URL [--from-start] and nod log-stream remove REALM. A new stream starts with what happens from then on; from_start (--from-start) sends everything still kept first.

Each batch is a POST of {"realm": "acme", "events": [...]}, the events exactly as GET /logs shows them, signed like the post-login hook: Nod-Signature: t=…,v1=…, the HMAC-SHA256 of <t>.<body> with the stream's secret. Verify it, and answer 2xx once you've stored the batch.