Class: Google::Cloud::CloudControlsPartner::V1::Violation::Remediation
- Inherits:
-
Object
- Object
- Google::Cloud::CloudControlsPartner::V1::Violation::Remediation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/cloudcontrolspartner/v1/violations.rb
Overview
Represents remediation guidance to resolve compliance violation for AssuredWorkload
Defined Under Namespace
Modules: RemediationType Classes: Instructions
Instance Attribute Summary collapse
-
#compliant_values ⇒ ::Array<::String>
Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values.
-
#instructions ⇒ ::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions
Required.
-
#remediation_type ⇒ ::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::RemediationType
readonly
Output only.
Instance Attribute Details
#compliant_values ⇒ ::Array<::String>
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'proto_docs/google/cloud/cloudcontrolspartner/v1/violations.rb', line 81 class Remediation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instructions to remediate violation # @!attribute [rw] gcloud_instructions # @return [::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions::Gcloud] # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] console_instructions # @return [::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions::Console] # Remediation instructions to resolve violation via cloud console class Instructions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] gcloud_commands # @return [::Array<::String>] # Gcloud command to resolve violation # @!attribute [rw] steps # @return [::Array<::String>] # Steps to resolve violation via gcloud cli # @!attribute [rw] additional_links # @return [::Array<::String>] # Additional urls for more information about steps class Gcloud include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Remediation instructions to resolve violation via cloud console # @!attribute [rw] console_uris # @return [::Array<::String>] # Link to console page where violations can be resolved # @!attribute [rw] steps # @return [::Array<::String>] # Steps to resolve violation via cloud console # @!attribute [rw] additional_links # @return [::Array<::String>] # Additional urls for more information about steps class Console include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Classifying remediation into various types based on the kind of # violation. For example, violations caused due to changes in boolean org # policy requires different remediation instructions compared to violation # caused due to changes in allowed values of list org policy. module RemediationType # Unspecified remediation type REMEDIATION_TYPE_UNSPECIFIED = 0 # Remediation type for boolean org policy REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION = 1 # Remediation type for list org policy which have allowed values in the # monitoring rule REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION = 2 # Remediation type for list org policy which have denied values in the # monitoring rule REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION = 3 # Remediation type for gcp.restrictCmekCryptoKeyProjects REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION = 4 # Remediation type for resource violation. REMEDIATION_RESOURCE_VIOLATION = 5 end end |
#instructions ⇒ ::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'proto_docs/google/cloud/cloudcontrolspartner/v1/violations.rb', line 81 class Remediation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instructions to remediate violation # @!attribute [rw] gcloud_instructions # @return [::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions::Gcloud] # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] console_instructions # @return [::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions::Console] # Remediation instructions to resolve violation via cloud console class Instructions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] gcloud_commands # @return [::Array<::String>] # Gcloud command to resolve violation # @!attribute [rw] steps # @return [::Array<::String>] # Steps to resolve violation via gcloud cli # @!attribute [rw] additional_links # @return [::Array<::String>] # Additional urls for more information about steps class Gcloud include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Remediation instructions to resolve violation via cloud console # @!attribute [rw] console_uris # @return [::Array<::String>] # Link to console page where violations can be resolved # @!attribute [rw] steps # @return [::Array<::String>] # Steps to resolve violation via cloud console # @!attribute [rw] additional_links # @return [::Array<::String>] # Additional urls for more information about steps class Console include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Classifying remediation into various types based on the kind of # violation. For example, violations caused due to changes in boolean org # policy requires different remediation instructions compared to violation # caused due to changes in allowed values of list org policy. module RemediationType # Unspecified remediation type REMEDIATION_TYPE_UNSPECIFIED = 0 # Remediation type for boolean org policy REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION = 1 # Remediation type for list org policy which have allowed values in the # monitoring rule REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION = 2 # Remediation type for list org policy which have denied values in the # monitoring rule REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION = 3 # Remediation type for gcp.restrictCmekCryptoKeyProjects REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION = 4 # Remediation type for resource violation. REMEDIATION_RESOURCE_VIOLATION = 5 end end |
#remediation_type ⇒ ::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::RemediationType (readonly)
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'proto_docs/google/cloud/cloudcontrolspartner/v1/violations.rb', line 81 class Remediation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instructions to remediate violation # @!attribute [rw] gcloud_instructions # @return [::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions::Gcloud] # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] console_instructions # @return [::Google::Cloud::CloudControlsPartner::V1::Violation::Remediation::Instructions::Console] # Remediation instructions to resolve violation via cloud console class Instructions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] gcloud_commands # @return [::Array<::String>] # Gcloud command to resolve violation # @!attribute [rw] steps # @return [::Array<::String>] # Steps to resolve violation via gcloud cli # @!attribute [rw] additional_links # @return [::Array<::String>] # Additional urls for more information about steps class Gcloud include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Remediation instructions to resolve violation via cloud console # @!attribute [rw] console_uris # @return [::Array<::String>] # Link to console page where violations can be resolved # @!attribute [rw] steps # @return [::Array<::String>] # Steps to resolve violation via cloud console # @!attribute [rw] additional_links # @return [::Array<::String>] # Additional urls for more information about steps class Console include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Classifying remediation into various types based on the kind of # violation. For example, violations caused due to changes in boolean org # policy requires different remediation instructions compared to violation # caused due to changes in allowed values of list org policy. module RemediationType # Unspecified remediation type REMEDIATION_TYPE_UNSPECIFIED = 0 # Remediation type for boolean org policy REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION = 1 # Remediation type for list org policy which have allowed values in the # monitoring rule REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION = 2 # Remediation type for list org policy which have denied values in the # monitoring rule REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION = 3 # Remediation type for gcp.restrictCmekCryptoKeyProjects REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION = 4 # Remediation type for resource violation. REMEDIATION_RESOURCE_VIOLATION = 5 end end |