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

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

The policy field that violates the deployed posture and its expected and detected values.

Instance Attribute Summary collapse

Instance Attribute Details

#detected_value::String

Returns The detected value that violates the deployed posture, for example, false or allowed_values={"projects/22831892"}.

Returns:

  • (::String)

    The detected value that violates the deployed posture, for example, false or allowed_values={"projects/22831892"}.



75
76
77
78
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 75

class PolicyDriftDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#expected_value::String

Returns The value of this field that was configured in a posture, for example, true or allowed_values={"projects/29831892"}.

Returns:

  • (::String)

    The value of this field that was configured in a posture, for example, true or allowed_values={"projects/29831892"}.



75
76
77
78
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 75

class PolicyDriftDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#field::String

Returns The name of the updated field, for example constraint.implementation.policy_rules[0].enforce.

Returns:

  • (::String)

    The name of the updated field, for example constraint.implementation.policy_rules[0].enforce



75
76
77
78
# File 'proto_docs/google/cloud/securitycenter/v1/security_posture.rb', line 75

class PolicyDriftDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end