Skip to content

Commit 2d491db

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cd43b6e of spec repo
1 parent f996cc7 commit 2d491db

20 files changed

+264
-14
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28208,6 +28208,10 @@ components:
2820828208
description: The `add_env_vars` processor adds environment variable values to
2820928209
log events.
2821028210
properties:
28211+
enabled:
28212+
description: The processor passes through all events if it is set to `false`.
28213+
Defaults to `true`.
28214+
type: boolean
2821128215
id:
2821228216
description: The unique identifier for this component. Used to reference
2821328217
this processor in the pipeline.
@@ -28267,6 +28271,10 @@ components:
2826728271
ObservabilityPipelineAddFieldsProcessor:
2826828272
description: The `add_fields` processor adds static key-value fields to logs.
2826928273
properties:
28274+
enabled:
28275+
description: The processor passes through all events if it is set to `false`.
28276+
Defaults to `true`.
28277+
type: boolean
2827028278
fields:
2827128279
description: A list of static fields (key-value pairs) that is added to
2827228280
each log event processed by this component.
@@ -28768,6 +28776,10 @@ components:
2876828776
Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with
2876928777
advanced filtering capabilities.
2877028778
properties:
28779+
enabled:
28780+
description: The processor passes through all events if it is set to `false`.
28781+
Defaults to `true`.
28782+
type: boolean
2877128783
id:
2877228784
description: The unique identifier for this processor.
2877328785
example: remap-vrl-processor
@@ -28940,6 +28952,10 @@ components:
2894028952
properties:
2894128953
action:
2894228954
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction'
28955+
enabled:
28956+
description: The processor passes through all events if it is set to `false`.
28957+
Defaults to `true`.
28958+
type: boolean
2894328959
id:
2894428960
description: The unique identifier for this component. Used to reference
2894528961
this component in other parts of the pipeline (for example, as the `input`
@@ -29025,6 +29041,10 @@ components:
2902529041
ObservabilityPipelineDedupeProcessor:
2902629042
description: The `dedupe` processor removes duplicate fields in log events.
2902729043
properties:
29044+
enabled:
29045+
description: The processor passes through all events if it is set to `false`.
29046+
Defaults to `true`.
29047+
type: boolean
2902829048
fields:
2902929049
description: A list of log field paths to check for duplicates.
2903029050
example:
@@ -29266,6 +29286,10 @@ components:
2926629286
description: The `enrichment_table` processor enriches logs using a static CSV
2926729287
file or GeoIP database.
2926829288
properties:
29289+
enabled:
29290+
description: The processor passes through all events if it is set to `false`.
29291+
Defaults to `true`.
29292+
type: boolean
2926929293
file:
2927029294
$ref: '#/components/schemas/ObservabilityPipelineEnrichmentTableFile'
2927129295
geoip:
@@ -29329,6 +29353,10 @@ components:
2932929353
on a Datadog search query. Logs that match the `include` query are passed
2933029354
through; others are discarded.
2933129355
properties:
29356+
enabled:
29357+
description: The processor passes through all events if it is set to `false`.
29358+
Defaults to `true`.
29359+
type: boolean
2933229360
id:
2933329361
description: The unique identifier for this component. Used to reference
2933429362
this component in other parts of the pipeline (for example, as the `input`
@@ -29439,6 +29467,10 @@ components:
2943929467

2944029468
'
2944129469
properties:
29470+
enabled:
29471+
description: The processor passes through all events if it is set to `false`.
29472+
Defaults to `true`.
29473+
type: boolean
2944229474
id:
2944329475
description: The unique identifier for this component. Used to reference
2944429476
this component in other parts of the pipeline.
@@ -30015,6 +30047,10 @@ components:
3001530047
description: The `ocsf_mapper` processor transforms logs into the OCSF schema
3001630048
using a predefined mapping configuration.
3001730049
properties:
30050+
enabled:
30051+
description: The processor passes through all events if it is set to `false`.
30052+
Defaults to `true`.
30053+
type: boolean
3001830054
id:
3001930055
description: The unique identifier for this component. Used to reference
3002030056
this component in other parts of the pipeline.
@@ -30149,6 +30185,10 @@ components:
3014930185
by Datadog.
3015030186
example: true
3015130187
type: boolean
30188+
enabled:
30189+
description: The processor passes through all events if it is set to `false`.
30190+
Defaults to `true`.
30191+
type: boolean
3015230192
id:
3015330193
description: A unique identifier for this processor.
3015430194
example: parse-grok-processor
@@ -30273,6 +30313,10 @@ components:
3027330313
and flattens it into the event. This is useful when logs contain embedded
3027430314
JSON as a string.
3027530315
properties:
30316+
enabled:
30317+
description: The processor passes through all events if it is set to `false`.
30318+
Defaults to `true`.
30319+
type: boolean
3027630320
field:
3027730321
description: The name of the log field that contains a JSON string.
3027830322
example: message
@@ -30336,6 +30380,10 @@ components:
3033630380
the filter query continue through the pipeline.
3033730381
example: false
3033830382
type: boolean
30383+
enabled:
30384+
description: The processor passes through all events if it is set to `false`.
30385+
Defaults to `true`.
30386+
type: boolean
3033930387
id:
3034030388
description: The unique identifier for this component. Used to reference
3034130389
this component in other parts of the pipeline (for example, as the `input`
@@ -30468,6 +30516,10 @@ components:
3046830516
description: The `reduce` processor aggregates and merges logs based on matching
3046930517
keys and merge strategies.
3047030518
properties:
30519+
enabled:
30520+
description: The processor passes through all events if it is set to `false`.
30521+
Defaults to `true`.
30522+
type: boolean
3047130523
group_by:
3047230524
description: A list of fields used to group log events for merging.
3047330525
example:
@@ -30564,6 +30616,10 @@ components:
3056430616
ObservabilityPipelineRemoveFieldsProcessor:
3056530617
description: The `remove_fields` processor deletes specified fields from logs.
3056630618
properties:
30619+
enabled:
30620+
description: The processor passes through all events if it is set to `false`.
30621+
Defaults to `true`.
30622+
type: boolean
3056730623
fields:
3056830624
description: A list of field names to be removed from each log event.
3056930625
example:
@@ -30611,6 +30667,10 @@ components:
3061130667
ObservabilityPipelineRenameFieldsProcessor:
3061230668
description: The `rename_fields` processor changes field names.
3061330669
properties:
30670+
enabled:
30671+
description: The processor passes through all events if it is set to `false`.
30672+
Defaults to `true`.
30673+
type: boolean
3061430674
fields:
3061530675
description: A list of rename rules specifying which fields to rename in
3061630676
the event, what to rename them to, and whether to preserve the original
@@ -30750,6 +30810,10 @@ components:
3075030810
description: The `sample` processor allows probabilistic sampling of logs at
3075130811
a fixed rate.
3075230812
properties:
30813+
enabled:
30814+
description: The processor passes through all events if it is set to `false`.
30815+
Defaults to `true`.
30816+
type: boolean
3075330817
id:
3075430818
description: The unique identifier for this component. Used to reference
3075530819
this component in other parts of the pipeline (for example, as the `input`
@@ -30801,6 +30865,10 @@ components:
3080130865
description: The `sensitive_data_scanner` processor detects and optionally redacts
3080230866
sensitive data in log events.
3080330867
properties:
30868+
enabled:
30869+
description: The processor passes through all events if it is set to `false`.
30870+
Defaults to `true`.
30871+
type: boolean
3080430872
id:
3080530873
description: The unique identifier for this component. Used to reference
3080630874
this component in other parts of the pipeline (e.g., as input to downstream
@@ -31806,6 +31874,10 @@ components:
3180631874
description: The `throttle` processor limits the number of events that pass
3180731875
through over a given time window.
3180831876
properties:
31877+
enabled:
31878+
description: The processor passes through all events if it is set to `false`.
31879+
Defaults to `true`.
31880+
type: boolean
3180931881
group_by:
3181031882
description: Optional list of fields used to group events before the threshold
3181131883
has been reached.

src/datadog_api_client/v2/model/observability_pipeline_add_env_vars_processor.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import List, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -31,6 +33,7 @@ def openapi_types(_):
3133
)
3234

3335
return {
36+
"enabled": (bool,),
3437
"id": (str,),
3538
"include": (str,),
3639
"inputs": ([str],),
@@ -39,6 +42,7 @@ def openapi_types(_):
3942
}
4043

4144
attribute_map = {
45+
"enabled": "enabled",
4246
"id": "id",
4347
"include": "include",
4448
"inputs": "inputs",
@@ -53,11 +57,15 @@ def __init__(
5357
inputs: List[str],
5458
type: ObservabilityPipelineAddEnvVarsProcessorType,
5559
variables: List[ObservabilityPipelineAddEnvVarsProcessorVariable],
60+
enabled: Union[bool, UnsetType] = unset,
5661
**kwargs,
5762
):
5863
"""
5964
The ``add_env_vars`` processor adds environment variable values to log events.
6065
66+
:param enabled: The processor passes through all events if it is set to ``false``. Defaults to ``true``.
67+
:type enabled: bool, optional
68+
6169
:param id: The unique identifier for this component. Used to reference this processor in the pipeline.
6270
:type id: str
6371
@@ -73,6 +81,8 @@ def __init__(
7381
:param variables: A list of environment variable mappings to apply to log fields.
7482
:type variables: [ObservabilityPipelineAddEnvVarsProcessorVariable]
7583
"""
84+
if enabled is not unset:
85+
kwargs["enabled"] = enabled
7686
super().__init__(kwargs)
7787

7888
self_.id = id

src/datadog_api_client/v2/model/observability_pipeline_add_fields_processor.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import List, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -27,6 +29,7 @@ def openapi_types(_):
2729
)
2830

2931
return {
32+
"enabled": (bool,),
3033
"fields": ([ObservabilityPipelineFieldValue],),
3134
"id": (str,),
3235
"include": (str,),
@@ -35,6 +38,7 @@ def openapi_types(_):
3538
}
3639

3740
attribute_map = {
41+
"enabled": "enabled",
3842
"fields": "fields",
3943
"id": "id",
4044
"include": "include",
@@ -49,11 +53,15 @@ def __init__(
4953
include: str,
5054
inputs: List[str],
5155
type: ObservabilityPipelineAddFieldsProcessorType,
56+
enabled: Union[bool, UnsetType] = unset,
5257
**kwargs,
5358
):
5459
"""
5560
The ``add_fields`` processor adds static key-value fields to logs.
5661
62+
:param enabled: The processor passes through all events if it is set to ``false``. Defaults to ``true``.
63+
:type enabled: bool, optional
64+
5765
:param fields: A list of static fields (key-value pairs) that is added to each log event processed by this component.
5866
:type fields: [ObservabilityPipelineFieldValue]
5967
@@ -69,6 +77,8 @@ def __init__(
6977
:param type: The processor type. The value should always be ``add_fields``.
7078
:type type: ObservabilityPipelineAddFieldsProcessorType
7179
"""
80+
if enabled is not unset:
81+
kwargs["enabled"] = enabled
7282
super().__init__(kwargs)
7383

7484
self_.fields = fields

src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ def __init__(self, **kwargs):
1515
"""
1616
A processor for the pipeline.
1717
18+
:param enabled: The processor passes through all events if it is set to `false`. Defaults to `true`.
19+
:type enabled: bool, optional
20+
1821
:param id: The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components).
1922
:type id: str
2023

src/datadog_api_client/v2/model/observability_pipeline_custom_processor.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import List, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -37,6 +39,7 @@ def openapi_types(_):
3739
)
3840

3941
return {
42+
"enabled": (bool,),
4043
"id": (str,),
4144
"include": (str,),
4245
"inputs": ([str],),
@@ -45,6 +48,7 @@ def openapi_types(_):
4548
}
4649

4750
attribute_map = {
51+
"enabled": "enabled",
4852
"id": "id",
4953
"include": "include",
5054
"inputs": "inputs",
@@ -58,11 +62,15 @@ def __init__(
5862
inputs: List[str],
5963
remaps: List[ObservabilityPipelineCustomProcessorRemap],
6064
type: ObservabilityPipelineCustomProcessorType,
65+
enabled: Union[bool, UnsetType] = unset,
6166
**kwargs,
6267
):
6368
"""
6469
The ``custom_processor`` processor transforms events using `Vector Remap Language (VRL) <https://vector.dev/docs/reference/vrl/>`_ scripts with advanced filtering capabilities.
6570
71+
:param enabled: The processor passes through all events if it is set to ``false``. Defaults to ``true``.
72+
:type enabled: bool, optional
73+
6674
:param id: The unique identifier for this processor.
6775
:type id: str
6876
@@ -78,6 +86,8 @@ def __init__(
7886
:param type: The processor type. The value should always be ``custom_processor``.
7987
:type type: ObservabilityPipelineCustomProcessorType
8088
"""
89+
if enabled is not unset:
90+
kwargs["enabled"] = enabled
8191
super().__init__(kwargs)
8292
include = kwargs.get("include", "*")
8393

0 commit comments

Comments
 (0)