mirror of
https://github.com/Sea-Haven-Industries/seahaven-org-baseline.git
synced 2026-09-30 04:33:15 +00:00
* feat(iam): lock app-owned HCP IAM and add bootstrap SCP (PLAT-143) * fix(iam): pin HCP boundary ARNs and bootstrap trust window (PLAT-143) Null on iam:PermissionsBoundary accepted any ceiling, including AdministratorAccess. Import apply cannot self-mutate hcptf-* while bootstrap trust is iam-bootstrap only; add a time-boxed exact StringEquals workspace grant instead of StringLike.
28 lines
589 B
Cheetah
28 lines
589 B
Cheetah
{
|
|
"Version": "2012-10-17",
|
|
"Statement": [
|
|
{
|
|
"Sid": "RefreshIamRoles",
|
|
"Effect": "Allow",
|
|
"Action": [
|
|
"iam:GetRole",
|
|
"iam:GetRolePolicy",
|
|
"iam:ListAttachedRolePolicies",
|
|
"iam:ListRolePolicies"
|
|
],
|
|
"Resource": [
|
|
"arn:aws:iam::__ACCOUNT_ID__:role/tf-managed/*",
|
|
"arn:aws:iam::__ACCOUNT_ID__:role/hcptf-*"
|
|
]
|
|
},
|
|
{
|
|
"Sid": "RefreshManagedPolicies",
|
|
"Effect": "Allow",
|
|
"Action": [
|
|
"iam:GetPolicy",
|
|
"iam:GetPolicyVersion"
|
|
],
|
|
"Resource": "*"
|
|
}
|
|
]
|
|
}
|