Skip to main content

PluginOptions

PluginOptions: object

Type declaration

excludeResourceIds?

optional excludeResourceIds: string[]

Id of the resource to be ignored from audit log.

resourceColumns

resourceColumns: object

Mappping of columns for audit log table.

resourceColumns.resourceActionColumnName

resourceActionColumnName: string

Should be name of column were plugin will store action. Column should be of type string.

resourceColumns.resourceCreatedColumnName

resourceCreatedColumnName: string

resourceColumns.resourceDataColumnName

resourceDataColumnName: string

Should be name of column were plugin will store data. Column should be of type string.

resourceColumns.resourceIdColumnName

resourceIdColumnName: string

Should be name of column were plugin will store resourceId. Column should be of type string.

resourceColumns.resourceRecordIdColumnName

resourceRecordIdColumnName: string

resourceColumns.resourceUserIdColumnName

resourceUserIdColumnName: string

Should be name of column were plugin will store user id. Column should be same type as type of column where user id is stored. E.g. is user id is stored as UUID, then this column should be of type UUID.