Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"s3:*",
"sqs:*",
"kms:*",
"secretsmanager:*"
"secretsmanager:*",
"logs:*",
"dynamodb:*",
"ecr:*",
],
"Resource":"*",
"Condition":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
"sts:GetFederationToken",
"sts:GetServiceBearerToken",
"sts:GetSessionToken",
"sts:SetContext"
"sts:SetContext",
"cognito-identity:*",
"cognito-idp:*",
"logs:*",
"dynamodb:*",
"ecr:*",
"aoss:*"
],
"Resource": "*",
"Condition": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
"Principal": "*",
"Action": [
"s3:*",
"sqs:*",
"sts:*",
"kms:*",
"sqs:*",
"secretsmanager:*",
"sts:*",
"aoss:*",
"ecr:*"
"cognito-identity:*",
"cognito-idp:*",
"logs:*",
"dynamodb:*",
"ecr:*",
"aoss:*"
],
"Resource": "*",
"Condition": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
"Effect": "Deny",
"Principal": "*",
"Action": [
"sts:*",
"s3:*",
"sts:*",
"kms:*",
"sqs:*",
"secretsmanager:*",
"kms:*"
"cognito-identity:*",
"cognito-idp:*",
"logs:*",
"dynamodb:*",
"ecr:*",
"aoss:*"
],
"Resource": "*",
"Condition": {
Expand Down
2 changes: 1 addition & 1 deletion Service-specific-controls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

| Included Policy | Rationale |
|-------------|-------------|
|[Protect EKS Pod Identities Session Tags](STS-ProtectEKSPodIdentitiesTags.json) | Protect the session tags set by EKS pod identities. This RCP helps ensure that only AWS service principals can assume IAM role sessions with the EKS pod identity specific session tags, while allowing the role-sessions assumed by EKS pod identities to continue to set them as transitive session tags. This pairs well with a [service control policy that restricts the ability for someone to use the iam:TagRole and iam:TagUser permission from creating tags on IAM roles and users with the expected keys and values by EKS pod identities](https://github.com/aws-samples/service-control-policy-examples/blob/main/Service-specific-controls/Amazon-EKS/ProtectPodIdentitiesTagsOnRolesAndUsers.json). The logic is that "Only an AWS service Principal can make a request for a role-session with any of those tags, or a session/role/user that already has one of those tags set". |
|[Protect EKS Pod Identity Session Tags](STS-Protect-EKS-pod-identities-tags.json) | Protect the session tags set by EKS pod identities. This RCP helps ensure that only AWS service principals can assume IAM role sessions with the EKS pod identity specific session tags, while allowing the role-sessions assumed by EKS pod identities to continue to set them as transitive session tags. This pairs well with a [service control policy that restricts the ability for someone to use the iam:TagRole and iam:TagUser permission from creating tags on IAM roles and users with the expected keys and values by EKS pod identities](https://github.com/aws-samples/service-control-policy-examples/blob/main/Service-specific-controls/Amazon-EKS/ProtectPodIdentitiesTagsOnRolesAndUsers.json). The logic is that "Only an AWS service Principal can make a request for a role-session with any of those tags, or a session/role/user that already has one of those tags set". |
|[Protect IAM Roles Anywhere Session Tags](STS-protect-IAMRA-session-tags.json) | Protect the session tags set by IAM Roles Anywhere. This RCP helps ensure that only AWS service principals can assume IAM role sessions with the IAM Roles Anywhere session tags, while allowing the role-sessions assumed by IAM Roles Anywhere to continue to set them as transitive session tags. This pairs well with a [service control policy that restricts the ability for someone to use the iam:TagRole and iam:TagUser permission from creating tags on IAM roles and users with the expected keys and values by IAM Roles Anywhere](https://github.com/aws-samples/service-control-policy-examples/blob/main/Service-specific-controls/AWS-IAMRolesAnywhere/Protect-IAMRA-Specific-Tags.json). The logic is that "Only an AWS service Principal can make a request for a role-session with any of those tags, or a session/role/user that already has one of those tags set". |


Expand Down