You are here

function security_review_security_review_checks in Security Review 8

Implements hook_security_review_checks().

4 calls to security_review_security_review_checks()
ChecklistTest::setUp in tests/src/Kernel/ChecklistTest.php
Sets up the environment, populates the $checks variable.
ChecklistWebTest::setUp in tests/src/Functional/ChecklistWebTest.php
Sets up the testing environment.
CheckTest::setUp in tests/src/Kernel/CheckTest.php
Sets up the environment, populates the $checks variable.
CheckWebTest::setUp in tests/src/Functional/CheckWebTest.php
Sets up the testing environment, logs the user in, populates $check.

File

./security_review.module, line 29
Site security review and reporting Drupal module.

Code

function security_review_security_review_checks() {
  return [
    new AdminPermissions(),
    new ErrorReporting(),
    new ExecutablePhp(),
    new FailedLogins(),
    new Field(),
    new FilePermissions(),
    new InputFormats(),
    new PrivateFiles(),
    new QueryErrors(),
    new TemporaryFiles(),
    new TrustedHosts(),
    new UploadExtensions(),
    new ViewsAccess(),
  ];
}