Skip to content

Commit 7df3e24

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7a3fc17 of spec repo
1 parent f0eca9f commit 7df3e24

7 files changed

+131
-108
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ components:
10481048
type: string
10491049
ResourceID:
10501050
description: |-
1051-
Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.
1051+
Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`, `case-management-project`.
10521052
example: "dashboard:abc-def-ghi"
10531053
in: path
10541054
name: resource_id
@@ -44218,10 +44218,7 @@ components:
4421844218
action:
4421944219
$ref: "#/components/schemas/ObservabilityPipelineSensitiveDataScannerProcessorActionHashAction"
4422044220
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).
44221+
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionHash` `options`.
4422544222
type: object
4422644223
required: [action]
4422744224
type: object
@@ -44252,7 +44249,7 @@ components:
4425244249
description: Controls how partial redaction is applied, including character count and direction.
4425344250
properties:
4425444251
characters:
44255-
description: Number of characters to leave visible from the start or end of the matched value; the rest are redacted.
44252+
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions` `characters`.
4425644253
example: 4
4425744254
format: int64
4425844255
type: integer
@@ -44288,7 +44285,7 @@ components:
4428844285
description: Configuration for fully redacting sensitive data.
4428944286
properties:
4429044287
replace:
44291-
description: The string used to replace matched sensitive data (for example, "***" or "[REDACTED]").
44288+
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions` `replace`.
4429244289
example: "***"
4429344290
type: string
4429444291
required: [replace]
@@ -44398,6 +44395,7 @@ components:
4439844395
type: array
4439944396
required:
4440044397
- name
44398+
- tags
4440144399
- pattern
4440244400
- scope
4440344401
- on_match
@@ -44458,7 +44456,7 @@ components:
4445844456
description: Fields to which the scope rule applies.
4445944457
properties:
4446044458
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.
44459+
description: The `ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions` `fields`.
4446244460
example:
4446344461
- ""
4446444462
items:

src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java

Lines changed: 112 additions & 84 deletions
Large diffs are not rendered by default.

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

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

7676
/**
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).
77+
* The <code>ObservabilityPipelineSensitiveDataScannerProcessorActionHash</code> <code>options
78+
* </code>.
8179
*
8280
* @return options
8381
*/

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

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

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

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

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

Lines changed: 5 additions & 7 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 = null;
54+
private List<String> tags = new ArrayList<>();
5555

5656
public ObservabilityPipelineSensitiveDataScannerProcessorRule() {}
5757

@@ -63,14 +63,16 @@ public ObservabilityPipelineSensitiveDataScannerProcessorRule(
6363
@JsonProperty(required = true, value = JSON_PROPERTY_PATTERN)
6464
ObservabilityPipelineSensitiveDataScannerProcessorPattern pattern,
6565
@JsonProperty(required = true, value = JSON_PROPERTY_SCOPE)
66-
ObservabilityPipelineSensitiveDataScannerProcessorScope scope) {
66+
ObservabilityPipelineSensitiveDataScannerProcessorScope scope,
67+
@JsonProperty(required = true, value = JSON_PROPERTY_TAGS) List<String> tags) {
6768
this.name = name;
6869
this.onMatch = onMatch;
6970
this.unparsed |= onMatch.unparsed;
7071
this.pattern = pattern;
7172
this.unparsed |= pattern.unparsed;
7273
this.scope = scope;
7374
this.unparsed |= scope.unparsed;
75+
this.tags = tags;
7476
}
7577

7678
public ObservabilityPipelineSensitiveDataScannerProcessorRule keywordOptions(
@@ -190,9 +192,6 @@ public ObservabilityPipelineSensitiveDataScannerProcessorRule tags(List<String>
190192
}
191193

192194
public ObservabilityPipelineSensitiveDataScannerProcessorRule addTagsItem(String tagsItem) {
193-
if (this.tags == null) {
194-
this.tags = new ArrayList<>();
195-
}
196195
this.tags.add(tagsItem);
197196
return this;
198197
}
@@ -202,9 +201,8 @@ public ObservabilityPipelineSensitiveDataScannerProcessorRule addTagsItem(String
202201
*
203202
* @return tags
204203
*/
205-
@jakarta.annotation.Nullable
206204
@JsonProperty(JSON_PROPERTY_TAGS)
207-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
205+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
208206
public List<String> getTags() {
209207
return tags;
210208
}

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

0 commit comments

Comments
 (0)