You are here

public function FilePermissions::storesFindings in Security Review 8

Returns whether the findings should be stored or reproduced when needed.

The only case when this function should return false is if the check can generate a lot of findings (like the File permissions check for example). Turning this off for checks that don't generate findings at all or just a few of them actually means more overhead as the check has to be re-run in order to get its last result.

Return value

bool Boolean indicating whether findings will be stored.

Overrides Check::storesFindings

File

src/Checks/FilePermissions.php, line 41

Class

FilePermissions
Check that files aren't writeable by the server.

Namespace

Drupal\security_review\Checks

Code

public function storesFindings() {
  return FALSE;
}