Class: DatadogAPIClient::V2::ObservabilityPipelineSplunkHecSourceValidToken
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineSplunkHecSourceValidToken
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Indicates whether this token is currently accepted.
-
#field_to_add ⇒ Object
An optional metadata field that is attached to every event authenticated by the associated token.
-
#token_key ⇒ Object
readonly
Name of the environment variable or secret that holds the expected HEC token value.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#enabled ⇒ Object
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_add ⇒ Object
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_key ⇒ Object
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 |