Method |
Description |
|
__construct ( $envId ) |
|
|
clearCache ( ) |
Clears governance cache |
|
convertAsteriskPatternToRegexp ( string $pattern ) : string |
Converts astrisk(*) pattern to regular expression |
|
getEc2SecurityGroupPolicyNameForService ( string $serviceName ) : string |
Returns Security group policy name for service |
|
getValue ( string $category, string $name, string $option = 'value' ) : array |
Returns enabled policy settings. |
|
getValues ( boolean $enabledOnly = false ) : array |
Returns all governace policies settings. |
|
isEnabled ( string $category, string $name ) : boolean |
Returns policy status. |
|
isInstanceTypeAllowed ( string $platform, string $cloudLocation, string $instanceType ) : boolean |
Checks if instance type is allowed |
|
isSecurityGroupNameAllowed ( string $sgName, Array $patterns ) : boolean |
Checks if security group is allowed |
|
prepareSecurityGroupsPatterns ( string $list ) : Array |
Prepare governance security groups patterns |
|
setValue ( string $category, string $name, integer $enabled, array $value ) |
Sets policy settings. |
|