I have a CloudTrail trail for all accounts on my organization and want to stop logging for some of them. Is there any way to stop logging specific accounts not for all ?
Asked
Active
Viewed 363 times
1 Answers
0
Assuming from your question it seems like you're using centralized logging for CloudTrail.
If this is the case then login into member accounts where you want to stop logging and delete the respective trail. If the trail was enabled by cloudformation then delete the CF stack.
After that Go to your centralized logging account --> S3 bucket where your member account trails are logged --> Edit bucket policy --> In the resource section remove the arn of the account where you deleted the trail.
If you're not using centralized logging then login into respective accounts nd delete the trails. Empty the S3 bucket and delete the bucket if you don't need logs