From 4a023f5f6299cf6a21758119846f5131548ffb0e Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 10 Sep 2025 22:10:18 +0000 Subject: [PATCH] Regenerate client from commit cd43b6e of spec repo --- .generator/schemas/v2/openapi.yaml | 72 +++++++++++++++++++ ...bservabilityPipelineAddEnvVarsProcessor.ts | 8 +++ ...ObservabilityPipelineAddFieldsProcessor.ts | 8 +++ .../ObservabilityPipelineCustomProcessor.ts | 8 +++ ...servabilityPipelineDatadogTagsProcessor.ts | 8 +++ .../ObservabilityPipelineDedupeProcessor.ts | 8 +++ ...abilityPipelineEnrichmentTableProcessor.ts | 8 +++ .../ObservabilityPipelineFilterProcessor.ts | 8 +++ ...abilityPipelineGenerateMetricsProcessor.ts | 8 +++ ...bservabilityPipelineOcsfMapperProcessor.ts | 8 +++ ...ObservabilityPipelineParseGrokProcessor.ts | 8 +++ ...ObservabilityPipelineParseJSONProcessor.ts | 8 +++ .../ObservabilityPipelineQuotaProcessor.ts | 8 +++ .../ObservabilityPipelineReduceProcessor.ts | 8 +++ ...ervabilityPipelineRemoveFieldsProcessor.ts | 8 +++ ...ervabilityPipelineRenameFieldsProcessor.ts | 8 +++ .../ObservabilityPipelineSampleProcessor.ts | 8 +++ ...tyPipelineSensitiveDataScannerProcessor.ts | 8 +++ .../ObservabilityPipelineThrottleProcessor.ts | 8 +++ 19 files changed, 216 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 085c5aa51a75..8c9919873eb2 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -28208,6 +28208,10 @@ components: description: The `add_env_vars` processor adds environment variable values to log events. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this processor in the pipeline. @@ -28267,6 +28271,10 @@ components: ObservabilityPipelineAddFieldsProcessor: description: The `add_fields` processor adds static key-value fields to logs. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean fields: description: A list of static fields (key-value pairs) that is added to each log event processed by this component. @@ -28768,6 +28776,10 @@ components: Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with advanced filtering capabilities. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this processor. example: remap-vrl-processor @@ -28940,6 +28952,10 @@ components: properties: action: $ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction' + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` @@ -29025,6 +29041,10 @@ components: ObservabilityPipelineDedupeProcessor: description: The `dedupe` processor removes duplicate fields in log events. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean fields: description: A list of log field paths to check for duplicates. example: @@ -29266,6 +29286,10 @@ components: description: The `enrichment_table` processor enriches logs using a static CSV file or GeoIP database. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean file: $ref: '#/components/schemas/ObservabilityPipelineEnrichmentTableFile' geoip: @@ -29329,6 +29353,10 @@ components: on a Datadog search query. Logs that match the `include` query are passed through; others are discarded. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` @@ -29439,6 +29467,10 @@ components: ' properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline. @@ -30015,6 +30047,10 @@ components: description: The `ocsf_mapper` processor transforms logs into the OCSF schema using a predefined mapping configuration. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline. @@ -30149,6 +30185,10 @@ components: by Datadog. example: true type: boolean + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: A unique identifier for this processor. example: parse-grok-processor @@ -30273,6 +30313,10 @@ components: and flattens it into the event. This is useful when logs contain embedded JSON as a string. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean field: description: The name of the log field that contains a JSON string. example: message @@ -30336,6 +30380,10 @@ components: the filter query continue through the pipeline. example: false type: boolean + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` @@ -30468,6 +30516,10 @@ components: description: The `reduce` processor aggregates and merges logs based on matching keys and merge strategies. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean group_by: description: A list of fields used to group log events for merging. example: @@ -30564,6 +30616,10 @@ components: ObservabilityPipelineRemoveFieldsProcessor: description: The `remove_fields` processor deletes specified fields from logs. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean fields: description: A list of field names to be removed from each log event. example: @@ -30611,6 +30667,10 @@ components: ObservabilityPipelineRenameFieldsProcessor: description: The `rename_fields` processor changes field names. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean fields: description: A list of rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original @@ -30750,6 +30810,10 @@ components: description: The `sample` processor allows probabilistic sampling of logs at a fixed rate. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` @@ -30801,6 +30865,10 @@ components: description: The `sensitive_data_scanner` processor detects and optionally redacts sensitive data in log events. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream @@ -31806,6 +31874,10 @@ components: description: The `throttle` processor limits the number of events that pass through over a given time window. properties: + enabled: + description: The processor passes through all events if it is set to `false`. + Defaults to `true`. + type: boolean group_by: description: Optional list of fields used to group events before the threshold has been reached. diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts index b53ea3f750f1..65868c4448ea 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `add_env_vars` processor adds environment variable values to log events. */ export class ObservabilityPipelineAddEnvVarsProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * The unique identifier for this component. Used to reference this processor in the pipeline. */ @@ -49,6 +53,10 @@ export class ObservabilityPipelineAddEnvVarsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts index f2dcae19d2c3..62c1e70e9f92 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `add_fields` processor adds static key-value fields to logs. */ export class ObservabilityPipelineAddFieldsProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * A list of static fields (key-value pairs) that is added to each log event processed by this component. */ @@ -49,6 +53,10 @@ export class ObservabilityPipelineAddFieldsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, fields: { baseName: "fields", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts index 303466edb1f2..e8489031067c 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `custom_processor` processor transforms events using [Vector Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with advanced filtering capabilities. */ export class ObservabilityPipelineCustomProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * The unique identifier for this processor. */ @@ -49,6 +53,10 @@ export class ObservabilityPipelineCustomProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts index e96f031a82be..ae498a91b6e3 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts @@ -17,6 +17,10 @@ export class ObservabilityPipelineDatadogTagsProcessor { * The action to take on tags with matching keys. */ "action": ObservabilityPipelineDatadogTagsProcessorAction; + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * 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). */ @@ -63,6 +67,10 @@ export class ObservabilityPipelineDatadogTagsProcessor { type: "ObservabilityPipelineDatadogTagsProcessorAction", required: true, }, + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts index 93eb24b3de77..36dcbffd21bd 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `dedupe` processor removes duplicate fields in log events. */ export class ObservabilityPipelineDedupeProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * A list of log field paths to check for duplicates. */ @@ -53,6 +57,10 @@ export class ObservabilityPipelineDedupeProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, fields: { baseName: "fields", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts index 2d810554f013..388e86723a58 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts @@ -13,6 +13,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `enrichment_table` processor enriches logs using a static CSV file or GeoIP database. */ export class ObservabilityPipelineEnrichmentTableProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * Defines a static enrichment table loaded from a CSV file. */ @@ -58,6 +62,10 @@ export class ObservabilityPipelineEnrichmentTableProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, file: { baseName: "file", type: "ObservabilityPipelineEnrichmentTableFile", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts index 9acbf9ff2c35..54f8d70b783e 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `filter` processor allows conditional processing of logs based on a Datadog search query. Logs that match the `include` query are passed through; others are discarded. */ export class ObservabilityPipelineFilterProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * 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). */ @@ -44,6 +48,10 @@ export class ObservabilityPipelineFilterProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts index 8ea8882848df..891c7cfd9d4b 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts @@ -13,6 +13,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * Metrics can be counters, gauges, or distributions and optionally grouped by log fields. */ export class ObservabilityPipelineGenerateMetricsProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline. */ @@ -50,6 +54,10 @@ export class ObservabilityPipelineGenerateMetricsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts index bf3b81d43068..467e22a012f4 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `ocsf_mapper` processor transforms logs into the OCSF schema using a predefined mapping configuration. */ export class ObservabilityPipelineOcsfMapperProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline. */ @@ -49,6 +53,10 @@ export class ObservabilityPipelineOcsfMapperProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts index 3516ee81976f..e0bac7096291 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts @@ -16,6 +16,10 @@ export class ObservabilityPipelineParseGrokProcessor { * If set to `true`, disables the default Grok rules provided by Datadog. */ "disableLibraryRules"?: boolean; + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * A unique identifier for this processor. */ @@ -57,6 +61,10 @@ export class ObservabilityPipelineParseGrokProcessor { baseName: "disable_library_rules", type: "boolean", }, + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts index 80679820a744..73a6e4b4b57e 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `parse_json` processor extracts JSON from a specified field and flattens it into the event. This is useful when logs contain embedded JSON as a string. */ export class ObservabilityPipelineParseJSONProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * The name of the log field that contains a JSON string. */ @@ -48,6 +52,10 @@ export class ObservabilityPipelineParseJSONProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, field: { baseName: "field", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts index 2e0a8bc5b804..7311cfeff74b 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts @@ -18,6 +18,10 @@ export class ObservabilityPipelineQuotaProcessor { * If set to `true`, logs that matched the quota filter and sent after the quota has been met are dropped; only logs that did not match the filter query continue through the pipeline. */ "dropEvents": boolean; + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * 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). */ @@ -83,6 +87,10 @@ export class ObservabilityPipelineQuotaProcessor { type: "boolean", required: true, }, + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts index 44c5bdd7a7ff..b631f7955891 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `reduce` processor aggregates and merges logs based on matching keys and merge strategies. */ export class ObservabilityPipelineReduceProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * A list of fields used to group log events for merging. */ @@ -53,6 +57,10 @@ export class ObservabilityPipelineReduceProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, groupBy: { baseName: "group_by", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts index 75b78c14b1b0..0127b64285ac 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `remove_fields` processor deletes specified fields from logs. */ export class ObservabilityPipelineRemoveFieldsProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * A list of field names to be removed from each log event. */ @@ -48,6 +52,10 @@ export class ObservabilityPipelineRemoveFieldsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, fields: { baseName: "fields", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts index edd622b70a48..d3e9fca7b035 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `rename_fields` processor changes field names. */ export class ObservabilityPipelineRenameFieldsProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * A list of rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original fields. */ @@ -49,6 +53,10 @@ export class ObservabilityPipelineRenameFieldsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, fields: { baseName: "fields", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts index d43e0182b633..8d7fb1dc2bbe 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `sample` processor allows probabilistic sampling of logs at a fixed rate. */ export class ObservabilityPipelineSampleProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * 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). */ @@ -52,6 +56,10 @@ export class ObservabilityPipelineSampleProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts index 6137f0b66da9..56c0166b4acd 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `sensitive_data_scanner` processor detects and optionally redacts sensitive data in log events. */ export class ObservabilityPipelineSensitiveDataScannerProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream components). */ @@ -49,6 +53,10 @@ export class ObservabilityPipelineSensitiveDataScannerProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts index 706dc4b34901..c0e950503f0f 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `throttle` processor limits the number of events that pass through over a given time window. */ export class ObservabilityPipelineThrottleProcessor { + /** + * The processor passes through all events if it is set to `false`. Defaults to `true`. + */ + "enabled"?: boolean; /** * Optional list of fields used to group events before the threshold has been reached. */ @@ -56,6 +60,10 @@ export class ObservabilityPipelineThrottleProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, groupBy: { baseName: "group_by", type: "Array",