public function QueryErrors::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/ QueryErrors.php, line 108
Class
- QueryErrors
- Checks for abundant query errors.
Namespace
Drupal\security_review\ChecksCode
public function help() {
$paragraphs = [];
$paragraphs[] = $this
->t('Database errors triggered from the same IP may be an artifact of a malicious user attempting to probe the system for weaknesses like SQL injection or information disclosure.');
return [
'#theme' => 'check_help',
'#title' => $this
->t('Abundant query errors from the same IP'),
'#paragraphs' => $paragraphs,
];
}