Class: DatadogAPIClient::V2::ObservabilityPipelineSplunkHecSourceValidToken

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source_valid_token.rb

Overview

An accepted HEC token used to authenticate incoming Splunk HEC requests.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



35
36
37
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source_valid_token.rb', line 35

def additional_properties
  @additional_properties
end

#enabledObject

Indicates whether this token is currently accepted. Disabled tokens are rejected without being removed from the configuration.



26
27
28
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source_valid_token.rb', line 26

def enabled
  @enabled
end

#field_to_addObject

An optional metadata field that is attached to every event authenticated by the associated token. Both key and value must match ^[A-Za-z0-9_]+$.



30
31
32
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source_valid_token.rb', line 30

def field_to_add
  @field_to_add
end

#token_keyObject

Name of the environment variable or secret that holds the expected HEC token value.



33
34
35
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source_valid_token.rb', line 33

def token_key
  @token_key
end