LambdaGuard icon indicating copy to clipboard operation
LambdaGuard copied to clipboard

wildcard actions not handled properly

Open rittneje opened this issue 2 years ago • 0 comments

This tool does not handle wildcards in IAM policy actions properly, because it only does literal string matches. For example, the PrivilegeEscalation class will not detect any issue if my policy grants "iam:Create*". All the IAM policy checking logic needs to be rewritten to treat wildcards as actual wildcards (perhaps via regex) instead of only doing literal string matches.

rittneje avatar Jun 08 '22 15:06 rittneje