Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#categories
def categories() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlCategory>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlCategory>) — Optional. The categories for the cloud control.
#categories=
def categories=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlCategory>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlCategory>) — Optional. The categories for the cloud control.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlCategory>) — Optional. The categories for the cloud control.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. The time that the cloud control was last updated.
create_timeis used because a new cloud control is created whenever an existing cloud control is updated.
#description
def description() -> ::String
Returns
- (::String) — Optional. A description of the cloud control. The maximum length is 2000 characters.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. A description of the cloud control. The maximum length is 2000 characters.
Returns
- (::String) — Optional. A description of the cloud control. The maximum length is 2000 characters.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. The friendly name of the cloud control. The maximum length is 200 characters.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. The friendly name of the cloud control. The maximum length is 200 characters.
Returns
- (::String) — Optional. The friendly name of the cloud control. The maximum length is 200 characters.
#finding_category
def finding_category() -> ::String
Returns
- (::String) — Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
#finding_category=
def finding_category=(value) -> ::String
Parameter
- value (::String) — Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
Returns
- (::String) — Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
#major_revision_id
def major_revision_id() -> ::Integer
Returns
- (::Integer) — Output only. The major version of the cloud control, which is incremented in ascending order.
#name
def name() -> ::String
Returns
-
(::String) — Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}. The only supported location isglobal.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}. The only supported location isglobal.
Returns
-
(::String) — Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}. The only supported location isglobal.
#parameter_spec
def parameter_spec() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>) — Optional. The parameter specifications for the cloud control.
#parameter_spec=
def parameter_spec=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>) — Optional. The parameter specifications for the cloud control.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>) — Optional. The parameter specifications for the cloud control.
#related_frameworks
def related_frameworks() -> ::Array<::String>
Returns
- (::Array<::String>) — Output only. The frameworks that include this cloud control.
#remediation_steps
def remediation_steps() -> ::String
Returns
- (::String) — Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
#remediation_steps=
def remediation_steps=(value) -> ::String
Parameter
- value (::String) — Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
Returns
- (::String) — Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
#rules
def rules() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>) — Optional. The rules that you can enforce to meet your security or compliance intent.
#rules=
def rules=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>) — Optional. The rules that you can enforce to meet your security or compliance intent.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>) — Optional. The rules that you can enforce to meet your security or compliance intent.
#severity
def severity() -> ::Google::Cloud::CloudSecurityCompliance::V1::Severity
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::Severity) — Optional. The severity of the findings that are generated by the cloud control.
#severity=
def severity=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::Severity
Parameter
- value (::Google::Cloud::CloudSecurityCompliance::V1::Severity) — Optional. The severity of the findings that are generated by the cloud control.
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::Severity) — Optional. The severity of the findings that are generated by the cloud control.
#supported_cloud_providers
def supported_cloud_providers() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>) — Optional. The supported cloud providers.
#supported_cloud_providers=
def supported_cloud_providers=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>) — Optional. The supported cloud providers.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>) — Optional. The supported cloud providers.
#supported_enforcement_modes
def supported_enforcement_modes() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::EnforcementMode>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::EnforcementMode>) — Output only. The supported enforcement modes for the cloud control.
#supported_target_resource_types
def supported_target_resource_types() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>) — Optional. The target resource types that are supported by the cloud control.
#supported_target_resource_types=
def supported_target_resource_types=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>) — Optional. The target resource types that are supported by the cloud control.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>) — Optional. The target resource types that are supported by the cloud control.