๐ฐ๏ธ ์์ฑ์ผ : 2024.06.30
1. ๊ธฐ์กด Config์ Delivery ๊ตฌ์ฑ์ Log/Audit ๊ณ์ ์ผ๋ก ๋ณ๊ฒฝํ๋๋ก ์ค์ ํจ.
2. Control Tower์๋ ์์ง ๊ณ์ (โ992382835345โ)์ Control Tower์ Enrollํ์ง ์์.
3. Control Tower Log ๊ณ์ ์์ โ992382835345โ ๊ณ์ ์ ๋ํ Config ๋ก๊ทธ๋ฅผ ์ ์์ ์ผ๋ก ์์
[cloudshell-user@ip-10-6-69-212 ~]$ aws configservice describe-delivery-channel-status
{
"DeliveryChannelsStatus": [
{
"name": "default",
"configSnapshotDeliveryInfo": {
"lastStatus": "SUCCESS",
"lastAttemptTime": "2024-06-27T14:04:52.992000+00:00",
"lastSuccessfulTime": "2024-06-27T14:04:52.992000+00:00",
"nextDeliveryTime": "2024-06-28T14:04:52.060000+00:00"
},
"configHistoryDeliveryInfo": {
"lastStatus": "SUCCESS",
"lastAttemptTime": "2024-06-27T13:52:16.076000+00:00",
"lastSuccessfulTime": "2024-06-27T13:52:16.076000+00:00"
},
"configStreamDeliveryInfo": {
"lastStatus": "SUCCESS",
"lastStatusChangeTime": "2024-06-27T15:14:00.694000+00:00"
}
}
]
}
4. Log Account์ S3 ๋ฒํท ์ ์ฑ ์ ํ์ธ
{
"Sid": "AWSBucketDeliveryForConfig",
"Effect": "Allow",
"Principal": {
"Service": "config.amazonaws.com"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::aws-controltower-logs-767397798807-ap-northeast-2/o-jhh2xc1s8l/AWSLogs/*/*",
"Condition": {
"StringEquals": {
"aws:SourceOrgID": "o-jhh2xc1s8l"
}
}
},
5. Audit Account์ SNS ํ ํฝ ์ ์ฑ ํ์ธ
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AWSSNSPolicy",
"Effect": "Allow",
"Principal": {
"Service": [
"cloudtrail.amazonaws.com",
"config.amazonaws.com"
]
},
"Action": "sns:Publish",
"Resource": "arn:aws:sns:ap-northeast-2:654654264837:aws-controltower-AllConfigNotifications",
"Condition": {
"StringEquals": {
"aws:SourceOrgID": "o-jhh2xc1s8l"
}
}
}
]
AWS Document์ ์ ๋ฆฌ๋ ๋๋ก 7๋จ๊ณ ๊ณ์ ๋ฑ๋ก์ด ์๋ OU ๋ฑ๋ก์ผ๋ก Control Tower์ Enroll ํด์ผ ํจ. ๊ณ์ ๋ฑ๋ก์ผ๋ก ์งํ ํ ๊ฒฝ์ฐ ์๋ฌ๊ฐ ๋ฐ์