Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45795,6 +45795,13 @@ components:
description: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
example: splunk-hec-source
type: string
store_hec_token:
default: false
description: |-
If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
example: true
type: boolean
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
type:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class ObservabilityPipelineSplunkHecSource
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
attr_reader :id

# If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
# processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
attr_accessor :store_hec_token

# Configuration for enabling TLS encryption between the pipeline component and external services.
attr_accessor :tls

Expand All @@ -43,6 +47,7 @@ def self.attribute_map
{
:'address_key' => :'address_key',
:'id' => :'id',
:'store_hec_token' => :'store_hec_token',
:'tls' => :'tls',
:'type' => :'type'
}
Expand All @@ -54,6 +59,7 @@ def self.openapi_types
{
:'address_key' => :'String',
:'id' => :'String',
:'store_hec_token' => :'Boolean',
:'tls' => :'ObservabilityPipelineTls',
:'type' => :'ObservabilityPipelineSplunkHecSourceType'
}
Expand Down Expand Up @@ -85,6 +91,10 @@ def initialize(attributes = {})
self.id = attributes[:'id']
end

if attributes.key?(:'store_hec_token')
self.store_hec_token = attributes[:'store_hec_token']
end

if attributes.key?(:'tls')
self.tls = attributes[:'tls']
end
Expand Down Expand Up @@ -151,6 +161,7 @@ def ==(o)
self.class == o.class &&
address_key == o.address_key &&
id == o.id &&
store_hec_token == o.store_hec_token &&
tls == o.tls &&
type == o.type &&
additional_properties == o.additional_properties
Expand All @@ -160,7 +171,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[address_key, id, tls, type, additional_properties].hash
[address_key, id, store_hec_token, tls, type, additional_properties].hash
end
end
end
Loading