AWS CloudTrail is a service that enables governance, compliance and provides auditing of an AWS account. Since Datacoral software is deployed in a customer's AWS account, CloudTrail can be setup in the account to get an audit record of all actions performed by Datacoral in the account. To set this up, follow the steps below.
Prepare S3 bucket for receiving CloudTrail logs
First, create a new bucket in which to save the S3 Access Logs. Ideally, this S3 Bucket will have been configured to not allow any deletes and should be in a separate AWS account. Next run the following command to update the bucket policy for this S3 bucket to receive CloudTrail events.
Here the file
cloudtrail_bucket_policy.json contains the following (you'll need to fill in the S3 bucket name and the account ID):
Create the CloudTrail
Run the following command: