Class: Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec

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

Overview

A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under sourceProperties.

Defined Under Namespace

Classes: Property

Instance Attribute Summary collapse

Instance Attribute Details

#properties::Array<::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec::Property>

Returns A list of custom output properties to add to the finding.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_config.rb', line 63

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

  # An individual name-value pair that defines a custom source property.
  # @!attribute [rw] name
  #   @return [::String]
  #     Name of the property for the custom output.
  # @!attribute [rw] value_expression
  #   @return [::Google::Type::Expr]
  #     The CEL expression for the custom output. A resource property can be
  #     specified to return the value of the property or a text string enclosed
  #     in quotation marks.
  class Property
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end