BringYourOwnIdeas\SecurityChecker\Tasks\SecurityAlertCheckTask
Checks if there are any insecure dependencies.
Synopsis
class SecurityAlertCheckTask
extends BuildTask
{
- // members
- private static string $segment = 'SecurityAlertCheckTask';
- protected SecurityChecker $securityChecker;
- private static array $dependencies = ;
- protected string $title = 'Composer security checker';
- protected string $description = 'Checks if any modules managed through composer have known security vulnerabilities at the used version.';
- // methods
- public SecurityChecker getSecurityChecker()
- public $this setSecurityChecker()
- protected string discernIdentifier()
- public void run()
- protected void output()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $dependencies
- $segment
protected
- $description
- $securityChecker — SensioLabs\Security\SecurityChecker
- $title
Methods
protected
- discernIdentifier() — Most SilverStripe issued alerts are _not_ assiged CVEs.
- output() — prints a message during the run of the task