Skip to content

Commit 8d19093

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1f4b035 of spec repo
1 parent b8ba021 commit 8d19093

6 files changed

Lines changed: 32 additions & 24 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/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineSensitiveDataScannerProcessorActionHash.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ public ObservabilityPipelineSensitiveDataScannerProcessorActionHash options(Obje
7474
}
7575

7676
/**
77-
* The <code>ObservabilityPipelineSensitiveDataScannerProcessorActionHash</code> <code>options
78-
* </code>.
77+
* Optional settings for the hash action. When omitted or empty, matched sensitive data is
78+
* replaced with a deterministic hashed value that preserves structure for analytics while
79+
* protecting the original content. Reserved for future hash configuration (for example, algorithm
80+
* or salt).
7981
*
8082
* @return options
8183
*/

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOpti
5555
}
5656

5757
/**
58-
* The <code>ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions</code>
59-
* <code>characters</code>.
58+
* Number of characters to leave visible from the start or end of the matched value; the rest are
59+
* redacted.
6060
*
6161
* @return characters
6262
*/

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions rep
4343
}
4444

4545
/**
46-
* The <code>ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions</code> <code>
47-
* replace</code>.
46+
* The string used to replace matched sensitive data (for example, "***" or "[REDACTED]").
4847
*
4948
* @return replace
5049
*/

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineSensitiveDataScannerProcessorRule.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class ObservabilityPipelineSensitiveDataScannerProcessorRule {
5151
private ObservabilityPipelineSensitiveDataScannerProcessorScope scope;
5252

5353
public static final String JSON_PROPERTY_TAGS = "tags";
54-
private List<String> tags = new ArrayList<>();
54+
private List<String> tags = null;
5555

5656
public ObservabilityPipelineSensitiveDataScannerProcessorRule() {}
5757

@@ -63,16 +63,14 @@ public ObservabilityPipelineSensitiveDataScannerProcessorRule(
6363
@JsonProperty(required = true, value = JSON_PROPERTY_PATTERN)
6464
ObservabilityPipelineSensitiveDataScannerProcessorPattern pattern,
6565
@JsonProperty(required = true, value = JSON_PROPERTY_SCOPE)
66-
ObservabilityPipelineSensitiveDataScannerProcessorScope scope,
67-
@JsonProperty(required = true, value = JSON_PROPERTY_TAGS) List<String> tags) {
66+
ObservabilityPipelineSensitiveDataScannerProcessorScope scope) {
6867
this.name = name;
6968
this.onMatch = onMatch;
7069
this.unparsed |= onMatch.unparsed;
7170
this.pattern = pattern;
7271
this.unparsed |= pattern.unparsed;
7372
this.scope = scope;
7473
this.unparsed |= scope.unparsed;
75-
this.tags = tags;
7674
}
7775

7876
public ObservabilityPipelineSensitiveDataScannerProcessorRule keywordOptions(
@@ -192,17 +190,21 @@ public ObservabilityPipelineSensitiveDataScannerProcessorRule tags(List<String>
192190
}
193191

194192
public ObservabilityPipelineSensitiveDataScannerProcessorRule addTagsItem(String tagsItem) {
193+
if (this.tags == null) {
194+
this.tags = new ArrayList<>();
195+
}
195196
this.tags.add(tagsItem);
196197
return this;
197198
}
198199

199200
/**
200-
* Tags assigned to this rule for filtering and classification.
201+
* Optional tags assigned to this rule for filtering and classification.
201202
*
202203
* @return tags
203204
*/
205+
@jakarta.annotation.Nullable
204206
@JsonProperty(JSON_PROPERTY_TAGS)
205-
@JsonInclude(value = JsonInclude.Include.ALWAYS)
207+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
206208
public List<String> getTags() {
207209
return tags;
208210
}

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions addFieldsI
5151
}
5252

5353
/**
54-
* The <code>ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions</code> <code>fields
55-
* </code>.
54+
* List of log attribute names (field paths) to which the scope applies. Only these fields are
55+
* included in or excluded from pattern matching.
5656
*
5757
* @return fields
5858
*/

0 commit comments

Comments
 (0)