logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo
Security guide
Token policy

Password policy

Password policy
User lockout
IP restriction
Audit logger
Two factor authentication (2FA)
Previous PageIP restriction
Next PageTwo factor authentication (2FA)

#Audit Logger

#Introduction

The audit log is used to record and track user activities and resource operation history within the system.

#Parameter Description

ParameterDescription
ResourceThe target resource type of the operation
ActionThe type of operation performed
UserThe user performing the operation
RoleThe role of the user during the operation
Data sourceThe data source
Target collectionThe target collection
Target record UKThe unique identifier of the target collection
Source collectionThe source collection of the association field
Source record UKThe unique identifier of the source collection
StatusThe HTTP status code of the operation request response
Created atThe time of the operation
UUIDThe unique identifier of the operation, consistent with the Request ID of the operation request, can be used to retrieve application logs
IPThe IP address of the user
UAThe UA information of the user
MetadataMetadata such as parameters, request body, and response content of the operation request

#Audit Resource Description

Currently, the following resource operations will be recorded in the audit log:

#Main Application

OperationDescription
app:resartApplication restart
app:clearCacheClear application cache

#Plugin Manager

OperationDescription
pm:addAdd plugin
pm:updateUpdate plugin
pm:enableEnable plugin
pm:disableDisable plugin
pm:removeRemove plugin

#User Authentication

OperationDescription
auth:signInSign in
auth:signUpSign up
auth:signOutSign out
auth:changePasswordChange password

#User

OperationDescription
users:updateProfileUpdate profile

#UI Configuration

OperationDescription
uiSchemas:insertAdjacentInsert UI Schema
uiSchemas:patchModify UI Schema
uiSchemas:removeRemove UI Schema

#Collection Operations

OperationDescription
createCreate record
updateUpdate record
destroyDelete record
updateOrCreateUpdate or create record
firstOrCreateQuery or create record
moveMove record
setSet association field record
addAdd association field record
removeRemove association field record
exportExport record
importImport record

#Adding Other Audit Resources

If you have extended other resource operations through plugins and wish to record these resource operation behaviors in the audit log, please refer to API.