Skip to content

Commit

Permalink
[sync] Revert changes to aws_ami_modified_for_public_access.py/.yml (#48
Browse files Browse the repository at this point in the history
) (#1067)
  • Loading branch information
Evan Gibler authored Jan 23, 2024
1 parent df57b3d commit 5aa65f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def rule(event):
)

for item in added_perms:
if item.get("userId") or item.get("group") == "all":
if item.get("group") == "all":
return True

return False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Tests:
}
-
Name: AMI Added to User
ExpectedResult: true
ExpectedResult: false
Log:
{
"awsRegion": "us-west-2",
Expand Down

0 comments on commit 5aa65f5

Please sign in to comment.