Class: Google::Cloud::AssuredWorkloads::V1::Violation::Remediation
- Inherits:
-
Object
- Object
- Google::Cloud::AssuredWorkloads::V1::Violation::Remediation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/assuredworkloads/v1/assuredworkloads.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::AssuredWorkloads::V1::Violation::Remediation::Instructions
Required.
-
#remediation_type ⇒ ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::RemediationType
readonly
Output only.
Instance Attribute Details
#compliant_values ⇒ ::Array<::String>
Returns Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values.
632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'proto_docs/google/cloud/assuredworkloads/v1/assuredworkloads.rb', line 632 class Remediation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instructions to remediate violation # @!attribute [rw] gcloud_instructions # @return [::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions::Gcloud] # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] console_instructions # @return [::Google::Cloud::AssuredWorkloads::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 end end |
#instructions ⇒ ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions
Returns Required. Remediation instructions to resolve violations.
632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'proto_docs/google/cloud/assuredworkloads/v1/assuredworkloads.rb', line 632 class Remediation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instructions to remediate violation # @!attribute [rw] gcloud_instructions # @return [::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions::Gcloud] # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] console_instructions # @return [::Google::Cloud::AssuredWorkloads::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 end end |
#remediation_type ⇒ ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::RemediationType (readonly)
Returns Output only. Reemediation type based on the type of org policy values violated.
632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'proto_docs/google/cloud/assuredworkloads/v1/assuredworkloads.rb', line 632 class Remediation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instructions to remediate violation # @!attribute [rw] gcloud_instructions # @return [::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions::Gcloud] # Remediation instructions to resolve violation via gcloud cli # @!attribute [rw] console_instructions # @return [::Google::Cloud::AssuredWorkloads::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 end end |