diff --git a/iamlivecore/map.json b/iamlivecore/map.json index 6d276bb..fc8b253 100644 --- a/iamlivecore/map.json +++ b/iamlivecore/map.json @@ -24606,7 +24606,7 @@ "action": "iam:ListAttachedGroupPolicies", "resource_mappings": { "GroupNameWithPath": { - "template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/${GroupName}" + "template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%${GroupName}" } } } @@ -24616,7 +24616,7 @@ "action": "iam:ListAttachedRolePolicies", "resource_mappings": { "RoleNameWithPath": { - "template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/${RoleName}" + "template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%${RoleName}" } } } @@ -24626,7 +24626,7 @@ "action": "iam:ListAttachedUserPolicies", "resource_mappings": { "UserNameWithPath": { - "template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/${UserName}" + "template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%${UserName}" } } } @@ -24671,7 +24671,7 @@ "action": "iam:ListInstanceProfiles", "resource_mappings": { "InstanceProfileNameWithPath": { - "template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/*" + "template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%*" } } }