All Release Notes

Audit Log now tracks Custom Object Changes

2 December 2021
Enhancement
SecurityCustomizationGraphQL

We have extended the abilities of Audit Log to include the tracking of changes made against Custom Objects. This enhancement will start tracking new Custom Object Changes made and these Changes will be automatically added into your Audit Log responses.

Changes:

The following change was introduced in terms of GraphQL SDL:

type CustomObjectLabel {
container: String
key: String
}
customObjects(
date: DateRange
limit: Int
offset: Int
source: Source
type: Type
clientId: String
userId: String
customerId: String
changes: [CustomObjectChangeInput!]
expand: Boolean
): ChangeHistoryQueryResults!
@auth(
permissions: [
view_audit_log
view_products
view_orders
view_customers
view_key_value_documents
]
)
customObject(
id: String!
date: DateRange
limit: Int
offset: Int
source: Source
type: Type
clientId: String
userId: String
customerId: String
changes: [CustomObjectChangeInput!]
expand: Boolean
): ChangeHistoryQueryResults!
@auth(
permissions: [
view_audit_log
view_products
view_orders
view_customers
view_key_value_documents
]
)
enum CustomObjectChangeInput {
addProperty
removeProperty
setProperty
setValue
}