‪TYPO3CMS  ‪main
TYPO3\CMS\Reports\Report\Status\SecurityStatus Class Reference
Inheritance diagram for TYPO3\CMS\Reports\Report\Status\SecurityStatus:
TYPO3\CMS\Reports\RequestAwareStatusProviderInterface TYPO3\CMS\Reports\StatusProviderInterface

Public Member Functions

ReportStatus[] getStatus (ServerRequestInterface $request=null)
 
 getLabel ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Reports\StatusProviderInterface
Status[] getStatus ()
 

Protected Member Functions

 getEncryptedConnectionStatus (ServerRequestInterface $request)
 
ReportStatus getLockSslStatus (ServerRequestInterface $request)
 
ReportStatus getTrustedHostsPatternStatus ()
 
ReportStatus getFileDenyPatternStatus ()
 
ReportStatus getHtaccessUploadStatus ()
 
 getExceptionHandlerStatus ()
 
 getExportedFilesStatus ()
 
 getLanguageService ()
 

Protected Attributes

ServerRequestInterface $request
 

Detailed Description

Performs several checks about the system's health

Definition at line 34 of file SecurityStatus.php.

Member Function Documentation

◆ getEncryptedConnectionStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getEncryptedConnectionStatus ( ServerRequestInterface  $request)
protected

◆ getExceptionHandlerStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getExceptionHandlerStatus ( )
protected

◆ getExportedFilesStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getExportedFilesStatus ( )
protected

◆ getFileDenyPatternStatus()

ReportStatus TYPO3\CMS\Reports\Report\Status\SecurityStatus::getFileDenyPatternStatus ( )
protected

Checks if fileDenyPattern was changed which is dangerous on Apache

Returns
‪ReportStatus An object representing whether the file deny pattern has changed

Definition at line 141 of file SecurityStatus.php.

References TYPO3\CMS\Reports\Report\Status\SecurityStatus\getLanguageService().

Referenced by TYPO3\CMS\Reports\Report\Status\SecurityStatus\getStatus().

◆ getHtaccessUploadStatus()

ReportStatus TYPO3\CMS\Reports\Report\Status\SecurityStatus::getHtaccessUploadStatus ( )
protected

Checks if fileDenyPattern allows to upload .htaccess files which is dangerous on Apache.

Returns
‪ReportStatus An object representing whether it's possible to upload .htaccess files

Definition at line 166 of file SecurityStatus.php.

References TYPO3\CMS\Reports\Report\Status\SecurityStatus\getLanguageService().

Referenced by TYPO3\CMS\Reports\Report\Status\SecurityStatus\getStatus().

◆ getLabel()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getLabel ( )

Return label of this status

Implements TYPO3\CMS\Reports\StatusProviderInterface.

Definition at line 67 of file SecurityStatus.php.

◆ getLanguageService()

◆ getLockSslStatus()

ReportStatus TYPO3\CMS\Reports\Report\Status\SecurityStatus::getLockSslStatus ( ServerRequestInterface  $request)
protected

◆ getStatus()

◆ getTrustedHostsPatternStatus()

ReportStatus TYPO3\CMS\Reports\Report\Status\SecurityStatus::getTrustedHostsPatternStatus ( )
protected

Checks if the trusted hosts pattern check is disabled.

Returns
‪ReportStatus An object representing whether the check is disabled

Definition at line 121 of file SecurityStatus.php.

References $GLOBALS, TYPO3\CMS\Core\Middleware\VerifyHostHeader\ENV_TRUSTED_HOSTS_PATTERN_ALLOW_ALL, and TYPO3\CMS\Reports\Report\Status\SecurityStatus\getLanguageService().

Referenced by TYPO3\CMS\Reports\Report\Status\SecurityStatus\getStatus().

Member Data Documentation

◆ $request

ServerRequestInterface TYPO3\CMS\Reports\Report\Status\SecurityStatus::$request
protected