Class: Google::Cloud::SecurityCenter::V1::SecurityPosture

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/security_posture.rb

Overview

Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.

Defined Under Namespace

Classes: PolicyDriftDetails

Instance Attribute Summary collapse

Instance Attribute Details

#changed_policy::String

Returns The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.

Returns:

  • (::String)

    The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns Name of the posture, for example, CIS-Posture.

Returns:

  • (::String)

    Name of the posture, for example, CIS-Posture.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#policy::String

Returns The ID of the updated policy, for example, compute-policy-1.

Returns:

  • (::String)

    The ID of the updated policy, for example, compute-policy-1.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#policy_drift_details::Array<::Google::Cloud::SecurityCenter::V1::SecurityPosture::PolicyDriftDetails>

Returns The details about a change in an updated policy that violates the deployed posture.

Returns:



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#policy_set::String

Returns The name of the updated policyset, for example, cis-policyset.

Returns:

  • (::String)

    The name of the updated policyset, for example, cis-policyset.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#posture_deployment::String

Returns The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.

Returns:

  • (::String)

    The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#posture_deployment_resource::String

Returns The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.

Returns:

  • (::String)

    The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#revision_id::String

Returns The version of the posture, for example, c7cfa2a8.

Returns:

  • (::String)

    The version of the posture, for example, c7cfa2a8.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 57

class SecurityPosture
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The policy field that violates the deployed posture and its expected and
  # detected values.
  # @!attribute [rw] field
  #   @return [::String]
  #     The name of the updated field, for example
  #     constraint.implementation.policy_rules[0].enforce
  # @!attribute [rw] expected_value
  #   @return [::String]
  #     The value of this field that was configured in a posture, for example,
  #     `true` or `allowed_values={"projects/29831892"}`.
  # @!attribute [rw] detected_value
  #   @return [::String]
  #     The detected value that violates the deployed posture, for example,
  #     `false` or `allowed_values={"projects/22831892"}`.
  class PolicyDriftDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end