aws-samples / aws-iam-identity-center-extensions

This solution is intended for enterprises that need a streamlined way of managing user access to their AWS accounts. Using this solution, your identity and access management teams can extend AWS SSO functionality by automating common access management and governance use cases
MIT License
65 stars 24 forks source link

Space in group or user name should raise error #95

Closed jjleigh closed 2 years ago

jjleigh commented 2 years ago

If you mistakenly add a file in the links_data folder that has a space in the group or user name the extension substitutes the space for a + symbol and tries to find a group with that name. If it does not exist it will not do anything and not indicate to the developer that there was an issue with the name. If it does exits it will lead the developer to believe that the assignment was done correctly when it was actually assigned to the wrong account. For example: account%123456789012%Billing-ps%team-Accoun ntants%GROUP%ssofile will become account%123456789012%Billing-ps%team-Accoun+ntants%GROUP%ssofile. Instead of the replacement the solution should raise a validation error.