Skip to content

Commit 74eb8a4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0cb6f32 of spec repo
1 parent a9069b7 commit 74eb8a4

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45830,6 +45830,13 @@ components:
4583045830
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).
4583145831
example: splunk-hec-source
4583245832
type: string
45833+
store_hec_token:
45834+
default: false
45835+
description: |-
45836+
If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
45837+
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
45838+
example: true
45839+
type: boolean
4583345840
tls:
4583445841
$ref: "#/components/schemas/ObservabilityPipelineTls"
4583545842
type:

src/datadog_api_client/v2/model/observability_pipeline_config_source_item.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ def __init__(self, **kwargs):
9191
:param framing: Framing method configuration for the socket source.
9292
:type framing: ObservabilityPipelineSocketSourceFraming
9393
94+
:param store_hec_token: If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
95+
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
96+
:type store_hec_token: bool, optional
97+
9498
:param grpc_address_key: Environment variable name containing the gRPC server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).
9599
:type grpc_address_key: str, optional
96100

src/datadog_api_client/v2/model/observability_pipeline_splunk_hec_source.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ def openapi_types(_):
3131
return {
3232
"address_key": (str,),
3333
"id": (str,),
34+
"store_hec_token": (bool,),
3435
"tls": (ObservabilityPipelineTls,),
3536
"type": (ObservabilityPipelineSplunkHecSourceType,),
3637
}
3738

3839
attribute_map = {
3940
"address_key": "address_key",
4041
"id": "id",
42+
"store_hec_token": "store_hec_token",
4143
"tls": "tls",
4244
"type": "type",
4345
}
@@ -47,6 +49,7 @@ def __init__(
4749
id: str,
4850
type: ObservabilityPipelineSplunkHecSourceType,
4951
address_key: Union[str, UnsetType] = unset,
52+
store_hec_token: Union[bool, UnsetType] = unset,
5053
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
5154
**kwargs,
5255
):
@@ -61,6 +64,10 @@ def __init__(
6164
:param id: 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).
6265
:type id: str
6366
67+
:param store_hec_token: If ``true`` , the HEC token is stored in the event's metadata and made available to the Enrichment Table
68+
processor and the ``splunk_hec`` destination for routing or enrichment based on the token. Defaults to ``false``.
69+
:type store_hec_token: bool, optional
70+
6471
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
6572
:type tls: ObservabilityPipelineTls, optional
6673
@@ -69,6 +76,8 @@ def __init__(
6976
"""
7077
if address_key is not unset:
7178
kwargs["address_key"] = address_key
79+
if store_hec_token is not unset:
80+
kwargs["store_hec_token"] = store_hec_token
7281
if tls is not unset:
7382
kwargs["tls"] = tls
7483
super().__init__(kwargs)

0 commit comments

Comments
 (0)