Skip to content

Commit d480a1e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 31277fe of spec repo
1 parent e130c51 commit d480a1e

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
@@ -45795,6 +45795,13 @@ components:
4579545795
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).
4579645796
example: splunk-hec-source
4579745797
type: string
45798+
store_hec_token:
45799+
default: false
45800+
description: |-
45801+
If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
45802+
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
45803+
example: true
45804+
type: boolean
4579845805
tls:
4579945806
$ref: "#/components/schemas/ObservabilityPipelineTls"
4580045807
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)