Skip to content

Commit d597202

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Observability Pipelines - Updating descriptions and making the tags field optional not required (#3548)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent c6b7c93 commit d597202

6 files changed

+14
-11
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44218,7 +44218,10 @@ components:
4421844218
action:
4421944219
$ref: "#/components/schemas/ObservabilityPipelineSensitiveDataScannerProcessorActionHashAction"
4422044220
options:
44221-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionHash` `options`.
44221+
description: |-
44222+
Optional settings for the hash action. When omitted or empty, matched sensitive data is
44223+
replaced with a deterministic hashed value that preserves structure for analytics while
44224+
protecting the original content. Reserved for future hash configuration (for example, algorithm or salt).
4422244225
type: object
4422344226
required: [action]
4422444227
type: object
@@ -44249,7 +44252,7 @@ components:
4424944252
description: Controls how partial redaction is applied, including character count and direction.
4425044253
properties:
4425144254
characters:
44252-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions` `characters`.
44255+
description: Number of characters to leave visible from the start or end of the matched value; the rest are redacted.
4425344256
example: 4
4425444257
format: int64
4425544258
type: integer
@@ -44285,7 +44288,7 @@ components:
4428544288
description: Configuration for fully redacting sensitive data.
4428644289
properties:
4428744290
replace:
44288-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions` `replace`.
44291+
description: The string used to replace matched sensitive data (for example, "***" or "[REDACTED]").
4428944292
example: "***"
4429044293
type: string
4429144294
required: [replace]
@@ -44395,7 +44398,6 @@ components:
4439544398
type: array
4439644399
required:
4439744400
- name
44398-
- tags
4439944401
- pattern
4440044402
- scope
4440144403
- on_match
@@ -44456,7 +44458,7 @@ components:
4445644458
description: Fields to which the scope rule applies.
4445744459
properties:
4445844460
fields:
44459-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions` `fields`.
44461+
description: List of log attribute names (field paths) to which the scope applies. Only these fields are included in or excluded from pattern matching.
4446044462
example:
4446144463
- ""
4446244464
items:

packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessorActionHash.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export class ObservabilityPipelineSensitiveDataScannerProcessorActionHash {
1616
*/
1717
"action": ObservabilityPipelineSensitiveDataScannerProcessorActionHashAction;
1818
/**
19-
* The `ObservabilityPipelineSensitiveDataScannerProcessorActionHash` `options`.
19+
* Optional settings for the hash action. When omitted or empty, matched sensitive data is
20+
* replaced with a deterministic hashed value that preserves structure for analytics while
21+
* protecting the original content. Reserved for future hash configuration (for example, algorithm or salt).
2022
*/
2123
"options"?: any;
2224

packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
*/
1313
export class ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions {
1414
/**
15-
* The `ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions` `characters`.
15+
* Number of characters to leave visible from the start or end of the matched value; the rest are redacted.
1616
*/
1717
"characters": number;
1818
/**

packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111
*/
1212
export class ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions {
1313
/**
14-
* The `ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions` `replace`.
14+
* The string used to replace matched sensitive data (for example, "***" or "[REDACTED]").
1515
*/
1616
"replace": string;
1717

packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessorRule.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class ObservabilityPipelineSensitiveDataScannerProcessorRule {
3737
/**
3838
* Tags assigned to this rule for filtering and classification.
3939
*/
40-
"tags": Array<string>;
40+
"tags"?: Array<string>;
4141

4242
/**
4343
* A container for additional, undeclared properties.
@@ -82,7 +82,6 @@ export class ObservabilityPipelineSensitiveDataScannerProcessorRule {
8282
tags: {
8383
baseName: "tags",
8484
type: "Array<string>",
85-
required: true,
8685
},
8786
additionalProperties: {
8887
baseName: "additionalProperties",

packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111
*/
1212
export class ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions {
1313
/**
14-
* The `ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions` `fields`.
14+
* List of log attribute names (field paths) to which the scope applies. Only these fields are included in or excluded from pattern matching.
1515
*/
1616
"fields": Array<string>;
1717

0 commit comments

Comments
 (0)