Skip to content

Commit

Permalink
Tweak regex matches for #35
Browse files Browse the repository at this point in the history
  • Loading branch information
iann0036 committed Feb 28, 2024
1 parent 5c9f4ee commit e95134c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iamlivecore/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -24606,7 +24606,7 @@
"action": "iam:ListAttachedGroupPolicies",
"resource_mappings": {
"GroupNameWithPath": {
"template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/${GroupName}"
"template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%${GroupName}"
}
}
}
Expand All @@ -24616,7 +24616,7 @@
"action": "iam:ListAttachedRolePolicies",
"resource_mappings": {
"RoleNameWithPath": {
"template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/${RoleName}"
"template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%${RoleName}"
}
}
}
Expand All @@ -24626,7 +24626,7 @@
"action": "iam:ListAttachedUserPolicies",
"resource_mappings": {
"UserNameWithPath": {
"template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/${UserName}"
"template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%${UserName}"
}
}
}
Expand Down Expand Up @@ -24671,7 +24671,7 @@
"action": "iam:ListInstanceProfiles",
"resource_mappings": {
"InstanceProfileNameWithPath": {
"template": "%%regex%${PathPrefix}%/^\\/?(.+?)\\/?$/g%%/*"
"template": "%%regex%${PathPrefix}%/^\\/?(.+?\\/)?$/g%%*"
}
}
}
Expand Down

0 comments on commit e95134c

Please sign in to comment.