Guardduty finding send to cross account's S3 bucket

0

My requirement is to transfer the Guardduty finding of Account A to the S3 Bucket of Account B I follow the guide https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html but got an error

My steps are:

  1. Granting GuardDuty permission to a KMS key,create a key on Account A
  2. Granting GuardDuty permissions to a Account B bucket
  3. Exporting findings to a bucket with the Console ,The result is the above error Enter image description here
已提問 2 年前檢視次數 818 次
2 個答案
1

I believe the gap is in the bucket policy of the S3 bucket in the other account. It needs GetBucketACL and ListBucket . Try adding that.

AWS
已回答 1 年前
0

I have set up the cross-account export option following the Exporting findings documentation in my account and I was able to set it up without any issues.

Setup: Account A: GuardDuty/KMS, Account B: S3 bucket

Please make sure that you have replaced region, account id, kmskeyid, and sourceDetectorId in the sample policies from the documentation. In my setup, I did not use optional prefix so my resource ARN for objects looks like this arn:aws:s3:::<bucketname>/*. Also, make sure that KMS key and S3 bucket are in the same region.

If the issue persists, please share your policies (sanitize account id and resource id).

AWS
Taka_M
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南