AWS amazonq medium security documentation change
Summary
Removed IAM policy examples for Secrets Manager and KMS permissions related to CloudZero plugin integration
Security assessment
The removal of specific secrets manager and KMS decrypt permissions suggests these were either unnecessary or overly permissive. This change likely addresses potential over-privilege security risks by eliminating access to sensitive operations like GetSecretValue and Decrypt without clear justification.
Diff
diff --git a/amazonq/latest/qdeveloper-ug/cloudzero-plugin.md b/amazonq/latest/qdeveloper-ug/cloudzero-plugin.md index 1eb83bd6e..e8f591ff5 100644 --- a//amazonq/latest/qdeveloper-ug/cloudzero-plugin.md +++ b//amazonq/latest/qdeveloper-ug/cloudzero-plugin.md @@ -73,14 +73 @@ JSON - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "secretsmanager:GetSecretValue" - ], - "Resource": [ - "arn:aws:secretsmanager:us-east-1:{{your-account-id}}:secret:[[secret-id]]" - ] - } - ] - } + This policy has been removed. @@ -100,24 +87 @@ JSON - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "secretsmanager:GetSecretValue" - ], - "Resource": "arn:aws:secretsmanager:us-east-1:{{accountId}}:secret:{{secretId}}" - }, - { - "Effect": "Allow", - "Action": [ - "kms:Decrypt" - ], - "Resource": "arn:aws:kms:us-east-1:{{accountId}}:key/{{keyId}}", - "Condition": { - "StringEquals": { - "kms:ViaService": "secretsmanager.us-east-1.amazonaws.com" - } - } - } - ] - } + This policy has been removed.