- Resource: CloudControl
- Methods
Resource: CloudControl
A cloud control is a set of rules and associated metadata that you can use to define your organization's security or compliance intent.
| JSON representation |
|---|
{ "name": string, "majorRevisionId": string, "description": string, "displayName": string, "supportedEnforcementModes": [ enum ( |
| Fields | |
|---|---|
name |
Required. Identifier. The name of the cloud control, in the format |
majorRevisionId |
Output only. The major version of the cloud control, which is incremented in ascending order. |
description |
Optional. A description of the cloud control. The maximum length is 2000 characters. |
displayName |
Optional. The friendly name of the cloud control. The maximum length is 200 characters. |
supportedEnforcementModes[] |
Output only. The supported enforcement modes for the cloud control. |
parameterSpec[] |
Optional. The parameter specifications for the cloud control. |
rules[] |
Optional. The rules that you can enforce to meet your security or compliance intent. |
severity |
Optional. The severity of the findings that are generated by the cloud control. |
findingCategory |
Optional. The finding category for the cloud control findings. The maximum length is 255 characters. |
supportedCloudProviders[] |
Optional. The supported cloud providers. |
relatedFrameworks[] |
Output only. The frameworks that include this cloud control. |
remediationSteps |
Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters. |
categories[] |
Optional. The categories for the cloud control. |
createTime |
Output only. The time that the cloud control was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
supportedTargetResourceTypes[] |
Optional. The target resource types that are supported by the cloud control. |
ParameterSpec
The parameter specification for the cloud control.
| JSON representation |
|---|
{ "name": string, "displayName": string, "description": string, "isRequired": boolean, "valueType": enum ( |
| Fields | |
|---|---|
name |
Required. The name of the parameter. |
displayName |
Optional. The friendly name of the parameter. The maximum length is 200 characters. |
description |
Optional. The description of the parameter. The maximum length is 2000 characters. |
isRequired |
Required. Whether the parameter is required. |
valueType |
Required. The parameter value type. |
defaultValue |
Optional. The default value of the parameter. |
substitutionRules[] |
Optional. The list of parameter substitutions. |
subParameters[] |
Optional. The parameter specification for |
validation |
Optional. The permitted set of values for the parameter. |
ValueType
The type of parameter value.
| Enums | |
|---|---|
VALUE_TYPE_UNSPECIFIED |
Default value. This value is unused. |
STRING |
A string value. |
BOOLEAN |
A boolean value. |
STRINGLIST |
A string list value. |
NUMBER |
A numeric value. |
ONEOF |
A oneOf value. |
ParameterSubstitutionRule
The parameter substitution rules.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field substitution_type. The type of substitution. substitution_type can be only one of the following: |
|
placeholderSubstitutionRule |
The placeholder substitution rule. |
attributeSubstitutionRule |
The attribute substitution rule. |
PlaceholderSubstitutionRule
The placeholder that's substituted in the rendered string.
| JSON representation |
|---|
{ "attribute": string } |
| Fields | |
|---|---|
attribute |
The fully qualified proto attribute path, in dot notation. |
AttributeSubstitutionRule
The attribute at the given path that's substituted entirely.
| JSON representation |
|---|
{ "attribute": string } |
| Fields | |
|---|---|
attribute |
The fully qualified proto attribute path, in dot notation. For example: |
Validation
The validation of the parameter.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field constraint. Defines validators for parameter values. constraint can be only one of the following: |
|
allowedValues |
The permitted set of values for the parameter. |
intRange |
The permitted range for numeric parameters. |
regexpPattern |
The regular expression for string parameters. |
AllowedValues
The allowed set of values for the parameter.
| JSON representation |
|---|
{
"values": [
{
object ( |
| Fields | |
|---|---|
values[] |
Required. The list of allowed values for the parameter. |
IntRange
The number range for number parameters.
| JSON representation |
|---|
{ "min": string, "max": string } |
| Fields | |
|---|---|
min |
Required. The minimum permitted value for the numeric parameter (inclusive). |
max |
Required. The maximum permitted value for the numeric parameter (inclusive). |
RegexpPattern
The regular expression (regex) validator for parameter values.
| JSON representation |
|---|
{ "pattern": string } |
| Fields | |
|---|---|
pattern |
Required. The regex pattern to match the values of the parameter with. |
CloudControlCategory
The category for the cloud control.
| Enums | |
|---|---|
CLOUD_CONTROL_CATEGORY_UNSPECIFIED |
Default value. This value is unused. |
CC_CATEGORY_INFRASTRUCTURE |
The infrastructure security category. |
CC_CATEGORY_ARTIFICIAL_INTELLIGENCE |
The artificial intelligence category. |
CC_CATEGORY_PHYSICAL_SECURITY |
The physical security category. |
CC_CATEGORY_DATA_SECURITY |
The data security category. |
CC_CATEGORY_NETWORK_SECURITY |
The network security category. |
CC_CATEGORY_INCIDENT_MANAGEMENT |
The incident management category. |
CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT |
The identity and access management category. |
CC_CATEGORY_ENCRYPTION |
The encryption category. |
CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE |
The logs management and infrastructure category. |
CC_CATEGORY_HR_ADMIN_AND_PROCESSES |
The HR, admin, and processes category. |
CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT |
The third-party and sub-processor management category. |
CC_CATEGORY_LEGAL_AND_DISCLOSURES |
The legal and disclosures category. |
CC_CATEGORY_VULNERABILITY_MANAGEMENT |
The vulnerability management category. |
CC_CATEGORY_PRIVACY |
The privacy category. |
CC_CATEGORY_BCDR |
The business continuity and disaster recovery (BCDR) category. |
Methods |
|
|---|---|
|
Creates a custom cloud control in a given parent resource. |
|
Deletes a custom cloud control, including all its major and minor revisions. |
|
Gets details about a cloud control. |
|
Lists the cloud controls (both built-in and custom) that are available in a given parent resource. |
|
Updates a custom cloud control. |