NZTA\SDLT\Tasks\RandomControlWeightSet
Generate random control weights for every Risk defined in the database This is used for testing values in the security risk assessment matrix and should not be used in a production setting
Synopsis
class RandomControlWeightSet
extends BuildTask
{
- // members
- public string $title = 'Randomise control weights for risks';
- public object $description = 'This task will generate random control weights for ' . 'every Risk defined in the database. This is used for testing values ' . 'in the security risk assessment matrix. It will only run when the ' . 'site is in dev mode;
- private static string $segment = 'RandomControlWeightSet';
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $segment
public
- $description
- $title