Audit logs

Audit logs

The Audit logs resource stores entries of every creation or update of content objects within DevHub. Each audit log includes the Timestamp, User ID that made the change, Object type, Object ID and details on the change (before/after).

Audit log Model

An audit log object contains the following fields

Attribute
Type
Description

id

integer

unique id of the log

action

string

Action that was taken (update, create, delete)

email

string

Email associated with the User that made the change

first_name

string

First name associated with the User that made the change

last_name

string

Last name associated with the User that made the change

timestamp

string

Timestamp of the change

object_class

string

Object type that was edited (example: Site, Page)

object_pk

integer

Primary ID of the object that was edited

field_name

string

Field on the object that was changed

old_value

string

Summary of the previous value for the field. Note: Truncated for large payloads

new_value

string

Summary of the new value for the field. Note: Truncated for large payloads

Last updated