You are here

public function FailedLogins::help in Security Review 8

Returns the check-specific help page.

Return value

array The render array of the check's help page.

Overrides Check::help

File

src/Checks/FailedLogins.php, line 95

Class

FailedLogins
Checks for abundant failed logins.

Namespace

Drupal\security_review\Checks

Code

public function help() {
  $paragraphs = [];
  $paragraphs[] = $this
    ->t('Failed login attempts from the same IP may be an artifact of a malicious user attempting to brute-force their way onto your site as an authenticated user to carry out nefarious deeds.');
  return [
    '#theme' => 'check_help',
    '#title' => $this
      ->t('Abundant failed logins from the same IP'),
    '#paragraphs' => $paragraphs,
  ];
}