AWS audit-manager medium security documentation change
Summary
Added example IAM policies for CloudTrail, SNS, and KMS permissions with resource-based conditions.
Security assessment
The added policies enforce least-privilege access with conditions (SourceAccount and SourceArn), directly addressing secure resource access. These changes provide explicit security controls for integrating services with Audit Manager.
Diff
diff --git a/audit-manager/latest/userguide/security_iam_id-based-policy-examples.md b/audit-manager/latest/userguide/security_iam_id-based-policy-examples.md index 419915f16..3270ec8a0 100644 --- a//audit-manager/latest/userguide/security_iam_id-based-policy-examples.md +++ b//audit-manager/latest/userguide/security_iam_id-based-policy-examples.md @@ -245,0 +246,22 @@ Before you use this policy, replace the `placeholder text` with your own informa +JSON + + +**** + + + + { + "Version":"2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "cloudtrail:DeleteEventDataStore", + "cloudtrail:UpdateEventDataStore" + ], + "Resource": "arn:aws:cloudtrail:us-east-1:111122223333:eventdatastore/EventDataStoreId" + } + ] + } + + @@ -490,0 +513,29 @@ Before using this policy, replace the `placeholder text` with your own informati +JSON + + +**** + + + + { + "Version":"2012-10-17", + "Statement": { + "Sid": "AllowAuditManagerToUseSNSTopic", + "Effect": "Allow", + "Principal": { + "Service": "auditmanager.amazonaws.com" + }, + "Action": "SNS:Publish", + "Resource": "arn:aws:sns:us-east-1:111122223333:topicName", + "Condition": { + "StringEquals": { + "aws:SourceAccount": "111122223333" + }, + "ArnLike": { + "aws:SourceArn": "arn:aws:auditmanager:us-east-1:111122223333:*" + } + } + } + } + + @@ -523,0 +575,32 @@ Before using this policy, replace the `placeholder text` with your own informati +JSON + + +**** + + + + { + "Version":"2012-10-17", + "Statement": { + "Sid": "AllowAuditManagerToUseKMSKey", + "Effect": "Allow", + "Principal": { + "Service": "auditmanager.amazonaws.com" + }, + "Action": [ + "kms:Decrypt", + "kms:GenerateDataKey" + ], + "Resource": "arn:aws:kms:us-east-1:123456789012:key/*", + "Condition": { + "StringEquals": { + "aws:SourceAccount": "123456789012" + }, + "ArnLike": { + "aws:SourceArn": "arn:aws:sns:us-east-1:123456789012:topicName" + } + } + } + } + +