Skip to main content
tiCrypt

Audit Event Reference

AdministratorRequires: Super-admin for the Audit Logs table; all tiCrypt Audit users for alerts

An audit event is a record that the tiCrypt backend writes to its secure audit log when a service handles an action: a login step, a file or drive operation, a VM event, an administrative change, a connection through the proxy, or a scheduled job. An alert is not an audit event: tiCrypt Audit raises alerts by reading audit events as they arrive, and keeps them in a table of its own. This page lists every alert tiCrypt Audit raises and every audit event type the backend writes.

Why the audit log records failures and reads​

Most audit events carry a Success field and an ErrorCode field: the backend writes a refused request as well as an accepted one, because a denied attempt is evidence too. It also records reads, not only changes. A file key retrieval (FG) is the step that comes before decrypting a file, and every chunk sent to a client has a TR record, so the log shows who was able to read a file, when, and how much of it left the server, even though tiCrypt never sees the file's plaintext.

Every line also joins a hash chain. The logger regularly writes a hash entry that covers the previous hash entry and every line written since, so a line that is deleted, inserted or altered breaks the chain. The logger checks the chain each time it starts, and tiCrypt Audit checks it as the lines arrive.

The log holds no secrets. Session tokens, API tokens and multi-factor tokens appear only as a reference that identifies them without revealing them, so reading the log does not give access to a session.

Alerts​

tiCrypt Audit checks each audit event against its alert rules as the event arrives, and the log streamer also watches for a silence. It has two kinds of alert:

  • Security alerts: tiCrypt Audit stores them, shows them on the Alerts tab, and sends them to every configured driver.
  • Activity alerts: tiCrypt Audit neither stores them nor shows them on the Alerts tab. Only the Splunk driver receives them; the print and email drivers skip them.

The Alert Type filter on the Alerts tab lists both kinds by name, but only security alerts ever have entries there.

Security alerts​

The following table describes the security alerts, from the most severe. The Alert column is the name the Alerts tab shows.

AlertIDSeverityRaised whenSource
"No activity"NoActivityCriticalNo log line has reached the log streamer for the time set by noActivityAlertAfter, 24 hours by default. While no line arrives, it is raised again after each further period of the same length. log-uploader, which loads old logs, never raises it.A timer in the log streamer
"Hash block-chain interuption"HashAlertHighA hash entry does not match the hash tiCrypt Audit computes over the lines before it, or a hash entry repeats a sequence number with a different hash. SequenceNum is the hash entry where the chain breaks.Every line
"File declassified"FileDeclassifiedMediumA request lowers a file's project tag: an FP record with Action lessen, whether the request succeeded or not.FP
"User account locked"UserLockedMediumAny UL record. The alert carries the reason and the source address.UL
"Geolocation discrepancy"IPAlertLowTwo consecutive successful session requests by the same user come from places more than 2 miles apart, farther apart than the accuracy radius of either location, and too far apart to travel between at 500 mph in the time between the requests. Needs geoip in the tiCrypt Audit configuration.SR
"Deactivated user tried to login"DeactivatedLoginLowA login challenge fails with the error usr-not-active: the account is deactivated or locked.SC
"User added"UserAddedInfoAny UA record, including failed attempts.UA
"Group added"GroupAddedInfoAny GC record, including failed attempts.GC
"User's account state changed"StateChangedInfoA UM record sets a state that differs from the last state tiCrypt Audit read for that user.UM
"User's role changed"RoleChangedInfoA UM record sets a role that differs from the last role tiCrypt Audit read for that user in a UA or UM record.UA, UM
"User's permissions changed"PermissionsChangedInfoA UM record sets permissions that differ from the user's permissions as tiCrypt Audit last read them in a UA or UM record. The alert lists the permissions added and removed. A failed attempt is reported with ChangeSuccessful 0 and does not change the permissions tiCrypt Audit holds for the user. The same permissions in another order raise nothing.UA, UM
What tiCrypt Audit compares against

tiCrypt Audit remembers each user's last state, role and permissions only while tiaudit-logger runs. After a restart, the first UM record that sets a user's state, role or permissions raises the matching alert even when the value is the same as before; for permissions, the alert lists them all as added.

The geolocation alert reads the IP field of SR records. It skips requests whose address is unknown. An address in a private network is located at the server's public address, taken from ipFallback in the configuration or the TICRYPT_PUBLIC_IP environment variable; when neither is set, requests from private addresses are skipped.

The email driver sends each security alert as a plain-text message. "No activity" arrives with the subject "Log streamer inactivity detected in tiCrypt [CRITICAL]", "Geolocation discrepancy" with "IP Discrepancy in tiCrypt [LOW]", "User account locked" with "User account locked in tiCrypt [MEDIUM]", and "Hash block-chain interuption" with "Hash block-chain interupted in tiCrypt [HIGH]". Every other security alert arrives with the subject "tiCrypt Alert [UNKNOWN]". The syslog driver writes each alert at the level of its severity, a critical alert at the critical level.

Activity alerts​

The following table describes the activity alerts. All have the severity Info, and each is raised for every record of its type, whether the request succeeded or not. In Splunk, the event's type is the alert ID.

AlertIDSource records
"File added"FileAddedFC
"File deleted"FileDeletedFD
"File key accessed"FileKeyAccessedFG
"Drive added"DriveAddedRC
"Drive deleted"DriveDeletedRD
"User deleted"UserDeletedUD

Incidents the backend writes​

The backend writes some incidents into the audit log itself, as XX01 records. They are audit events, not alerts: tiCrypt Audit stores them in its Incidents table, and its Alerts tab lists only the alert types above, so query the Incidents table to find them.

IncidentTypeWritten whenExtraInfo
unsafe-html-requestA request contains unsafe HTML.JSON with the source address, method and path
unsafe-html-responseThe answer to a request contains unsafe HTML. At most once per client and path in a minute.JSON with the source address, method and path
internal-route-refusedA route meant for VMs and hosts is asked for from outside the internal networks. At most once per address in a minute.JSON with the source address, method and path
SecureLogVerificationThe logger starts on a log that does not verify: a hash entry that does not match, one out of sequence, one that cannot be read, or a missing live file next to rotated ones. The logger goes on writing the log.JSON with the list of problems
SecureLogRecreatedThe live log file was deleted while the logger ran, and the logger created it again. The new file starts with the hash entry the next block follows, so the chain goes on.JSON with the file's path

Read an audit event​

The audit log is a text file, logs/ticrypt-secure-log.log by default, with one record per line and its fields separated by tabs. The logger closes the file once a day and starts a new one, adding the UTC time to the old file's name (-yyyyMMddTHHmmss). After the logger restarts, the next rotation comes a day after the live file was started, not a day after the restart, so the live file holds about a day of records. Rotated files older than 7 days are compressed with gzip (.gz), and the original is removed only after the compressed copy is checked to hold the same bytes. Both periods are logger settings; see ticrypt-logger. log-uploader reads compressed files as they are.

The following table describes the parts of a line.

PositionContent
1The type: the record's code and a two-digit version, for example FC03. This is the Type column of the Audit Logs table.
2The time of the event, in milliseconds since 1 January 1970 UTC. In records that also have an EndTime or End field, this is when the backend received the request, and EndTime or End is when it finished.
3 and onThe fields, in the order the tables below list them. In the Audit Logs table, the first field is Arg 1.

Fields follow these conventions:

  • Success: true when the request succeeded, false when it failed.
  • References to secrets: the SessionID, SubSessionID, TokenID, Token, MfaTokens and MFATokens fields hold a reference to the session or token, never the session or token itself: the first 22 characters of the base64url SHA-256 hash of its value. The same session gives the same reference in every record and every service, so the records of one session still match. The escrow AuthID of a request made with a session is the same reference. Logs written before this change hold the values themselves.
  • SourceIP: the client address, as the server's front end received it. A value a client sends itself is replaced.
  • ErrorCode: empty on success, otherwise the tiCrypt error code, such as usr-not-active.
  • Optional fields: a field shown with a trailing ? is empty when it does not apply.
  • Lists: fields that hold several values, such as Actions, Projects, Owners or UserIDs, separate them with spaces. A Details field is a JSON object, with any list in it as a JSON array.
  • Times: every time field is in milliseconds since 1 January 1970 UTC.
  • Throttled records: records that one event can repeat, or that a client can cause at will, are written at most once per key in a set interval. Each row that is throttled says so.

A record's version goes up when its fields change, and new fields are added at the end, so a reader that knows an earlier version still reads its fields. Lines written by an older backend keep their older version and fields: filter on the code alone, such as FC, to find every version of a record.

Delivery of records​

Each backend service sends its records to the logging service. While a service starts, reconnects, or has no logging service to send to, it keeps up to 100,000 records and sends them, in order, when it can; beyond that, the oldest are dropped and the service logs an error in its own journal. The logging service keeps up to 100,000 records while it verifies the log at start. A forwarder that sends the log to tiCrypt Audit keeps up to 256 MiB while tiCrypt Audit cannot be reached, and drops the oldest packets beyond that; the log file itself keeps every record.

Hash entries​

The logger writes a hash entry, type ##01, that has two fields after its time: a sequence number that goes up by one each time, and a SHA-512 hash in hexadecimal. The hash covers the previous hash entry and every line written after it. The logger writes one every 10 seconds when records have arrived since the last one, as soon as more than 10 records are waiting, and before it starts a new file.

When the logger starts, it verifies the log: a log that passes gets an LGE record with Action verified, and one that does not gets a SecureLogVerification incident.

A line that ends with #CUT# was cut short when it was written. For more information, see Audit Logs.

Records that only tiCrypt Audit writes​

tiCrypt Audit stores two record types in its own database. XX is shared with the backend, which writes the incidents above.

TypeRecordFields
XX01Incident: a security alert raised by tiCrypt Audit, or an incident the backend wroteIncidentType (the alert ID or the incident type), ExtraInfo (the details as JSON), SessionID, UserID
XZ01Failed line: a line tiCrypt Audit could not readRaw, ErrorMessage

The backend does not write the types OT (form entry added in a session), SAP (session permission added) or TF (form data read: nothing serves form data since the storage service was removed). The log schema still defines them, so they can appear only in logs written by older backends.

Audit events by area​

The following tables describe the 249 audit event types that the backend writes, grouped by area. Most are written whether the request succeeds or fails; the Success field tells the two apart. The Type column shows the current version.

Sessions and login​

TypeEventWritten whenFields
SR03Session requestedA user, VM or device manager starts a login and asks for a challenge. IP is the client address. UserID is empty when the login ID is unknown; for a VM it holds the VM ID, and for a device manager Email is empty and UserID holds the device manager ID.Success, Email, MachineID?, IP, UserID?, ChallengeID?, Expires?, ErrorCode?
SC05Session challengeA client answers a login challenge. On success, SessionID is the new session, MfaTokens the multi-factor tokens supplied, and Projects the projects the session is authorized for. SourceIP is the client address. For an account refused before the signature is checked, such as a locked one, UserMatch is empty. A failure carries the error code, for example usr-not-active.Success, ChallengeID, UserID?, MachineID?, UserMatch?, MachineMatch?, SessionID?, Expires?, MfaTokens, Projects?, ErrorCode?, SourceIP?
MFTC02MFA token createdAn MFA provider's signed certificate is exchanged for a multi-factor token during login.Success, Source?, Authorizer, Algorithm, Email?, CertTimestamp?, TokenID?, UserID?, ErrorCode?
SSCR02Server-side credentials retrievedA client fetches the salt and IV of a user's key, with the login ID and MFA tokens, during a login with server-assisted authentication. SourceIP is the client address.EndTime, Success, Email, MFATokens, ErrorCode?, SourceIP?
SSCS01Server-side credentials setA user stores new server-side credentials, for example after changing the password on their key.EndTime, Success, SessionID, ErrorCode?
SL02Session lookupA client asks for the details of its session, or renews it (Refresh is true).Success, SessionID, UserID?, MachineID?, Created?, Expires?, Refresh?, ErrorCode?
SS05Sub-session createdA session creates a sub-session limited to Actions and Projects, for a set Duration. Role is the sub-session's role.Success, IP, SessionID, Actions, Duration?, SubSessionID?, Expires?, Refreshable, Projects, ErrorCode?, Role?
SDG01Session downgradedA session drops to a lower Role and a narrower set of Actions for a stated Purpose.Success, SessionID, IP, Actions, Role, Purpose, ErrorCode?
ST01Temporary sessionA signed message (AddUser or CreateSession) is exchanged for a temporary session. A failure is recorded when the user or machine is unknown, a signature is invalid, or the message was already used.Success, IP, MessageID, MessageType, UserID, MachineID?, UserValid?, MachValid?, SessionID?, Expires?, Actions?
MSC01Inbox session createdA session is made from an inbox ID alone, for an upload to the inbox. SessionID is the new session, Owner the inbox's owner and SourceIP the client address.Success, MailboxID, Owner?, SessionID?, Expires?, ErrorCode?, SourceIP?
NCO01Notification channel openedA client opens a notification channel. Channel is user, vm, device-manager, host or transfer-tool, and SubjectID is whose notifications it receives. The host and transfer-tool channels take no session, and are recorded at most once per channel, subject and address in a minute.Success, SessionID?, Channel, SubjectID?, SourceIP?, ErrorCode?
SD01Session deletedA user logs out.Success, IP, SessionID
SI02Session invalidatedtiCrypt ends a session. UserID is whose session it was. Reason: account-changed (the user's role, permissions or state changed), account-disabled, unsafe-request (a request on the session contained unsafe HTML; Source is the client address) or expired.Success, SessionID, Source?, ErrorCode?, UserID?, Reason?
TOSA03Terms of service acceptedA user accepts the terms of service.Success, UserID, ErrorCode?, SessionID?

Users and accounts​

TypeEventWritten whenFields
UA02User addedA user account is created. HasCreds is true when server-side credentials were set at creation.Success, SessionID, Email, FirstName, LastName, PublicKey, UserID, Role?, Permissions?, HasCreds, ErrorCode?
UM04User modifiedA user's name, role, permissions, state, deactivation type, escrow setting, expiration, external flag, department, position, comment or contact email is changed. Only the changed fields have values; permissions sent as a bitset are written in Permissions too. The change to Active after a user's key is escrowed is recorded as well. Email is always empty: login ID changes are UE records.Success, SessionID, UserID, FirstName?, LastName?, Email?, Role?, Permissions?, State?, StateReason?, Department?, Position?, Comment?, ContactEmail?, ErrorCode?, DeactivationType?, NeverEscrow?, Expiration?, ClearExpiration?, ExternalUser?
UE01Login ID changedA Super-admin changes a user's login ID. ChangedBy is the Super-admin.Success, SessionID, ChangedBy?, UserID, OldEmail?, NewEmail, ErrorCode?
UL04User account lockedtiCrypt locks an account without an admin. Reason and DeactivationType say why: too many login challenge attempts (FailedPassword), a request with unsafe HTML (XSS), no login for the inactivity period (Timeout), or a passed expiration date or a request through an API token (Admin).Success, SessionID?, UserID, ErrorCode?, Reason, DeactivationType, SourceIP?
UTD01Temporary deactivation changedA temporary deactivation of an account is set or removed by an admin, or lifted by the server when its time runs out (Action: set, remove, expired). DeactivatedUntil is when it ends.Success, SessionID?, UserID, Action, DeactivatedUntil?, ErrorCode?
UD03User deletedAn admin deletes a user account. The deleted account keeps its login ID.Success, SessionID, UserID, ErrorCode?, Email?
UDRN01Deleted users renewedAn admin restores deleted accounts. UserIDs lists the accounts asked for and RenewedUserIDs those restored. Each restored account also has a UR record.Success, SessionID, UserIDs, RenewedUserIDs?, ErrorCode?
UR01User restoredAn admin restores a deleted account. One record per account.Success, SessionID, UserID, Email?, ErrorCode?
UDPU01Deleted users purgedDeleted accounts are removed for good: by an admin (UserIDs), or by the maintenance service for records older than BeforeDate (no session). NumDeleted is the count. Each purged account also has a UPG record.Success, SessionID?, UserIDs?, BeforeDate?, NumDeleted?, ErrorCode?
UPG01User purgedA deleted account is removed for good, by an admin or by the deleted-user cleanup (SessionID is empty). From this record on, its login ID is free.Success, SessionID?, UserID, Email?, ErrorCode?
UMOC01Managed objects changedThe objects a sub-admin manages change (Action: add, remove). Objects lists them, such as Team:<id> Project:<id>. There is no session when the change follows from a team or project request.Success, SessionID?, UserID, Action, Objects, ErrorCode?
UQC01User quota changedA user's quota is set or deleted (Action: set, set-all, delete, delete-all).Success, SessionID, UserID, Action, QuotaName?, QuotaValueJson?, ErrorCode?
UAM02User avatar changedA user's profile picture is set or deleted (Action). AvatarImage is the SHA-256 hash of the new image.Success, SessionID, UserID, AvatarImage, Action?, ErrorCode?
USAAD02Development Super-admin addedA development build creates its automatic Super-admin. A production build refuses the request and records it with Success false.Success, ErrorCode?
DMCR02Device manager createdA Super-admin registers a device manager.Success, DeviceManagerID?, ErrorCode?, SessionID?
DMUD02Device manager devices updatedA device manager's list of devices changes.Success, DeviceManagerID?, ErrorCode?, SessionID?
FSWDM02File shared with device managerA user shares a file with a device manager, which is then notified.Success, SessionID, FileID, DeviceManagerID, ErrorCode?

API tokens​

TypeEventWritten whenFields
ATCR01API token createdAn admin creates an API token: its type, description, whether it is read-only, its expiry, and any permissions added. TokenID is the token's ID, never the token.Success, SessionID, TokenID?, TokenType, Description?, ReadOnly, Expires, AddedPerms?, ErrorCode?
ATDE01API token deletedAn API token is deleted.Success, SessionID, TokenID, ErrorCode?
ATUS01API token usedA request is made with an API token, refused ones included. Action is the request, for example EditBrick or DisableUsers, Details a JSON object with what it was about, and SourceIP the caller's address. TokenID, Owner and TokenType are empty when the token is unknown or expired.Success, TokenID?, Owner?, TokenType?, Action, Details?, ErrorCode?, SourceIP?

Groups​

TypeEventWritten whenFields
GC02Group createdA user creates a group.Success, SessionID, Name, OwnerKey, GroupID?, Owner?, Project?, ErrorCode?
GM02Group renamedA group's name changes.Success, SessionID, GroupID, Name, ErrorCode?
GSM01Group settings changedA group's settings change.Success, SessionID, GroupID, Settings, ErrorCode?
GO03Group owner changedA group's ownership moves from OldOwnerID to UserID.Success, SessionID, GroupID, UserID, ErrorCode?, OldOwnerID?
GD02Group deletedA group is deleted.Success, SessionID, GroupID, ErrorCode?
GA02Group member addedA user joins a group with Permissions.Success, SessionID, GroupID, UserID, Permissions, ErrorCode?
GB02Group member modifiedA member's group permissions change.Success, SessionID, GroupID, UserID, Permissions, ErrorCode?
GR02Group member removedA user leaves or is removed from a group.Success, SessionID, GroupID, UserID, ErrorCode?
GK01Group key retrievedA user fetches their encrypted copy of a group's key.Success, SessionID, GroupID, ErrorCode?
GP01Group project tag changedA group's project tag is set or cleared (Action set), or lowered (Action lessen).Success, EndTime, SessionID, GroupID, Project?, IsEmpty, Action, ErrorCode?

Teams​

TypeEventWritten whenFields
TECR01Team createdAn admin creates a team.Success, EndTime, SessionID, Name, Description, TeamID?, ErrorCode?
TEMN01Team renamedA team's name changes.Success, EndTime, SessionID, TeamID, Name, ErrorCode?
TEMD01Team description changedA team's description changes.Success, EndTime, SessionID, TeamID, Description, ErrorCode?
TEMS01Team settings changedA team's settings change.Success, EndTime, SessionID, TeamID, Settings, ErrorCode?
TESQ02Team quota setA team quota changes. One record per quota; a per-user quota is named perUser.<name>.Success, EndTime, SessionID, TeamID, QuotaName, QuotaValueJson, ErrorCode?
TEDQ01Team quota deletedA team quota is deleted. QuotaName is as in TESQ; storage, devices and all stand for every quota of that kind, v1.all for all version 1 quotas, and everything for all of them.Success, EndTime, SessionID, TeamID, QuotaName, ErrorCode?
TEST01Team dates setA team's start or end date changes.Success, EndTime, SessionID, TeamID, TeamStart?, TeamEnd?, ErrorCode?
TEDL01Team deletedA team is deleted.Success, EndTime, SessionID, TeamID, ErrorCode?
TMAU01Team member addedA user joins a team with TeamPerms. Adding a member who already is one records the permissions they have.Success, EndTime, SessionID, TeamID, UserID, TeamPerms, ErrorCode?
TMMP01Team member permissions changedA member's team permissions change.Success, EndTime, SessionID, TeamID, UserID, PermissionsInt, ErrorCode?
TMRU01Team member removedA user is removed from a team.Success, EndTime, SessionID, TeamID, UserID, ErrorCode?
TEGI01Team viewedA client reads a team's details.Success, EndTime, SessionID, TeamID, ErrorCode?
TELI01Teams listedA client lists teams. ListAll is true when an admin lists every team.Success, EndTime, SessionID, ListAll, ErrorCode?
TELM01Team members listedA client lists the members of one team, or of all teams.Success, EndTime, SessionID, TeamID, ErrorCode?
USLT01Teams of a user listedA client lists the teams of a user. UserID is empty when the caller lists their own.Success, EndTime, SessionID, UserID?, ErrorCode?

Projects, security levels and certifications​

TypeEventWritten whenFields
PRJC02Project createdAn admin creates a project, optionally under a parent project and with a security level.Success, EndTime, SessionID, Name, Description, SecLevelID?, ParentID?, Settings?, ProjectID?, ErrorCode?
PRJM02Project modifiedA project's name, description, security level or settings change. ClearSecLevel is true when the security level is removed.Success, EndTime, SessionID, ProjectID, Name?, Description?, SecLevelID?, Settings?, ErrorCode?, ClearSecLevel?
PRJD01Project deletedA project is deleted. NumDeleted counts the records removed.Success, EndTime, SessionID, ProjectID, NumDeleted, ErrorCode?
PRJR01Project viewedA client reads a project.Success, EndTime, SessionID, ProjectID, ErrorCode?
PRJL01Projects listedA client lists projects. All is true when every project is listed.Success, EndTime, SessionID, All, ErrorCode?
PRMC02Project member addedA user joins a project, with an optional Expiration. CanManage is true for a project manager. Adding a member who already is one records the values stored.Success, EndTime, SessionID, ProjectID, UserID, Expiration?, MembershipID?, ErrorCode?, CanManage
PRMM02Project membership modifiedA membership's expiration or manager flag changes. ClearExpiration is true when the expiration is removed.Success, EndTime, SessionID, ProjectID, UserID, Expiration?, ErrorCode?, ClearExpiration, CanManage?
PRMD01Project member removedA user is removed from a project.Success, EndTime, SessionID, ProjectID, UserID, NumDeleted, ErrorCode?
PRMR01Project membership viewedA client reads one user's membership in a project.Success, EndTime, SessionID, ProjectID, UserID, ErrorCode?
PRML01Project members listedA client lists a project's members. ShowExpired is true when expired memberships are included.Success, EndTime, SessionID, ProjectID, ShowExpired, ErrorCode?
PRMS01Project membership statistics viewedA client reads project membership statistics.Success, EndTime, SessionID, ErrorCode?
UP01Projects of a user listedA client lists the projects a user belongs to. UserID is empty when the caller lists their own.Success, EndTime, SessionID, UserID?, ShowExpired, ErrorCode?
PSLC01Security level createdAn admin creates a security level from a set of security requirements.Success, EndTime, SessionID, Name, Description, Requirements, SecLevelID, ErrorCode?
PSLM01Security level modifiedA security level's name, description or requirements change.Success, EndTime, SessionID, SecLevelID, Name?, Description?, Requirements?, ErrorCode?
PSLD01Security level deletedA security level is deleted.Success, EndTime, SessionID, SecLevelID, NumDeleted, ErrorCode?
PSLR01Security level viewedA client reads a security level.Success, EndTime, SessionID, SecLevelID, ErrorCode?
PSLL01Security levels listedA client lists the security levels.Success, EndTime, SessionID, ErrorCode?
PSRC01Security requirement createdAn admin creates a security requirement, such as a training a user must hold.Success, EndTime, SessionID, Name, Description, ClientData, RequirementID?, RequirementType?, RequirementData?, ErrorCode?
PSRM01Security requirement modifiedA security requirement changes.Success, EndTime, SessionID, RequirementID, Name?, Desc?, ClientData?, RequirementData?, ErrorCode?
PSRD01Security requirement deletedA security requirement is deleted.Success, EndTime, SessionID, RequirementID, NumDeleted, ErrorCode?
PSRR01Security requirement viewedA client reads a security requirement.Success, EndTime, SessionID, RequirementID, ErrorCode?
PSRL01Security requirements listedA client lists the security requirements.Success, EndTime, SessionID, ErrorCode?
PUCC01User certification createdA user is certified for a security requirement. GivenExpiration is the expiration asked for and ActualExpiration the one stored.Success, EndTime, SessionID, RequirementID, UserID, GivenExpiration?, CertificationID?, ActualExpiration?, ErrorCode?
PUCM01User certification modifiedA certification's expiration changes.Success, EndTime, SessionID, RequirementID, UserID, NewExpiration?, ErrorCode?
PUCD01User certification deletedA user's certification is removed.Success, EndTime, SessionID, RequirementID, UserID, NumDeleted, ErrorCode?
PUCR01User certification viewedA client reads one user's certification.Success, EndTime, SessionID, RequirementID, UserID, ErrorCode?
PUCL02User certifications listedA client lists a user's certifications. UserIDNull is true when the caller lists their own.Success, EndTime, SessionID, UserID?, ErrorCode?, UserIDNull

Vault files​

TypeEventWritten whenFields
FC03File createdA user creates a file: its name, size, type, chunk count, chunk size and project tag.Success, SessionID, FileName, FileSize, FileType, FileID?, FileChunks?, ChunkSize?, Project?, ErrorCode?
FW02File write startedA client writes to a file. Written once per transfer, for the first chunk a session writes to the file, whatever its number. Each chunk received has its own TW record.Success, SessionID, FileID, ChunkID, TransferID?, ErrorCode?
FR02File read startedA client reads a file. Written once per transfer, for the first chunk a session reads of the file, whatever its number. Each chunk sent has its own TR record.Success, SessionID, FileID, ChunkID, TransferID?, ErrorCode?
TW01Chunk receivedOne chunk is received from a client: the size allowed (MaxSize), the bytes received (BytesR) and the bytes written (BytesW). A stream that fails is recorded without sizes.Success, EndTime, ObjectID, TransferID, MaxSize, BytesR, BytesW
TR01Chunk sentOne chunk is sent to a client. ObjectID is the chunk and TransferID the one in the FR record. FileSize is the chunk's size on disk and BytesRead what was sent: less for a range, nothing when the client has the chunk cached. Success is true when the whole response was sent.Success, EndTime, ObjectID, TransferID, FileSize, BytesRead
FA03File key addedA file is shared: an encrypted copy of its key is added for a user or a group (KeyType, KeyOwner), with an optional expiry.Success, SessionID, FileID, KeyType, KeyOwner, Key, Expires?, Flags?, ErrorCode?
FG03File key retrievedA user fetches their encrypted copy of a file's key, the step that comes before decrypting the file. Intent states why, when the client gives a reason.Success, SessionID, FileID, KeyType?, KeyOwner?, EndTime, ErrorCode?, Intent?
FE02File key deletedA user's or a group's access to a file is removed.Success, SessionID, FileID, KeyType, KeyOwner, ErrorCode?
FF01File flags changedThe flags of a file, or of one of its keys (KeyType, KeyOwner), change, such as the recipient restrictions on viewing or downloading.Success, SessionID, FileID, KeyType?, KeyOwner?, Flags, ErrorCode?
KHO01Keys handed outEncrypted keys of files or drives are handed to another service in bulk, without a session. ObjectType is file or drive and Count the number of objects.Success, ObjectType, Count, Details?, ErrorCode?
FX01File owner changedA file's ownership moves from OldOwnerID to NewOwnerID.Success, EndTime, SessionID, FileID, NewOwnerID, OldOwnerID?, ErrorCode?
FP01File project tag changedA file's project tag changes. Action is set (set or clear), heighten (set, or move to a sub-project), or lessen (clear, or move to a parent project: a declassification).Success, EndTime, SessionID, FileID, ProjectID?, ProjectIDNull, Action, ErrorCode?
FZ01File resizedA file's size is changed to Size.Success, SessionID, FileID, Size, ErrorCode?
FD02File deletedA user deletes a file. ErrorCode is chunks-not-deleted when the file is deleted but some of its chunks stay on disk.Success, SessionID, FileID, ErrorCode?
FTR01File moved to trashThe file garbage collector, or the bulk removal of directory entries, moves a file that no directory links to into the trash. A failure is recorded too.Success, FileID, ErrorCode?
FRST01File restoredA file comes back from the trash. A failure is recorded too.Success, FileID, ErrorCode?
FDI02File deleted internallytiCrypt deletes a file without a user request, for example when the garbage collector purges the trash. A failure is recorded too, on every purge pass that fails.Success, FileID, ErrorCode?

Directories​

TypeEventWritten whenFields
DC03Directory createdA user creates a directory.Success, SessionID, ParentID, Name, DirID?, DirOwner?, Project?, ErrorCode?
DS02Root directory setA new user or group receives its root directory.Success, SessionID, UserID, DirID, ErrorCode?
DA02Directory entry addedA file or directory is linked into a directory (EntryType, EntryTarget).Success, SessionID, DirID, EntryName, EntryType, EntryTarget, ErrorCode?
DN02Directory entry renamedAn entry in a directory is renamed.Success, SessionID, DirID, EntryFrom, EntryTo, ErrorCode?
DR02Directory entry removedAn entry is removed from a directory.Success, SessionID, DirID, EntryName, ErrorCode?
BDER02Directory entries removed in bulkSeveral entries are removed from a directory at once. EntryNames lists the entries asked for (a JSON array) and DirEntries the files moved to trash. Immediate is true when the files were reclaimed at once, and DeleteParent when the directory itself is deleted too.Success, SessionID, ParentDirID, DirEntries?, DeleteParent?, ErrorCode?, EntryNames?, Immediate?
BDEM01Directory entries moved in bulkSeveral entries move from one directory to another. Entries is a JSON object of old entry name to new entry name.Success, SessionID, OldParentDirID, NewParentDirID, Entries, ErrorCode?
RDT01Recursive delete taskA task that deletes every file under a directory starts, finishes or is canceled (Action). Count is the number of files to delete at the start, and of files deleted at the end. Each file also has its own FD record.Success, SessionID, DirectoryID, TaskID?, Action, Count?, ErrorCode?
DD02Directory deletedA directory is deleted.Success, SessionID, DirID, ErrorCode?
DP01Directory project tag changedA directory's project tag is set or cleared (set), or lowered (lessen).Success, EndTime, SessionID, DirectoryID, ProjectID?, ProjectIDNull, Action, ErrorCode?

Forms​

TypeEventWritten whenFields
OC02Form createdA user creates a form.Success, SessionID, Name, Description, FormID, ErrorCode?
OM01Form modifiedA form's name or description changes.Success, EndTime, SessionID, FormID, Name?, Description?, ErrorCode?
OD02Form deletedA form is deleted.Success, SessionID, FormID, ErrorCode?
OI01Form viewedA client reads a form's details.Success, EndTime, SessionID, FormID, ErrorCode?
OL01Forms listedA client lists forms.Success, EndTime, SessionID, ErrorCode?
OR02Form entries readA user reads a form's entries.Success, SessionID, FormID, Transfer?, ErrorCode?
OK01Form attachment readA user reads an attachment of a form entry.Success, EndTime, SessionID, FormID, EntryNumber, AttachmentID, ErrorCode?
OA01Form token createdA user creates a submission token, which lets people submit entries without an account.Success, EndTime, SessionID, FormID, Name, TokenID?, ErrorCode?
OB01Form tokens listedA client lists a form's submission tokens.Success, EndTime, SessionID, FormID, ErrorCode?
OF01Form token deletedA submission token is deleted.Success, EndTime, SessionID, FormID, TokenID, ErrorCode?
OE04Form entry submitted with a tokenSomeone submits an entry with a submission token. TokenID is the token's ID, never the token, FormID the form, and SourceIP the sender's address. NumAttachments counts the attachments.Success, EndTime, TokenID?, NumAttachments, ErrorCode?, FormID?, SourceIP?
OH02Form key addedAccess to a form is granted: a key is added for a user or a group.Success, EndTime, SessionID, FormID, KeyType, KeyOwner, ErrorCode?, Expires?
OG01Form key retrievedA user fetches their key to a form.Success, EndTime, SessionID, FormID, KeyType?, KeyOwner?, ErrorCode?
OJ01Form key deletedAccess to a form is removed.Success, EndTime, SessionID, FormID, KeyType, KeyOwner, ErrorCode?

Drives​

TypeEventWritten whenFields
RC06Drive createdA drive is created, created and attached in one step, imported, or made from an upload: capacity, format, owner, team, project, realm, and whether it is excluded from backup. A failed creation is recorded too.Success, SessionID, Capacity, Format, Name, DriveID?, Team?, End, ErrorCode?, Project?, ReqRealm?, Realm?, NoBackup?, Settings?, Owner?
DM02Drive modifiedA drive's name, team, backup exclusion or settings change.Success, EndTime, SessionID, DriveID, Name?, NoBackup?, Settings?, ErrorCode?, Team?
RA03Drive key addedA user is given access to a drive. AllowWrite is true for read-write access.Success, SessionID, DriveID, UserID, Key, AllowWrite, End, ErrorCode?
RG02Drive key retrievedA user fetches their key to a drive.Success, SessionID, DriveID, UserID?, End, ErrorCode?
RR02Drive key removedA user's access to a drive is removed.Success, SessionID, DriveID, UserID, End, ErrorCode?
RT02Drive attachedA drive is attached to a VM, read-only or read-write.Success, SessionID, VMID, DriveID, ReadOnly, Device?, End, ErrorCode?
RE02Drive detachedA drive is detached from a VM.Success, SessionID, VMID, DriveID, End, ErrorCode?
REI01Drive detached by the serverThe server detaches a drive from a VM that is no longer running (Reason).Success, DriveID, VMID, Reason, ErrorCode?
RMV01Drive movedA drive moves to another pool: requested, started, finished or aborted (Action), with SourcePool, DestPool and TransferID.Success, SessionID?, Action, DriveID?, TransferID?, SourcePool?, DestPool?, ErrorCode?
RX01Drive owner changedA drive's ownership moves from OldOwnerID to NewOwnerID.Success, EndTime, SessionID, DriveID, NewOwnerID, OldOwnerID?, ErrorCode?
RP01Drive project tag changedA drive's project tag is set or cleared (set), or lowered (lessen). IsEmpty is true when the drive holds no data.Success, EndTime, SessionID, DriveID, Project?, IsEmpty, Action, ErrorCode?
RD02Drive deletedA drive is deleted.Success, SessionID, DriveID, End, ErrorCode?
RDI01Drive deleted by the serverThe server deletes a drive itself. Reason is no-keys.Success, DriveID, Owner?, Reason, ErrorCode?

Virtual machines and VM configurations​

TypeEventWritten whenFields
VC03VM createdA user starts a VM from a brick.Success, SessionID, Brick, Name, VMID?, Team?, End, ErrorCode?, Project?
VR03VM registeredA VM's controller registers with the backend after the VM boots: its address, public key and protocol version.Success, SourceIP, VMID, VMIP, PubKey, ProtocolVer, End, Name, ErrorCode?
VAUA02VM users addedUsers are authorized on a VM. AsManager is true when they are added as managers.Success, EndTime, SessionID, VMID, UserIDs, ErrorCode?, AsManager
VAUR01VM users removedUsers lose access to a VM.Success, EndTime, SessionID, VMID, UserIDs, ErrorCode?
VCON02VM console connectionA client is given, or refused, a VM's console (ConnectionType vnc) or control channel (control), with Action open; when the channel ends, a record with Action close has the data sent each way (binary messages in bytes, text messages in characters).Success, SessionID, VMID, ConnectionType, SourceIP?, ErrorCode?, Action?, BytesToVM?, BytesFromVM?
VMMS03Message sent to VMA user sends a message to a VM.Success, VMID, MessageType, ErrorCode?, SessionID?, MessageID?
VMMR02Message read by VMA VM reads its message.Success, VMID, MessageType, ErrorCode?
VMMD03Message to VM deletedA user deletes a message sent to a VM.Success, MessageID, ErrorCode?, SessionID?
VMRN01VM renamedA VM is renamed from OldName to NewName.Success, SessionID, VMID, NewName, OldName?, ErrorCode?
VMPC01VM project changedA VM's project changes from OldProject to Project.Success, SessionID, VMID, Project?, OldProject?, ErrorCode?
VS02VM shut downA user shuts a VM down.Success, SessionID, VMID, UserID, ErrorCode?
VD03VM deletedA VM is terminated. ForceDetach is true when its drives are detached by force.Success, SessionID, VMID, ForceDetach, UserID, ErrorCode?
VSAH01All VMs on a host shut downAn admin shuts down every VM on a host.Success, SessionID, HostID, ErrorCode?
VSI01VM stopped by the serverThe server finds a VM no longer running, or stops it itself. Reason: domain-inactive or domain-missing (Libvirt), powered-off or missing (Nutanix), registration-timeout (the VM did not register in time and was destroyed), rogue-domain (a check found a VM running that the server holds as stopped, and destroyed it), or service-start (the VM was still starting when the VM service started). Where the server destroys the VM, Success says whether it was destroyed.Success, VMID, HostID?, RealmID?, Reason, ErrorCode?
VARC01VM access rule changedA VM access rule is created, updated or deleted, or a deleted VM configuration is taken out of a rule (Action config-removed, no session).Success, SessionID?, Action, RuleID?, Name?, Configs?, Server?, Protocol?, Ports?, MaxTimeoutMinutes?, ErrorCode?
VGC01VM gate changedA gate of an explicit access rule opens, closes or expires, or changes with its rule or VM configuration (Action). Count is the number of gate openings removed.Success, SessionID?, Action, RuleID?, ConfigID?, Minutes?, Expires?, Count?, ErrorCode?
VMSA01VM service actionAn action of the VM service that has no record of its own. ObjectType and Action name it, for example hardware-profile create, iso attach, service-vm start, licensing-server update, nfs-share delete, or an image clone; Details is a JSON object with what was asked for. Actions of the server itself have no session: a host disabled, failing to initialise or losing its connection (at most once per host in five minutes), and a VM account made on first use.Success, SessionID?, ObjectType, Action, ObjectID?, RealmID?, Details?, ErrorCode?
VCCR02VM configuration createdA user creates a VM configuration: owners, brick, team, project and drives.Success, SessionID, ConfigID?, Owners, Description, Brick, Team?, Project?, ReadWriteDrives, ReadOnlyDrives, ErrorCode?
VCUP02VM configuration updatedA VM configuration changes. Cleared lists the fields the update emptied, of project, host and MAC address.Success, SessionID, ConfigID, Owners, Description, Brick, Team?, Project?, ReadWriteDrives, ReadOnlyDrives, ErrorCode?, Cleared?
VCRE01VM configuration viewedA client reads a VM configuration.Success, SessionID, ConfigID, ErrorCode?
VCLI01VM configurations listedA client lists VM configurations.Success, SessionID, ErrorCode?
VCRU02VM configuration runA VM is started from a configuration. VMID is the VM started.Success, SessionID, ConfigID, VMID?, ErrorCode?
VCKI02VM configuration stoppedThe VM of a configuration is stopped. Forced is true for a forced stop.Success, SessionID, ConfigID, Forced, ErrorCode?
VCDE01VM configuration deletedA VM configuration is deleted.Success, SessionID, ConfigID, ErrorCode?
VCVE01VM configuration verifiedWhen the VM service starts, each VM configuration that is not yet verified gets one record and is then marked verified. In practice, every configuration gets one on the first start after an upgrade, and each new one on the next start after it is created.Success, ConfigID, Owners, Description, Brick, Team?, Project?, ReadWriteDrives, ReadOnlyDrives, ErrorCode?
VMAM01VM account setA user's Slurm VM account name is set.Success, EndTime, SessionID, UserID, AccountName, ErrorCode?
VMAR01VM account viewedA client reads a VM account. UserIDNull is true when the caller reads their own.Success, EndTime, SessionID, UserID?, UserIDNull, ErrorCode?
VMAL01VM accounts listedA client lists the VM accounts.Success, EndTime, SessionID, ErrorCode?
VMAD01VM account deletedA user's VM account is deleted.Success, EndTime, SessionID, UserID, ErrorCode?

Realms, hosts, bricks and images​

TypeEventWritten whenFields
BRCR02Brick createdAn admin creates a brick: vCPUs, memory, setup, realm, image, allowed teams and users, external servers, pool and volume. A brick made from an upload has a record too.Success, SessionID, BrickName, BrickDescription, BrickVCores, BrickMaxMemBytes, Setup, RealmID, TeamWhitelist?, UserWhitelist?, ExternalServers, RealmType?, PoolID?, VolumeID, BrickID?, ErrorCode?, ImageID?
BRUD02Brick updatedA brick changes, including its image.Success, SessionID, BrickID, BrickName?, BrickDescription?, BrickVCores?, BrickMaxMemBytes?, Setup?, RealmID?, TeamWhitelist?, UserWhitelist?, ExternalServers, ErrorCode?, ImageID?
BRRE01Brick viewedA client reads a brick.Success, SessionID, BrickID, ErrorCode?
BRLI01Bricks listedA client lists bricks.Success, SessionID, ErrorCode?
BRDE02Brick deletedA brick is deleted (BrickID).Success, SessionID, BrickID, ErrorCode?
BSBI01Brick image set in bulkOne image is set on several bricks at once.Success, SessionID, BrickIDs, ImageID, ErrorCode?
IC02Image createdA VM image is created. SessionID is empty for an image made from an upload.Success, ImageID, Name?, Description?, Size?, ImageType?, Sha256?, Signature?, ErrorCode?, SessionID?, RealmID?
IU02Image updatedA VM image's details change. Cloning an image, or aborting a clone, is a VMSA record.Success, ImageID, Name?, Description?, Size?, ImageType?, Sha256?, Signature?, ErrorCode?, SessionID?, RealmID?
ID02Image deletedA VM image is deleted.Success, ImageID, ErrorCode?, SessionID?, RealmID?
LUC01Large upload createdA user starts a large upload, such as an image or an ISO (UploadType, FileSize, Hash).Success, SessionID, FileSize, Hash, RealmID, UploadType, ErrorCode?
LUP02Large upload processedThe backend turns a finished large upload into a drive, brick, image or ISO (ObjectType, ObjectID). UploadedBy is the user who started the upload.Success, Hash, ErrorCode?, UploadedBy?, ObjectType?, ObjectID?
LHA03Libvirt host addedAn admin adds a Libvirt host to a realm. HostID is the new host, and Details holds its pools and, as JSON arrays, its MAC address list and whitelist.Success, SessionID, RealmID, Name, Uri, NatAddress?, NatPort?, ProfileID, ErrorCode?, HostID?, Details?
LHU02Libvirt host updatedA host's name, URI, state, NAT address, profile, pools, MAC address list or whitelist changes.Success, SessionID, RealmID, HostID, Name, Uri, StateAsString, NatAddress?, NatPort?, ProfileID, ErrorCode?, Details?
LHG01Libvirt host viewedA client reads a host.Success, SessionID, RealmID, HostID, ErrorCode?
LHLR01Libvirt hosts listedA client lists a realm's hosts.Success, SessionID, RealmID, ErrorCode?
LHD01Libvirt host deletedA host is removed from a realm. ForceCleanup is true for a forced cleanup.Success, SessionID, RealmID, HostID, ForceCleanup, ErrorCode?
RCR01Host reservation createdHosts are reserved in a Libvirt realm (NumHosts).Success, SessionID, RealmID, NumHosts, ErrorCode?
RRE01Host reservation returnedA host reservation is returned.Success, SessionID, RealmID, ReservationID, ErrorCode?
VMRR02Realm restartedAn admin restarts a realm.Success, SessionID, RealmID, ErrorCode?

Proxy and firewall​

TypeEventWritten whenFields
VP02VM connection registeredA user registers a connection to a VM port through the tiCrypt proxy (SourceIP, DestIP, DestPort).Success, SessionID, SourceIP, VMID, DestIP?, DestPort?, Expires?, End, ErrorCode?
VPC01VM proxy connectionA connection through the TCP proxy to a VM is accepted, rejected (no registration for the source address, or an expired one), fails to connect, or closes with the bytes sent each way (Action). The registration is the VP record with the same SourceIP, DestIP and DestPort. A close is missing if the proxy service stops first.Success, Action, SourceIP, Port, DestIP?, DestPort?, VMID?, BytesToVM?, BytesFromVM?, ErrorCode?
NFT01Firewall set sentThe proxy service sends a firewall set to the nft daemon: ti_alist and ti_alist_vm when their content changes, and ti_proxy for every addition. Count is the number of entries sent.Success, SetName, Action, Count, ErrorCode?

Slurm​

TypeEventWritten whenFields
BTA01Slurm actionA Slurm action through tiCrypt (Action): raw-command, job-cancel, job-stop, job-stop-many, partition-create, partition-update, partition-delete, account-add, account-remove, job-submit, job-update, job-complete, job-complete-many, job-requeue or job-requeue-many. ObjectID names the job, partition or account, and Details the rest. A submitted job's script is not recorded.Success, SessionID?, Action, ObjectID?, Details?, ErrorCode?

Escrow​

TypeEventWritten whenFields
ECSU02Escrow certificate submittedAn escrow user's signed request reaches the backend: certificate fingerprint, request type and time, key and signature. One record per request.Success, CertFingerprint, RequestType, RequestTimestamp, KeyID, SignatureAlgo, Signature, SourceAddress?, ErrorCode?
EUNE01Escrow user addedAn escrow user is created.Success, AuthType, AuthID, SpecifiedID, Email, Name, Permissions, DisplayName, Department, Position, UserID, ErrorCode?
EUDE01Escrow user deletedAn escrow user is deleted.Success, AuthType, AuthID, UserID, ErrorCode?
EUGI01Escrow user viewedA client reads an escrow user.Success, AuthType, AuthID, UserID, ErrorCode?
EUGS01Own escrow user viewedAn escrow user reads their own record.Success, AuthType, AuthID, UserID?, ErrorCode?
EULA01Escrow users listedA client lists the escrow users.Success, AuthType, AuthID, ErrorCode?
EPNE01Escrow public key addedA public key is added for an escrow user, signed by SignerID.Success, AuthType, AuthID, EscrowUserID, KeyID, SignAlgo, SignerID, ErrorCode?
EPGI01Escrow public key viewedA client reads an escrow public key.Success, AuthType, AuthID, KeyID, ErrorCode?
EPGU01Escrow public keys of a user listedA client lists an escrow user's public keys.Success, AuthType, AuthID, EscrowUserID, ErrorCode?
EPGA01All escrow public keys listedA client lists every escrow public key.Success, AuthType, AuthID, ErrorCode?
EGNE01Escrow group createdAn escrow group is created with a set of keys.Success, AuthType, AuthID, GroupName, Keys, GroupID, ErrorCode?
EGNC01Escrow group renamedAn escrow group's name changes.Success, AuthType, AuthID, GroupID, NewName, ErrorCode?
EGAK01Key added to escrow groupA key joins an escrow group.Success, AuthType, AuthID, GroupID, KeyID, ErrorCode?
EGDK01Key removed from escrow groupA key leaves an escrow group.Success, AuthType, AuthID, GroupID, KeyID, ErrorCode?
EGGI01Escrow group viewedA client reads an escrow group.Success, AuthType, AuthID, GroupID, ErrorCode?
EGLA01Escrow groups listedA client lists the escrow groups. Rich is true for the detailed list.Success, AuthType, AuthID, Rich, ErrorCode?
EGLM01Escrow group metadata listedA client lists the names and IDs of the escrow groups.Success, Source?, ErrorCode?
EKNE01Key escrowedA user's key is placed in escrow, split into NumKeys parts.Success, AuthType, AuthID, KeyID, Cipher, NumKeys, UserID?, EscrowID, ErrorCode?
ERSC01Recovery key set createdEscrowing a key to a group creates the set of recovery key parts for that group.AuthType, AuthID, EscrowID, KeyIndex, GroupID
ERKA01Recovery key part addedA recovery key part is added to an escrowed key.Success, AuthType, AuthID, EscrowID, KeyIndex, UserKeyID, Cipher, RecoveryKeyID?, ErrorCode?
ERKG01Recovery key part retrievedAn escrow user fetches a recovery key part, a step in key recovery.Success, AuthType, AuthID, EscrowID, KeyIndex, RecoveryKeyID, ErrorCode?
ERSG01Recovery key set retrievedAn escrow user fetches a set of recovery key parts.Success, AuthType, AuthID, EscrowID, KeyIndex?, ErrorCode?
ERKD01Recovery key part deletedA recovery key part is deleted, including each part held by an escrow user who is deleted.Success, AuthType, AuthID, KeyID, ErrorCode?
ESRK02Recovery key part removedA recovery key part held for a key that is no longer in the escrow group is removed. GroupID is the group, KeySetID the key set and EscrowID the escrowed key.Success, KeyID, GroupID, ErrorCode?, KeySetID?, EscrowID?
EKGI01Escrowed key viewedA client reads an escrowed key.Success, AuthType, AuthID, EscrowID, ErrorCode?
EKLU01Escrowed keys of a user listedA client lists a user's escrowed keys.Success, AuthType, AuthID, UserID, ErrorCode?
ELUK01Users with escrowed keys listedA client lists the users who have escrowed keys.Success, AuthType, AuthID, ErrorCode?
EKCD01Escrowed key deletedAn escrowed key and its recovery parts are deleted, including the keys deleted because a user is set never to be escrowed or is deleted.Success, AuthType, AuthID, EscrowID, ErrorCode?
ERCL01Escrow certificates listedA client lists the escrow certificates.Success, AuthType, AuthID, ErrorCode?
SUIS01User salt and IV setAn escrow user resets a user's server-side credentials (salt and IV), a step in key recovery.Success, AuthType, AuthID, UserID?, ErrorCode?

System settings, messages and services​

TypeEventWritten whenFields
GSEW02Global setting writtenAn admin writes a system setting (SettingGroup, SettingName, Value).Success, SessionID, SettingGroup, SettingName, Value, ErrorCode?
GSED02Global setting deletedA system setting is deleted.Success, SessionID, SettingGroup, SettingName, ErrorCode?
GIWR02Global information writtenAn admin writes a global information entry (Name, Value).Success, SessionID, Name, Value, ErrorCode?
GIDE02Global information deletedA global information entry is deleted.Success, SessionID, Name, ErrorCode?
EXWR02External server writtenAn admin adds or changes an external server entry (Server, LocalServer, Port).Success, SessionID, Name, Description, Server, LocalServer, Port, ErrorCode?
EXDE02External server deletedAn external server entry is deleted.Success, SessionID, Name, ErrorCode?
ESFC01External SFTP server createdAn admin adds an external SFTP server and the teams, users and projects allowed to reach it.Success, SessionID, ServerID, Host, Port, TeamsAllowed, UsersAllowed, ProjectsAllowed, ErrorCode?
ESFU01External SFTP server updatedAn external SFTP server's host, port or allowed teams, users or projects change.Success, SessionID, ServerID, Host?, Port?, TeamsAllowed?, UsersAllowed?, ProjectsAllowed?, ErrorCode?
ESFD01External SFTP server deletedAn external SFTP server is deleted.Success, SessionID, ServerID, ErrorCode?
ESA01External SFTP access checkedtiCrypt checks whether a user may reach an external SFTP server. CanAccess is the answer.Success, SessionID, UserID, Host, Port, CanAccess, ErrorCode?
MC01Inbox createdA user creates an inbox: its owner, free space, directory and expiry.Success, End, SessionID, MailboxID, Owner, FreeBytes, DirectoryID, Settings?, Message?, Expires?, ErrorCode?
MD02Inbox deletedAn inbox is deleted.Success, EndTime, MailboxID, ErrorCode?, SessionID?
MSWR02Message writtenA user posts a message on a file, group, drive or user (ContextType, ContextID).Success, SessionID, ContextType, ContextID, ErrorCode?
MSUP02Message updatedA message is edited.Success, SessionID, MessageID, ErrorCode?
MSDL02Message deletedA message is deleted.Success, SessionID, MessageID, ErrorCode?
NC01Notification createdtiCrypt stores a notification for a user (RecipientID, RecipientType, Body).Success, SessionID, RecipientID, RecipientType, Body, ErrorCode?
CFR01Configuration file readA service's configuration file is read through the API (Service).Success, SessionID, Service, ErrorCode?
LGR01Logs readA service's journal, or the secure log (Service secure-log), is read through the API.Success, SessionID, Service, Details?, ErrorCode?
SER02Service restartedAn admin restarts a backend service (Service). The service restarts 3 seconds later, after it has sent its records.Success, SessionID, Service, ErrorCode?
SVC01Service state changedA service joins or leaves the system, as the auth service sees it (Action): register, register-refused (no logging service is ready), unregister, timed-out (no ping), logging-up or logging-down. With no logging service left, the last two can only be written once one is back.Success, Service, Action, Address?, ErrorCode?
LGE01Logger eventAn event of the logging service itself (Action): verified (the log passed verification at start), rotate (the last record of a log file), reload-config or driver-stopped.Success, Action, Details?, ErrorCode?
MEXP01Database exportAn admin exports the database documents to Directory.Success, SessionID, Directory, ErrorCode?

Scheduled maintenance​

TypeEventWritten whenFields
MNCA02Old accounts lockedThe account locker runs. It writes two records per run: one for the accounts locked because their last login is older than BeforeDate, and one for the accounts locked because their expiration date passed. AccountsCleared is the count.Success, BeforeDate, AccountsCleared, ErrorCode?
MNRU01Maintenance runOne pass of a maintenance job (Task): file-gc-trash, file-gc-purge, snapshot-gc-trash or snapshot-gc-delete. DryRun says whether it only reported, and Count is the number of objects handled. A purge with ErrorCode timeout did not answer in time and may still be running.Success, Task, DryRun, Count, Details?, ErrorCode?
MNCK02Old escrowed keys clearedEscrowed keys older than BeforeDate are removed (KeysCleared).Success, BeforeDate, KeysCleared, ErrorCode?
MNDCK02Escrowed keys of deleted users clearedThe escrowed keys of deleted users are removed.Success, UserEscrowedKeys, KeysCleared, ErrorCode?
ODC02Old drives clearedThe drive garbage collector removes drives (DrivesCleared).Success, DrivesCleared, ErrorCode?