Casvisor
Audit

Operation logs

The operation log, under Records, answers questions such as who added this asset, who widened that permission, and who stopped a session. Every call to Casvisor's API is a candidate, from the web UI or from a script.

What each entry holds

FieldMeaning
Created timeWhen the call was made
Organization, UserWho made it
Client IP, User agentFrom where and with what
Method, Request URIThe HTTP call, such as POST /api/update-permission
ActionThe API action, such as update-permission or stop-session
ObjectThe request body: the asset, permission or session as sent
ResponseWhether it succeeded, and the error if not

Passwords sent in an asset are part of the request body, so the log can contain them. Restrict who can read the database accordingly.

What is logged

With logPostOnly = true, the default, only POST calls are logged, which are the ones that change something: adding, updating and deleting assets and permissions, starting and stopping sessions, signing in and out. Set it to false to log reads too, which makes the log far larger. Calls on the log itself are never logged.

Entries are kept until you delete them. There is no retention setting yet; trim the record table from the database if it grows too large.

Edit on GitHub

On this page