Audit Event Reference
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.
| Alert | ID | Severity | Raised when | Source |
|---|---|---|---|---|
| "No activity" | NoActivity | Critical | No 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" | HashAlert | High | A 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" | FileDeclassified | Medium | A request lowers a file's project tag: an FP record with Action lessen, whether the request succeeded or not. | FP |
| "User account locked" | UserLocked | Medium | Any UL record. The alert carries the reason and the source address. | UL |
| "Geolocation discrepancy" | IPAlert | Low | Two 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" | DeactivatedLogin | Low | A login challenge fails with the error usr-not-active: the account is deactivated or locked. | SC |
| "User added" | UserAdded | Info | Any UA record, including failed attempts. | UA |
| "Group added" | GroupAdded | Info | Any GC record, including failed attempts. | GC |
| "User's account state changed" | StateChanged | Info | A UM record sets a state that differs from the last state tiCrypt Audit read for that user. | UM |
| "User's role changed" | RoleChanged | Info | A 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" | PermissionsChanged | Info | A 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 |
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.
| Alert | ID | Source records |
|---|---|---|
| "File added" | FileAdded | FC |
| "File deleted" | FileDeleted | FD |
| "File key accessed" | FileKeyAccessed | FG |
| "Drive added" | DriveAdded | RC |
| "Drive deleted" | DriveDeleted | RD |
| "User deleted" | UserDeleted | UD |
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.
IncidentType | Written when | ExtraInfo |
|---|---|---|
unsafe-html-request | A request contains unsafe HTML. | JSON with the source address, method and path |
unsafe-html-response | The 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-refused | A 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 |
SecureLogVerification | The 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 |
SecureLogRecreated | The 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.
| Position | Content |
|---|---|
| 1 | The type: the record's code and a two-digit version, for example FC03. This is the Type column of the Audit Logs table. |
| 2 | The 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 on | The 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:truewhen the request succeeded,falsewhen it failed.- References to secrets: the
SessionID,SubSessionID,TokenID,Token,MfaTokensandMFATokensfields 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 escrowAuthIDof 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 asusr-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,OwnersorUserIDs, separate them with spaces. ADetailsfield 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.
| Type | Record | Fields |
|---|---|---|
XX01 | Incident: a security alert raised by tiCrypt Audit, or an incident the backend wrote | IncidentType (the alert ID or the incident type), ExtraInfo (the details as JSON), SessionID, UserID |
XZ01 | Failed line: a line tiCrypt Audit could not read | Raw, 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
| Type | Event | Written when | Fields |
|---|---|---|---|
SR03 | Session requested | A 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? |
SC05 | Session challenge | A 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? |
MFTC02 | MFA token created | An MFA provider's signed certificate is exchanged for a multi-factor token during login. | Success, Source?, Authorizer, Algorithm, Email?, CertTimestamp?, TokenID?, UserID?, ErrorCode? |
SSCR02 | Server-side credentials retrieved | A 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? |
SSCS01 | Server-side credentials set | A user stores new server-side credentials, for example after changing the password on their key. | EndTime, Success, SessionID, ErrorCode? |
SL02 | Session lookup | A client asks for the details of its session, or renews it (Refresh is true). | Success, SessionID, UserID?, MachineID?, Created?, Expires?, Refresh?, ErrorCode? |
SS05 | Sub-session created | A 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? |
SDG01 | Session downgraded | A session drops to a lower Role and a narrower set of Actions for a stated Purpose. | Success, SessionID, IP, Actions, Role, Purpose, ErrorCode? |
ST01 | Temporary session | A 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? |
MSC01 | Inbox session created | A 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? |
NCO01 | Notification channel opened | A 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? |
SD01 | Session deleted | A user logs out. | Success, IP, SessionID |
SI02 | Session invalidated | tiCrypt 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? |
TOSA03 | Terms of service accepted | A user accepts the terms of service. | Success, UserID, ErrorCode?, SessionID? |
Users and accounts
| Type | Event | Written when | Fields |
|---|---|---|---|
UA02 | User added | A 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? |
UM04 | User modified | A 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? |
UE01 | Login ID changed | A Super-admin changes a user's login ID. ChangedBy is the Super-admin. | Success, SessionID, ChangedBy?, UserID, OldEmail?, NewEmail, ErrorCode? |
UL04 | User account locked | tiCrypt 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? |
UTD01 | Temporary deactivation changed | A 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? |
UD03 | User deleted | An admin deletes a user account. The deleted account keeps its login ID. | Success, SessionID, UserID, ErrorCode?, Email? |
UDRN01 | Deleted users renewed | An 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? |
UR01 | User restored | An admin restores a deleted account. One record per account. | Success, SessionID, UserID, Email?, ErrorCode? |
UDPU01 | Deleted users purged | Deleted 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? |
UPG01 | User purged | A 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? |
UMOC01 | Managed objects changed | The 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? |
UQC01 | User quota changed | A user's quota is set or deleted (Action: set, set-all, delete, delete-all). | Success, SessionID, UserID, Action, QuotaName?, QuotaValueJson?, ErrorCode? |
UAM02 | User avatar changed | A 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? |
USAAD02 | Development Super-admin added | A development build creates its automatic Super-admin. A production build refuses the request and records it with Success false. | Success, ErrorCode? |
DMCR02 | Device manager created | A Super-admin registers a device manager. | Success, DeviceManagerID?, ErrorCode?, SessionID? |
DMUD02 | Device manager devices updated | A device manager's list of devices changes. | Success, DeviceManagerID?, ErrorCode?, SessionID? |
FSWDM02 | File shared with device manager | A user shares a file with a device manager, which is then notified. | Success, SessionID, FileID, DeviceManagerID, ErrorCode? |
API tokens
| Type | Event | Written when | Fields |
|---|---|---|---|
ATCR01 | API token created | An 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? |
ATDE01 | API token deleted | An API token is deleted. | Success, SessionID, TokenID, ErrorCode? |
ATUS01 | API token used | A 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
| Type | Event | Written when | Fields |
|---|---|---|---|
GC02 | Group created | A user creates a group. | Success, SessionID, Name, OwnerKey, GroupID?, Owner?, Project?, ErrorCode? |
GM02 | Group renamed | A group's name changes. | Success, SessionID, GroupID, Name, ErrorCode? |
GSM01 | Group settings changed | A group's settings change. | Success, SessionID, GroupID, Settings, ErrorCode? |
GO03 | Group owner changed | A group's ownership moves from OldOwnerID to UserID. | Success, SessionID, GroupID, UserID, ErrorCode?, OldOwnerID? |
GD02 | Group deleted | A group is deleted. | Success, SessionID, GroupID, ErrorCode? |
GA02 | Group member added | A user joins a group with Permissions. | Success, SessionID, GroupID, UserID, Permissions, ErrorCode? |
GB02 | Group member modified | A member's group permissions change. | Success, SessionID, GroupID, UserID, Permissions, ErrorCode? |
GR02 | Group member removed | A user leaves or is removed from a group. | Success, SessionID, GroupID, UserID, ErrorCode? |
GK01 | Group key retrieved | A user fetches their encrypted copy of a group's key. | Success, SessionID, GroupID, ErrorCode? |
GP01 | Group project tag changed | A group's project tag is set or cleared (Action set), or lowered (Action lessen). | Success, EndTime, SessionID, GroupID, Project?, IsEmpty, Action, ErrorCode? |
Teams
| Type | Event | Written when | Fields |
|---|---|---|---|
TECR01 | Team created | An admin creates a team. | Success, EndTime, SessionID, Name, Description, TeamID?, ErrorCode? |
TEMN01 | Team renamed | A team's name changes. | Success, EndTime, SessionID, TeamID, Name, ErrorCode? |
TEMD01 | Team description changed | A team's description changes. | Success, EndTime, SessionID, TeamID, Description, ErrorCode? |
TEMS01 | Team settings changed | A team's settings change. | Success, EndTime, SessionID, TeamID, Settings, ErrorCode? |
TESQ02 | Team quota set | A team quota changes. One record per quota; a per-user quota is named perUser.<name>. | Success, EndTime, SessionID, TeamID, QuotaName, QuotaValueJson, ErrorCode? |
TEDQ01 | Team quota deleted | A 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? |
TEST01 | Team dates set | A team's start or end date changes. | Success, EndTime, SessionID, TeamID, TeamStart?, TeamEnd?, ErrorCode? |
TEDL01 | Team deleted | A team is deleted. | Success, EndTime, SessionID, TeamID, ErrorCode? |
TMAU01 | Team member added | A 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? |
TMMP01 | Team member permissions changed | A member's team permissions change. | Success, EndTime, SessionID, TeamID, UserID, PermissionsInt, ErrorCode? |
TMRU01 | Team member removed | A user is removed from a team. | Success, EndTime, SessionID, TeamID, UserID, ErrorCode? |
TEGI01 | Team viewed | A client reads a team's details. | Success, EndTime, SessionID, TeamID, ErrorCode? |
TELI01 | Teams listed | A client lists teams. ListAll is true when an admin lists every team. | Success, EndTime, SessionID, ListAll, ErrorCode? |
TELM01 | Team members listed | A client lists the members of one team, or of all teams. | Success, EndTime, SessionID, TeamID, ErrorCode? |
USLT01 | Teams of a user listed | A 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
| Type | Event | Written when | Fields |
|---|---|---|---|
PRJC02 | Project created | An admin creates a project, optionally under a parent project and with a security level. | Success, EndTime, SessionID, Name, Description, SecLevelID?, ParentID?, Settings?, ProjectID?, ErrorCode? |
PRJM02 | Project modified | A 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? |
PRJD01 | Project deleted | A project is deleted. NumDeleted counts the records removed. | Success, EndTime, SessionID, ProjectID, NumDeleted, ErrorCode? |
PRJR01 | Project viewed | A client reads a project. | Success, EndTime, SessionID, ProjectID, ErrorCode? |
PRJL01 | Projects listed | A client lists projects. All is true when every project is listed. | Success, EndTime, SessionID, All, ErrorCode? |
PRMC02 | Project member added | A 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 |
PRMM02 | Project membership modified | A membership's expiration or manager flag changes. ClearExpiration is true when the expiration is removed. | Success, EndTime, SessionID, ProjectID, UserID, Expiration?, ErrorCode?, ClearExpiration, CanManage? |
PRMD01 | Project member removed | A user is removed from a project. | Success, EndTime, SessionID, ProjectID, UserID, NumDeleted, ErrorCode? |
PRMR01 | Project membership viewed | A client reads one user's membership in a project. | Success, EndTime, SessionID, ProjectID, UserID, ErrorCode? |
PRML01 | Project members listed | A client lists a project's members. ShowExpired is true when expired memberships are included. | Success, EndTime, SessionID, ProjectID, ShowExpired, ErrorCode? |
PRMS01 | Project membership statistics viewed | A client reads project membership statistics. | Success, EndTime, SessionID, ErrorCode? |
UP01 | Projects of a user listed | A client lists the projects a user belongs to. UserID is empty when the caller lists their own. | Success, EndTime, SessionID, UserID?, ShowExpired, ErrorCode? |
PSLC01 | Security level created | An admin creates a security level from a set of security requirements. | Success, EndTime, SessionID, Name, Description, Requirements, SecLevelID, ErrorCode? |
PSLM01 | Security level modified | A security level's name, description or requirements change. | Success, EndTime, SessionID, SecLevelID, Name?, Description?, Requirements?, ErrorCode? |
PSLD01 | Security level deleted | A security level is deleted. | Success, EndTime, SessionID, SecLevelID, NumDeleted, ErrorCode? |
PSLR01 | Security level viewed | A client reads a security level. | Success, EndTime, SessionID, SecLevelID, ErrorCode? |
PSLL01 | Security levels listed | A client lists the security levels. | Success, EndTime, SessionID, ErrorCode? |
PSRC01 | Security requirement created | An admin creates a security requirement, such as a training a user must hold. | Success, EndTime, SessionID, Name, Description, ClientData, RequirementID?, RequirementType?, RequirementData?, ErrorCode? |
PSRM01 | Security requirement modified | A security requirement changes. | Success, EndTime, SessionID, RequirementID, Name?, Desc?, ClientData?, RequirementData?, ErrorCode? |
PSRD01 | Security requirement deleted | A security requirement is deleted. | Success, EndTime, SessionID, RequirementID, NumDeleted, ErrorCode? |
PSRR01 | Security requirement viewed | A client reads a security requirement. | Success, EndTime, SessionID, RequirementID, ErrorCode? |
PSRL01 | Security requirements listed | A client lists the security requirements. | Success, EndTime, SessionID, ErrorCode? |
PUCC01 | User certification created | A 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? |
PUCM01 | User certification modified | A certification's expiration changes. | Success, EndTime, SessionID, RequirementID, UserID, NewExpiration?, ErrorCode? |
PUCD01 | User certification deleted | A user's certification is removed. | Success, EndTime, SessionID, RequirementID, UserID, NumDeleted, ErrorCode? |
PUCR01 | User certification viewed | A client reads one user's certification. | Success, EndTime, SessionID, RequirementID, UserID, ErrorCode? |
PUCL02 | User certifications listed | A client lists a user's certifications. UserIDNull is true when the caller lists their own. | Success, EndTime, SessionID, UserID?, ErrorCode?, UserIDNull |
Vault files
| Type | Event | Written when | Fields |
|---|---|---|---|
FC03 | File created | A 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? |
FW02 | File write started | A 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? |
FR02 | File read started | A 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? |
TW01 | Chunk received | One 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 |
TR01 | Chunk sent | One 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 |
FA03 | File key added | A 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? |
FG03 | File key retrieved | A 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? |
FE02 | File key deleted | A user's or a group's access to a file is removed. | Success, SessionID, FileID, KeyType, KeyOwner, ErrorCode? |
FF01 | File flags changed | The 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? |
KHO01 | Keys handed out | Encrypted 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? |
FX01 | File owner changed | A file's ownership moves from OldOwnerID to NewOwnerID. | Success, EndTime, SessionID, FileID, NewOwnerID, OldOwnerID?, ErrorCode? |
FP01 | File project tag changed | A 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? |
FZ01 | File resized | A file's size is changed to Size. | Success, SessionID, FileID, Size, ErrorCode? |
FD02 | File deleted | A 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? |
FTR01 | File moved to trash | The 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? |
FRST01 | File restored | A file comes back from the trash. A failure is recorded too. | Success, FileID, ErrorCode? |
FDI02 | File deleted internally | tiCrypt 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
| Type | Event | Written when | Fields |
|---|---|---|---|
DC03 | Directory created | A user creates a directory. | Success, SessionID, ParentID, Name, DirID?, DirOwner?, Project?, ErrorCode? |
DS02 | Root directory set | A new user or group receives its root directory. | Success, SessionID, UserID, DirID, ErrorCode? |
DA02 | Directory entry added | A file or directory is linked into a directory (EntryType, EntryTarget). | Success, SessionID, DirID, EntryName, EntryType, EntryTarget, ErrorCode? |
DN02 | Directory entry renamed | An entry in a directory is renamed. | Success, SessionID, DirID, EntryFrom, EntryTo, ErrorCode? |
DR02 | Directory entry removed | An entry is removed from a directory. | Success, SessionID, DirID, EntryName, ErrorCode? |
BDER02 | Directory entries removed in bulk | Several 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? |
BDEM01 | Directory entries moved in bulk | Several 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? |
RDT01 | Recursive delete task | A 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? |
DD02 | Directory deleted | A directory is deleted. | Success, SessionID, DirID, ErrorCode? |
DP01 | Directory project tag changed | A directory's project tag is set or cleared (set), or lowered (lessen). | Success, EndTime, SessionID, DirectoryID, ProjectID?, ProjectIDNull, Action, ErrorCode? |
Forms
| Type | Event | Written when | Fields |
|---|---|---|---|
OC02 | Form created | A user creates a form. | Success, SessionID, Name, Description, FormID, ErrorCode? |
OM01 | Form modified | A form's name or description changes. | Success, EndTime, SessionID, FormID, Name?, Description?, ErrorCode? |
OD02 | Form deleted | A form is deleted. | Success, SessionID, FormID, ErrorCode? |
OI01 | Form viewed | A client reads a form's details. | Success, EndTime, SessionID, FormID, ErrorCode? |
OL01 | Forms listed | A client lists forms. | Success, EndTime, SessionID, ErrorCode? |
OR02 | Form entries read | A user reads a form's entries. | Success, SessionID, FormID, Transfer?, ErrorCode? |
OK01 | Form attachment read | A user reads an attachment of a form entry. | Success, EndTime, SessionID, FormID, EntryNumber, AttachmentID, ErrorCode? |
OA01 | Form token created | A user creates a submission token, which lets people submit entries without an account. | Success, EndTime, SessionID, FormID, Name, TokenID?, ErrorCode? |
OB01 | Form tokens listed | A client lists a form's submission tokens. | Success, EndTime, SessionID, FormID, ErrorCode? |
OF01 | Form token deleted | A submission token is deleted. | Success, EndTime, SessionID, FormID, TokenID, ErrorCode? |
OE04 | Form entry submitted with a token | Someone 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? |
OH02 | Form key added | Access to a form is granted: a key is added for a user or a group. | Success, EndTime, SessionID, FormID, KeyType, KeyOwner, ErrorCode?, Expires? |
OG01 | Form key retrieved | A user fetches their key to a form. | Success, EndTime, SessionID, FormID, KeyType?, KeyOwner?, ErrorCode? |
OJ01 | Form key deleted | Access to a form is removed. | Success, EndTime, SessionID, FormID, KeyType, KeyOwner, ErrorCode? |
Drives
| Type | Event | Written when | Fields |
|---|---|---|---|
RC06 | Drive created | A 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? |
DM02 | Drive modified | A drive's name, team, backup exclusion or settings change. | Success, EndTime, SessionID, DriveID, Name?, NoBackup?, Settings?, ErrorCode?, Team? |
RA03 | Drive key added | A user is given access to a drive. AllowWrite is true for read-write access. | Success, SessionID, DriveID, UserID, Key, AllowWrite, End, ErrorCode? |
RG02 | Drive key retrieved | A user fetches their key to a drive. | Success, SessionID, DriveID, UserID?, End, ErrorCode? |
RR02 | Drive key removed | A user's access to a drive is removed. | Success, SessionID, DriveID, UserID, End, ErrorCode? |
RT02 | Drive attached | A drive is attached to a VM, read-only or read-write. | Success, SessionID, VMID, DriveID, ReadOnly, Device?, End, ErrorCode? |
RE02 | Drive detached | A drive is detached from a VM. | Success, SessionID, VMID, DriveID, End, ErrorCode? |
REI01 | Drive detached by the server | The server detaches a drive from a VM that is no longer running (Reason). | Success, DriveID, VMID, Reason, ErrorCode? |
RMV01 | Drive moved | A drive moves to another pool: requested, started, finished or aborted (Action), with SourcePool, DestPool and TransferID. | Success, SessionID?, Action, DriveID?, TransferID?, SourcePool?, DestPool?, ErrorCode? |
RX01 | Drive owner changed | A drive's ownership moves from OldOwnerID to NewOwnerID. | Success, EndTime, SessionID, DriveID, NewOwnerID, OldOwnerID?, ErrorCode? |
RP01 | Drive project tag changed | A 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? |
RD02 | Drive deleted | A drive is deleted. | Success, SessionID, DriveID, End, ErrorCode? |
RDI01 | Drive deleted by the server | The server deletes a drive itself. Reason is no-keys. | Success, DriveID, Owner?, Reason, ErrorCode? |
Virtual machines and VM configurations
| Type | Event | Written when | Fields |
|---|---|---|---|
VC03 | VM created | A user starts a VM from a brick. | Success, SessionID, Brick, Name, VMID?, Team?, End, ErrorCode?, Project? |
VR03 | VM registered | A 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? |
VAUA02 | VM users added | Users are authorized on a VM. AsManager is true when they are added as managers. | Success, EndTime, SessionID, VMID, UserIDs, ErrorCode?, AsManager |
VAUR01 | VM users removed | Users lose access to a VM. | Success, EndTime, SessionID, VMID, UserIDs, ErrorCode? |
VCON02 | VM console connection | A 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? |
VMMS03 | Message sent to VM | A user sends a message to a VM. | Success, VMID, MessageType, ErrorCode?, SessionID?, MessageID? |
VMMR02 | Message read by VM | A VM reads its message. | Success, VMID, MessageType, ErrorCode? |
VMMD03 | Message to VM deleted | A user deletes a message sent to a VM. | Success, MessageID, ErrorCode?, SessionID? |
VMRN01 | VM renamed | A VM is renamed from OldName to NewName. | Success, SessionID, VMID, NewName, OldName?, ErrorCode? |
VMPC01 | VM project changed | A VM's project changes from OldProject to Project. | Success, SessionID, VMID, Project?, OldProject?, ErrorCode? |
VS02 | VM shut down | A user shuts a VM down. | Success, SessionID, VMID, UserID, ErrorCode? |
VD03 | VM deleted | A VM is terminated. ForceDetach is true when its drives are detached by force. | Success, SessionID, VMID, ForceDetach, UserID, ErrorCode? |
VSAH01 | All VMs on a host shut down | An admin shuts down every VM on a host. | Success, SessionID, HostID, ErrorCode? |
VSI01 | VM stopped by the server | The 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? |
VARC01 | VM access rule changed | A 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? |
VGC01 | VM gate changed | A 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? |
VMSA01 | VM service action | An 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? |
VCCR02 | VM configuration created | A user creates a VM configuration: owners, brick, team, project and drives. | Success, SessionID, ConfigID?, Owners, Description, Brick, Team?, Project?, ReadWriteDrives, ReadOnlyDrives, ErrorCode? |
VCUP02 | VM configuration updated | A 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? |
VCRE01 | VM configuration viewed | A client reads a VM configuration. | Success, SessionID, ConfigID, ErrorCode? |
VCLI01 | VM configurations listed | A client lists VM configurations. | Success, SessionID, ErrorCode? |
VCRU02 | VM configuration run | A VM is started from a configuration. VMID is the VM started. | Success, SessionID, ConfigID, VMID?, ErrorCode? |
VCKI02 | VM configuration stopped | The VM of a configuration is stopped. Forced is true for a forced stop. | Success, SessionID, ConfigID, Forced, ErrorCode? |
VCDE01 | VM configuration deleted | A VM configuration is deleted. | Success, SessionID, ConfigID, ErrorCode? |
VCVE01 | VM configuration verified | When 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? |
VMAM01 | VM account set | A user's Slurm VM account name is set. | Success, EndTime, SessionID, UserID, AccountName, ErrorCode? |
VMAR01 | VM account viewed | A client reads a VM account. UserIDNull is true when the caller reads their own. | Success, EndTime, SessionID, UserID?, UserIDNull, ErrorCode? |
VMAL01 | VM accounts listed | A client lists the VM accounts. | Success, EndTime, SessionID, ErrorCode? |
VMAD01 | VM account deleted | A user's VM account is deleted. | Success, EndTime, SessionID, UserID, ErrorCode? |
Realms, hosts, bricks and images
| Type | Event | Written when | Fields |
|---|---|---|---|
BRCR02 | Brick created | An 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? |
BRUD02 | Brick updated | A brick changes, including its image. | Success, SessionID, BrickID, BrickName?, BrickDescription?, BrickVCores?, BrickMaxMemBytes?, Setup?, RealmID?, TeamWhitelist?, UserWhitelist?, ExternalServers, ErrorCode?, ImageID? |
BRRE01 | Brick viewed | A client reads a brick. | Success, SessionID, BrickID, ErrorCode? |
BRLI01 | Bricks listed | A client lists bricks. | Success, SessionID, ErrorCode? |
BRDE02 | Brick deleted | A brick is deleted (BrickID). | Success, SessionID, BrickID, ErrorCode? |
BSBI01 | Brick image set in bulk | One image is set on several bricks at once. | Success, SessionID, BrickIDs, ImageID, ErrorCode? |
IC02 | Image created | A 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? |
IU02 | Image updated | A 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? |
ID02 | Image deleted | A VM image is deleted. | Success, ImageID, ErrorCode?, SessionID?, RealmID? |
LUC01 | Large upload created | A user starts a large upload, such as an image or an ISO (UploadType, FileSize, Hash). | Success, SessionID, FileSize, Hash, RealmID, UploadType, ErrorCode? |
LUP02 | Large upload processed | The 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? |
LHA03 | Libvirt host added | An 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? |
LHU02 | Libvirt host updated | A 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? |
LHG01 | Libvirt host viewed | A client reads a host. | Success, SessionID, RealmID, HostID, ErrorCode? |
LHLR01 | Libvirt hosts listed | A client lists a realm's hosts. | Success, SessionID, RealmID, ErrorCode? |
LHD01 | Libvirt host deleted | A host is removed from a realm. ForceCleanup is true for a forced cleanup. | Success, SessionID, RealmID, HostID, ForceCleanup, ErrorCode? |
RCR01 | Host reservation created | Hosts are reserved in a Libvirt realm (NumHosts). | Success, SessionID, RealmID, NumHosts, ErrorCode? |
RRE01 | Host reservation returned | A host reservation is returned. | Success, SessionID, RealmID, ReservationID, ErrorCode? |
VMRR02 | Realm restarted | An admin restarts a realm. | Success, SessionID, RealmID, ErrorCode? |
Proxy and firewall
| Type | Event | Written when | Fields |
|---|---|---|---|
VP02 | VM connection registered | A user registers a connection to a VM port through the tiCrypt proxy (SourceIP, DestIP, DestPort). | Success, SessionID, SourceIP, VMID, DestIP?, DestPort?, Expires?, End, ErrorCode? |
VPC01 | VM proxy connection | A 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? |
NFT01 | Firewall set sent | The 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
| Type | Event | Written when | Fields |
|---|---|---|---|
BTA01 | Slurm action | A 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
| Type | Event | Written when | Fields |
|---|---|---|---|
ECSU02 | Escrow certificate submitted | An 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? |
EUNE01 | Escrow user added | An escrow user is created. | Success, AuthType, AuthID, SpecifiedID, Email, Name, Permissions, DisplayName, Department, Position, UserID, ErrorCode? |
EUDE01 | Escrow user deleted | An escrow user is deleted. | Success, AuthType, AuthID, UserID, ErrorCode? |
EUGI01 | Escrow user viewed | A client reads an escrow user. | Success, AuthType, AuthID, UserID, ErrorCode? |
EUGS01 | Own escrow user viewed | An escrow user reads their own record. | Success, AuthType, AuthID, UserID?, ErrorCode? |
EULA01 | Escrow users listed | A client lists the escrow users. | Success, AuthType, AuthID, ErrorCode? |
EPNE01 | Escrow public key added | A public key is added for an escrow user, signed by SignerID. | Success, AuthType, AuthID, EscrowUserID, KeyID, SignAlgo, SignerID, ErrorCode? |
EPGI01 | Escrow public key viewed | A client reads an escrow public key. | Success, AuthType, AuthID, KeyID, ErrorCode? |
EPGU01 | Escrow public keys of a user listed | A client lists an escrow user's public keys. | Success, AuthType, AuthID, EscrowUserID, ErrorCode? |
EPGA01 | All escrow public keys listed | A client lists every escrow public key. | Success, AuthType, AuthID, ErrorCode? |
EGNE01 | Escrow group created | An escrow group is created with a set of keys. | Success, AuthType, AuthID, GroupName, Keys, GroupID, ErrorCode? |
EGNC01 | Escrow group renamed | An escrow group's name changes. | Success, AuthType, AuthID, GroupID, NewName, ErrorCode? |
EGAK01 | Key added to escrow group | A key joins an escrow group. | Success, AuthType, AuthID, GroupID, KeyID, ErrorCode? |
EGDK01 | Key removed from escrow group | A key leaves an escrow group. | Success, AuthType, AuthID, GroupID, KeyID, ErrorCode? |
EGGI01 | Escrow group viewed | A client reads an escrow group. | Success, AuthType, AuthID, GroupID, ErrorCode? |
EGLA01 | Escrow groups listed | A client lists the escrow groups. Rich is true for the detailed list. | Success, AuthType, AuthID, Rich, ErrorCode? |
EGLM01 | Escrow group metadata listed | A client lists the names and IDs of the escrow groups. | Success, Source?, ErrorCode? |
EKNE01 | Key escrowed | A user's key is placed in escrow, split into NumKeys parts. | Success, AuthType, AuthID, KeyID, Cipher, NumKeys, UserID?, EscrowID, ErrorCode? |
ERSC01 | Recovery key set created | Escrowing a key to a group creates the set of recovery key parts for that group. | AuthType, AuthID, EscrowID, KeyIndex, GroupID |
ERKA01 | Recovery key part added | A recovery key part is added to an escrowed key. | Success, AuthType, AuthID, EscrowID, KeyIndex, UserKeyID, Cipher, RecoveryKeyID?, ErrorCode? |
ERKG01 | Recovery key part retrieved | An escrow user fetches a recovery key part, a step in key recovery. | Success, AuthType, AuthID, EscrowID, KeyIndex, RecoveryKeyID, ErrorCode? |
ERSG01 | Recovery key set retrieved | An escrow user fetches a set of recovery key parts. | Success, AuthType, AuthID, EscrowID, KeyIndex?, ErrorCode? |
ERKD01 | Recovery key part deleted | A recovery key part is deleted, including each part held by an escrow user who is deleted. | Success, AuthType, AuthID, KeyID, ErrorCode? |
ESRK02 | Recovery key part removed | A 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? |
EKGI01 | Escrowed key viewed | A client reads an escrowed key. | Success, AuthType, AuthID, EscrowID, ErrorCode? |
EKLU01 | Escrowed keys of a user listed | A client lists a user's escrowed keys. | Success, AuthType, AuthID, UserID, ErrorCode? |
ELUK01 | Users with escrowed keys listed | A client lists the users who have escrowed keys. | Success, AuthType, AuthID, ErrorCode? |
EKCD01 | Escrowed key deleted | An 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? |
ERCL01 | Escrow certificates listed | A client lists the escrow certificates. | Success, AuthType, AuthID, ErrorCode? |
SUIS01 | User salt and IV set | An 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
| Type | Event | Written when | Fields |
|---|---|---|---|
GSEW02 | Global setting written | An admin writes a system setting (SettingGroup, SettingName, Value). | Success, SessionID, SettingGroup, SettingName, Value, ErrorCode? |
GSED02 | Global setting deleted | A system setting is deleted. | Success, SessionID, SettingGroup, SettingName, ErrorCode? |
GIWR02 | Global information written | An admin writes a global information entry (Name, Value). | Success, SessionID, Name, Value, ErrorCode? |
GIDE02 | Global information deleted | A global information entry is deleted. | Success, SessionID, Name, ErrorCode? |
EXWR02 | External server written | An admin adds or changes an external server entry (Server, LocalServer, Port). | Success, SessionID, Name, Description, Server, LocalServer, Port, ErrorCode? |
EXDE02 | External server deleted | An external server entry is deleted. | Success, SessionID, Name, ErrorCode? |
ESFC01 | External SFTP server created | An 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? |
ESFU01 | External SFTP server updated | An external SFTP server's host, port or allowed teams, users or projects change. | Success, SessionID, ServerID, Host?, Port?, TeamsAllowed?, UsersAllowed?, ProjectsAllowed?, ErrorCode? |
ESFD01 | External SFTP server deleted | An external SFTP server is deleted. | Success, SessionID, ServerID, ErrorCode? |
ESA01 | External SFTP access checked | tiCrypt checks whether a user may reach an external SFTP server. CanAccess is the answer. | Success, SessionID, UserID, Host, Port, CanAccess, ErrorCode? |
MC01 | Inbox created | A user creates an inbox: its owner, free space, directory and expiry. | Success, End, SessionID, MailboxID, Owner, FreeBytes, DirectoryID, Settings?, Message?, Expires?, ErrorCode? |
MD02 | Inbox deleted | An inbox is deleted. | Success, EndTime, MailboxID, ErrorCode?, SessionID? |
MSWR02 | Message written | A user posts a message on a file, group, drive or user (ContextType, ContextID). | Success, SessionID, ContextType, ContextID, ErrorCode? |
MSUP02 | Message updated | A message is edited. | Success, SessionID, MessageID, ErrorCode? |
MSDL02 | Message deleted | A message is deleted. | Success, SessionID, MessageID, ErrorCode? |
NC01 | Notification created | tiCrypt stores a notification for a user (RecipientID, RecipientType, Body). | Success, SessionID, RecipientID, RecipientType, Body, ErrorCode? |
CFR01 | Configuration file read | A service's configuration file is read through the API (Service). | Success, SessionID, Service, ErrorCode? |
LGR01 | Logs read | A service's journal, or the secure log (Service secure-log), is read through the API. | Success, SessionID, Service, Details?, ErrorCode? |
SER02 | Service restarted | An admin restarts a backend service (Service). The service restarts 3 seconds later, after it has sent its records. | Success, SessionID, Service, ErrorCode? |
SVC01 | Service state changed | A 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? |
LGE01 | Logger event | An 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? |
MEXP01 | Database export | An admin exports the database documents to Directory. | Success, SessionID, Directory, ErrorCode? |
Scheduled maintenance
| Type | Event | Written when | Fields |
|---|---|---|---|
MNCA02 | Old accounts locked | The 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? |
MNRU01 | Maintenance run | One 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? |
MNCK02 | Old escrowed keys cleared | Escrowed keys older than BeforeDate are removed (KeysCleared). | Success, BeforeDate, KeysCleared, ErrorCode? |
MNDCK02 | Escrowed keys of deleted users cleared | The escrowed keys of deleted users are removed. | Success, UserEscrowedKeys, KeysCleared, ErrorCode? |
ODC02 | Old drives cleared | The drive garbage collector removes drives (DrivesCleared). | Success, DrivesCleared, ErrorCode? |