GoogleCloudPlatform / security-response-automation

Take automated actions against threats and vulnerabilities.
Apache License 2.0
208 stars 52 forks source link

Use case insensitive equals in IAM revoke. #191

Closed daniel-cit closed 4 years ago

daniel-cit commented 4 years ago

When removing an external user from the project IAM policy it is necessary to use a case insensitive equals.

for example, added external user jane.doe@example.com would be Jane.Doe@example.com in the project policy, which would cause the code not to remove her from the policy.