To enable and manage audit logs, you must be an organization owner. This feature is available only on Enterprise plans or with the HIPAA compliance add-on.
Enable audit logs
- Set up an IAM policy and role in Amazon S3.
- Go to Settings > Audit logs in the Pinecone console.
- Enter the Role ARN of the IAM role you created.
- Enter the name of the Amazon S3 bucket you created.
To write audit logs to a specific subdirectory, enter
bucket-name/subdirectory-pathin the bucket name field, for example,my-bucket/pinecone-logs. Make sure your IAM policy is configured for subdirectory access. - Click Enable audit logging.
audit-log-access-test, a test file that Pinecone writes to verify that it has the necessary permissions to write logs to the bucket.
Make your audit-log bucket immutable (recommended)
Audit logs are written to an Amazon S3 bucket you control, so you can enforce write-once-read-many (WORM) immutability. Log files then can’t be modified or deleted, even by your own administrators, for a retention period you define. We recommend this for compliance use cases. Enable S3 Object Lock in compliance mode with a retention period. Object Lock requires bucket versioning and, in general, must be enabled when the bucket is created. Plan for it when you set up the IAM policy and S3 bucket above. Set the retention period to at least your required audit-log retention. Pinecone writes each log batch as a new, uniquely named file and doesn’t modify or delete previously written logs.View audit logs
Logs are written to the S3 bucket every 30 minutes. Each log batch is saved to its own file as a JSON blob, keyed by the time of the log to be written. Only logs since the integration was created and enabled are saved. For more information about the log schema and captured events, see Audit logs in the security overview.Edit audit log integration details
- Go to Settings > Audit logs.
- Enter the new Role ARN or Bucket name.
- Click Update settings.
Disable audit logs
Disabling audit logs pauses delivery to your bucket. Your integration settings are kept, and if you enable audit logs again, Pinecone delivers the logs that weren’t written to your bucket before you disabled them.- Go to Settings > Audit logs.
- Click the toggle next to Audit logging is active.
- Click Disable integration.
Remove audit log integration
If you remove the audit log integration, logs that haven’t been written to your bucket yet aren’t delivered, even if you set up a new integration later.- Go to Settings > Audit logs.
- At the top of the page, click the ellipsis (…) menu > Remove integration.
- Click Remove integration.