awslabs / cid-framework

Apache License 2.0
30 stars 27 forks source link

Fix the issue with ReplicationPolicy #205

Closed samegarg closed 1 month ago

samegarg commented 1 month ago

Issue #, if available: Resource" arn in "ReplicationPolicy" was incorrect and leading to errors while replicating objects to cross account bucket for centralized logging.

Description of changes: Changed "Resource" arn in "ReplicationPolicy" for "ReplicationRole" to "arn:${AWS::Partition}:s3:::${DestinationBucketPrefix}${SendDataToAccountID}-security-hub/${CFDataName}/*"

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

iakov-aws commented 1 month ago

Thanks @samegarg Merged.