function checkMatchingAction()

in src/rules/s3/S3BucketSSLRequestsOnly.ts [89:100]


function checkMatchingAction(actions: any): boolean {
  if (Array.isArray(actions)) {
    for (const action of actions) {
      if (action === '*' || action === 's3:*') {
        return true;
      }
    }
  } else if (actions === '*' || actions === 's3:*') {
    return true;
  }
  return false;
}