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

Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::CloudControl.

A CloudControl is the fundamental unit encapsulating the rules to meet a specific security or compliance intent. It can contain various rule types (like Organization Policies, CEL expressions, etc.) enabling different enforcement modes (Preventive, Detective, Audit). CloudControls are often parameterized for reusability and can be either BUILT_IN (provided by Google) or CUSTOM (defined by the user).

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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.

#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 display name of the cloud control. The maximum length is 200 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The display name of the cloud control. The maximum length is 200 characters.
Returns
  • (::String) — Optional. The display name of the cloud control. The maximum length is 200 characters.

#finding_category

def finding_category() -> ::String
Returns
  • (::String) — Optional. The finding_category of the cloud control. The maximum length is 255 characters.

#finding_category=

def finding_category=(value) -> ::String
Parameter
  • value (::String) — Optional. The finding_category of the cloud control. The maximum length is 255 characters.
Returns
  • (::String) — Optional. The finding_category of the cloud control. The maximum length is 255 characters.

#major_revision_id

def major_revision_id() -> ::Integer
Returns
  • (::Integer) — Output only. Major revision of the cloud control incremented in ascending order.

#name

def name() -> ::String
Returns
  • (::String) — Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
Returns
  • (::String) — Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}

#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 CloudControl

#remediation_steps

def remediation_steps() -> ::String
Returns
  • (::String) — Optional. The remediation steps for the findings generated by the cloud control. The maximum length is 400 characters.

#remediation_steps=

def remediation_steps=(value) -> ::String
Parameter
  • value (::String) — Optional. The remediation steps for the findings generated by the cloud control. The maximum length is 400 characters.
Returns
  • (::String) — Optional. The remediation steps for the findings generated by the cloud control. 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