Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::CloudControl (v0.2.0)

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

#categories=

def categories=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlCategory>
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The time that the cloud control was last updated. create_time is 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 is global.

#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 is global.
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 is global.

#parameter_spec

def parameter_spec() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>
Returns

#parameter_spec=

def parameter_spec=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>
Parameter
Returns
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

#rules=

def rules=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>
Parameter
Returns

#severity

def severity() -> ::Google::Cloud::CloudSecurityCompliance::V1::Severity
Returns

#severity=

def severity=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::Severity
Parameter
Returns

#supported_cloud_providers

def supported_cloud_providers() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>
Returns

#supported_cloud_providers=

def supported_cloud_providers=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>
Parameter
Returns

#supported_enforcement_modes

def supported_enforcement_modes() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::EnforcementMode>
Returns

#supported_target_resource_types

def supported_target_resource_types() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>
Returns

#supported_target_resource_types=

def supported_target_resource_types=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceType>
Parameter
Returns