Skip to content

Commit 22732af

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1f4b035 of spec repo
1 parent ca4fc36 commit 22732af

6 files changed

Lines changed: 26 additions & 18 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45971,8 +45971,14 @@ components:
4597145971
action:
4597245972
$ref: '#/components/schemas/ObservabilityPipelineSensitiveDataScannerProcessorActionHashAction'
4597345973
options:
45974-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionHash`
45975-
`options`.
45974+
description: 'Optional settings for the hash action. When omitted or empty,
45975+
matched sensitive data is
45976+
45977+
replaced with a deterministic hashed value that preserves structure for
45978+
analytics while
45979+
45980+
protecting the original content. Reserved for future hash configuration
45981+
(for example, algorithm or salt).'
4597645982
type: object
4597745983
required:
4597845984
- action
@@ -46012,8 +46018,8 @@ components:
4601246018
count and direction.
4601346019
properties:
4601446020
characters:
46015-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions`
46016-
`characters`.
46021+
description: Number of characters to leave visible from the start or end
46022+
of the matched value; the rest are redacted.
4601746023
example: 4
4601846024
format: int64
4601946025
type: integer
@@ -46058,8 +46064,8 @@ components:
4605846064
description: Configuration for fully redacting sensitive data.
4605946065
properties:
4606046066
replace:
46061-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions`
46062-
`replace`.
46067+
description: The string used to replace matched sensitive data (for example,
46068+
"***" or "[REDACTED]").
4606346069
example: '***'
4606446070
type: string
4606546071
required:
@@ -46187,7 +46193,7 @@ components:
4618746193
scope:
4618846194
$ref: '#/components/schemas/ObservabilityPipelineSensitiveDataScannerProcessorScope'
4618946195
tags:
46190-
description: Tags assigned to this rule for filtering and classification.
46196+
description: Optional tags assigned to this rule for filtering and classification.
4619146197
example:
4619246198
- pii
4619346199
- ccn
@@ -46196,7 +46202,6 @@ components:
4619646202
type: array
4619746203
required:
4619846204
- name
46199-
- tags
4620046205
- pattern
4620146206
- scope
4620246207
- on_match
@@ -46266,8 +46271,8 @@ components:
4626646271
description: Fields to which the scope rule applies.
4626746272
properties:
4626846273
fields:
46269-
description: The `ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions`
46270-
`fields`.
46274+
description: List of log attribute names (field paths) to which the scope
46275+
applies. Only these fields are included in or excluded from pattern matching.
4627146276
example:
4627246277
- ''
4627346278
items:

src/datadog_api_client/v2/model/observability_pipeline_sensitive_data_scanner_processor_action_hash.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ def __init__(
4848
:param action: Action type that replaces the matched sensitive data with a hashed representation, preserving structure while securing content.
4949
:type action: ObservabilityPipelineSensitiveDataScannerProcessorActionHashAction
5050
51-
:param options: The ``ObservabilityPipelineSensitiveDataScannerProcessorActionHash`` ``options``.
51+
:param options: Optional settings for the hash action. When omitted or empty, matched sensitive data is
52+
replaced with a deterministic hashed value that preserves structure for analytics while
53+
protecting the original content. Reserved for future hash configuration (for example, algorithm or salt).
5254
:type options: dict, optional
5355
"""
5456
if options is not unset:

src/datadog_api_client/v2/model/observability_pipeline_sensitive_data_scanner_processor_action_partial_redact_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(
4343
"""
4444
Controls how partial redaction is applied, including character count and direction.
4545
46-
:param characters: The ``ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions`` ``characters``.
46+
:param characters: Number of characters to leave visible from the start or end of the matched value; the rest are redacted.
4747
:type characters: int
4848
4949
:param direction: Indicates whether to redact characters from the first or last part of the matched value.

src/datadog_api_client/v2/model/observability_pipeline_sensitive_data_scanner_processor_action_redact_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self_, replace: str, **kwargs):
2525
"""
2626
Configuration for fully redacting sensitive data.
2727
28-
:param replace: The ``ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions`` ``replace``.
28+
:param replace: The string used to replace matched sensitive data (for example, "***" or "[REDACTED]").
2929
:type replace: str
3030
"""
3131
super().__init__(kwargs)

src/datadog_api_client/v2/model/observability_pipeline_sensitive_data_scanner_processor_rule.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def __init__(
106106
ObservabilityPipelineSensitiveDataScannerProcessorScopeExclude,
107107
ObservabilityPipelineSensitiveDataScannerProcessorScopeAll,
108108
],
109-
tags: List[str],
110109
keyword_options: Union[ObservabilityPipelineSensitiveDataScannerProcessorKeywordOptions, UnsetType] = unset,
110+
tags: Union[List[str], UnsetType] = unset,
111111
**kwargs,
112112
):
113113
"""
@@ -128,15 +128,16 @@ def __init__(
128128
:param scope: Determines which parts of the log the pattern-matching rule should be applied to.
129129
:type scope: ObservabilityPipelineSensitiveDataScannerProcessorScope
130130
131-
:param tags: Tags assigned to this rule for filtering and classification.
132-
:type tags: [str]
131+
:param tags: Optional tags assigned to this rule for filtering and classification.
132+
:type tags: [str], optional
133133
"""
134134
if keyword_options is not unset:
135135
kwargs["keyword_options"] = keyword_options
136+
if tags is not unset:
137+
kwargs["tags"] = tags
136138
super().__init__(kwargs)
137139

138140
self_.name = name
139141
self_.on_match = on_match
140142
self_.pattern = pattern
141143
self_.scope = scope
142-
self_.tags = tags

src/datadog_api_client/v2/model/observability_pipeline_sensitive_data_scanner_processor_scope_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self_, fields: List[str], **kwargs):
2626
"""
2727
Fields to which the scope rule applies.
2828
29-
:param fields: The ``ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions`` ``fields``.
29+
:param fields: List of log attribute names (field paths) to which the scope applies. Only these fields are included in or excluded from pattern matching.
3030
:type fields: [str]
3131
"""
3232
super().__init__(kwargs)

0 commit comments

Comments
 (0)