Audit log
“Every change and every use of stored credentials is recorded here and cannot be edited.” Each workspace has its own audit log. Entries are written together with the change they record, so a change without its entry cannot happen.
Read the audit log
Section titled “Read the audit log”You need the read scope (every role). Project-limited tokens cannot read
it.
Console: open Audit log. It shows the newest 100 entries with Time, Who, What, Result and On. Choose Show older to load more.
CLI:
mayadyn audit # newest 50mayadyn audit --action vm. --limit 200mayadyn audit --action connection.secret_usedmayadyn audit --json | jq .API: GET /v1/audit?action=<prefix>&before=<id>&limit=<n>. See
API: Audit.
Filter
Section titled “Filter”- By action:
--action(CLI) oraction=(API) keeps entries whose action starts with the text you give.vm.gives every machine action;app.deploygives deploy requests and results. - Paging:
before=<id>returns entries older than that entry. limitis up to 500.
The console has no filter; use the CLI or API to filter.
Each entry
Section titled “Each entry”| Field | Meaning |
|---|---|
| Time | When it happened. |
| Who | The person’s email. Through an API token: the token owner’s email, marked via token ((token) in the CLI). Mayadyn’s own background work: System. |
| What | The action (below). |
| Result | Done (ok), Denied (denied) or Error (error). |
| On | The target’s id: a machine, connection, app, token, member or email. |
The API and --json also give the token id, the network address and a
detail object (for example the machine name, region, operation id, or the
names of changed environment variables, never their values).
What is recorded
Section titled “What is recorded”| Action | Console label |
|---|---|
tenant.create |
Created the workspace |
tenant.rules |
Changed sign-in rules |
tenant.sso |
Changed single sign-on settings |
connection.create |
Connected a cloud account |
connection.verify |
Checked a cloud account |
connection.credentials_replaced |
(shown as the action name) Replaced a connection’s credentials |
connection.secret_used |
Used account credentials |
connection.sync |
Synced an account |
connection.delete |
Removed a cloud account |
token.create |
Created an API token |
token.revoke |
Revoked an API token |
member.invite |
Sent an invitation |
member.join |
Accepted the invitation |
member.update |
Changed a member’s role |
member.remove |
Removed a member |
project.create |
Created a project |
project.delete |
Deleted a project |
vm.create.requested, vm.start.requested, vm.stop.requested, vm.delete.requested |
Asked to create / start / stop / delete a machine |
vm.create, vm.start, vm.stop, vm.delete |
Machine created / started / stopped / deleted |
app.create |
Created an app |
app.secrets |
Changed an app’s secrets |
app.secrets_delivered |
App secrets delivered to its host |
app.deploy.requested |
Asked to deploy an app |
app.deploy |
App deployed |
app.delete.requested |
Asked to delete an app |
app.delete |
App deleted |
request.denied |
Request refused: no permission |
Workspace encryption key maintenance by Mayadyn’s operators also appears (“Re-wrapped the encryption key”).
Credential use
Section titled “Credential use”Every time Mayadyn opens a connection to act in your cloud, it records
connection.secret_used with the purpose (for example the operation it
serves). This applies to keyless connections too, since opening one is
when Mayadyn obtains access to your cloud. Use it to see exactly when
Mayadyn acted in your account and why.
Refused requests
Section titled “Refused requests”A request to the workspace that is refused as forbidden (HTTP 403, for
example a missing scope) is recorded as request.denied with result
Denied, with the route that was refused.
What is not recorded
Section titled “What is not recorded”- Sign-ins, sign-outs and failed sign-ins: they belong to no workspace yet.
- Read-only requests (listing and viewing).
- The values of secrets and credentials, ever.
Retention
Section titled “Retention”No retention period is defined: entries are kept, and Mayadyn’s application cannot edit or delete them.