def exposedKeysSummary()

in hq/app/logic/CredentialsReportDisplay.scala [129:134]


  def exposedKeysSummary(allReports: Map[AwsAccount, Either[FailedAttempt, List[ExposedIAMKeyDetail]]]): Map[AwsAccount, Boolean] = {
    allReports.view.mapValues {
      case Right(keys) if keys.nonEmpty => true
      case _ => false
    }.toMap
  }