Setting up audit archiving in AWS using the CLI
After you set up a credential for audit event archiving, you need to configure CDP. This process is not necessary if you used the UI to create the audit archiving credential and configure the data storage location.
Field name | General description | Details |
storage location | Where in cloud storage to save audit events | S3 bucket name. Use only the bucket name and not the "s3://" prefix or any sub-folders. |
credential | Name of the credential to use when writing to cloud storage | credential name as saved in the control plane |
enabled | A Boolean indicating whether archiving is enabled | true |
storage region | Region where storage services should be accessed | AWS region, e.g., us-west-2 |
Create the credential for audit event archiving before configuring archiving itself. The credential is not tied to an environment, and exists outside of any environment, like the control plane itself. The associated role / permissions require write access to the storage location, including the ability to create files and folders.
The storage region is the region where the audit service (the control plane) accesses the cloud provider's storage service. For best results, this should be the same as the region where the control plane is running. Ideally, the bucket should be created in the same region.
Required Role: PowerUser