Skip to content

Commit

Permalink
Bugfix: S3 Permissions for AWS Wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdfuller committed Jun 28, 2019
1 parent 9706b91 commit 0a8fc0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/aws/s3/bucketAllUsersPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ module.exports = {
} else if (statement.Principal.length &&
statement.Principal.indexOf('*') > -1) {
starPrincipal = true;
} else if (statement.Principal.AWS &&
statement.Principal.AWS === '*') {
starPrincipal = true;
}
}

Expand Down

0 comments on commit 0a8fc0d

Please sign in to comment.