Class: Google::Cloud::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.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::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec::Property>

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

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 324

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]
  #     Optional. Name of the property for the custom output.
  # @!attribute [rw] value_expression
  #   @return [::Google::Type::Expr]
  #     Optional. 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