When Data Inventory records are updated by any source, TrustArc sends notifications to an Amazon AWS Simple Notification Service (SNS) Topic. This allows clients to receive real-time notifications when users make changes via the TrustArc UI. Notifications can be triggered when any field changes, or only when certain specified fields change.
accountId, internalId, and externalId from the notification payload📋 Setting up notifications: There are multiple ways to subscribe to the SNS Topic. The recommended approach is to expose a callback HTTPS endpoint in your application. TrustArc staff can configure the subscription for you — you only need to supply the full URL of your endpoint.
The full SNS notification message sent to your endpoint will look like this:
📋 Implementing your HTTPS endpoint:
Full instructions for subscribing an HTTPS endpoint to an SNS
Topic are available in the AWS documentation:
https://docs.aws.amazon.com/sns/latest/dg/sns-subscribe-https-s-endpoints-to-topic.html
Within the full SNS message is the Message field, which contains the details of the Data Inventory record that was updated. This field is a JSON-encoded string. When parsed, it exposes the following fields: