You are here

function security_review_get_checklist in Security Review 7

Get core Security Review checks and checks from any hook_security_checks().

Return value

array Array of checks indexed by module name. e.g.: 'security_review' => array( 'check_name' => array(...) )

12 calls to security_review_get_checklist()
SecurityReviewSiteAuditCheckAbstract::calculateScore in ./security_review.site_audit.inc
Implements \SiteAudit\Check\Abstract\calculateScore().
SecurityReviewSiteAuditCheckAbstract::getDescription in ./security_review.site_audit.inc
Implements \SiteAudit\Check\Abstract\getDescription().
SecurityReviewSiteAuditCheckAbstract::getLabel in ./security_review.site_audit.inc
Implements \SiteAudit\Check\Abstract\getLabel().
SecurityReviewTestCase::testCheckResults in tests/security_review.test
SecurityReviewTestCase::testUI in tests/security_review.test

... See full list

1 string reference to 'security_review_get_checklist'
security_review_drush in ./security_review.drush.inc
Run checklist and display results command.

File

./security_review.inc, line 745
Stand-alone security checks and review system.

Code

function security_review_get_checklist() {
  $checks = _security_review_security_checks();
  $checks = array_merge($checks, module_invoke_all('security_checks'));
  return $checks;
}