Class Remediation (1.9.1)

Remediation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents remediation guidance to resolve compliance violation for AssuredWorkload

Attributes

NameDescription
instructions google.cloud.assuredworkloads_v1.types.Violation.Remediation.Instructions
Required. Remediation instructions to resolve violations
compliant_values MutableSequence[str]
Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
remediation_type google.cloud.assuredworkloads_v1.types.Violation.Remediation.RemediationType
Output only. Reemediation type based on the type of org policy values violated

Classes

Instructions

Instructions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Instructions to remediate violation

RemediationType

RemediationType(value)

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.

Values: REMEDIATION_TYPE_UNSPECIFIED (0): Unspecified remediation type REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION (1): Remediation type for boolean org policy REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION (2): Remediation type for list org policy which have allowed values in the monitoring rule REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION (3): Remediation type for list org policy which have denied values in the monitoring rule REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION (4): Remediation type for gcp.restrictCmekCryptoKeyProjects