Skip to content

Commit 9340f30

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit bb11200 of spec repo
1 parent 2493975 commit 9340f30

File tree

4 files changed

+91
-39
lines changed

4 files changed

+91
-39
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 52 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -45795,6 +45795,13 @@ components:
4579545795
description: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
4579645796
example: splunk-hec-source
4579745797
type: string
45798+
store_hec_token:
45799+
default: false
45800+
description: |-
45801+
If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
45802+
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
45803+
example: true
45804+
type: boolean
4579845805
tls:
4579945806
$ref: "#/components/schemas/ObservabilityPipelineTls"
4580045807
type:
@@ -57909,7 +57916,6 @@ components:
5790957916
- none
5791057917
- false_positive
5791157918
- testing_or_maintenance
57912-
- remediated
5791357919
- investigated_case_opened
5791457920
- true_positive_benign
5791557921
- true_positive_malicious
@@ -57919,7 +57925,6 @@ components:
5791957925
- NONE
5792057926
- FALSE_POSITIVE
5792157927
- TESTING_OR_MAINTENANCE
57922-
- REMEDIATED
5792357928
- INVESTIGATED_CASE_OPENED
5792457929
- TRUE_POSITIVE_BENIGN
5792557930
- TRUE_POSITIVE_MALICIOUS
@@ -102449,8 +102454,6 @@ paths:
102449102454
schema:
102450102455
$ref: "#/components/schemas/SecurityMonitoringSignalResponse"
102451102456
description: OK
102452-
"403":
102453-
$ref: "#/components/responses/NotAuthorizedResponse"
102454102457
"404":
102455102458
$ref: "#/components/responses/NotFoundResponse"
102456102459
"429":
@@ -102488,17 +102491,25 @@ paths:
102488102491
$ref: "#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse"
102489102492
description: OK
102490102493
"400":
102491-
$ref: "#/components/responses/BadRequestResponse"
102494+
content:
102495+
application/json:
102496+
schema:
102497+
$ref: "#/components/schemas/APIErrorResponse"
102498+
description: Bad Request
102492102499
"403":
102493-
$ref: "#/components/responses/NotAuthorizedResponse"
102500+
content:
102501+
application/json:
102502+
schema:
102503+
$ref: "#/components/schemas/APIErrorResponse"
102504+
description: Forbidden
102494102505
"404":
102495-
$ref: "#/components/responses/NotFoundResponse"
102506+
content:
102507+
application/json:
102508+
schema:
102509+
$ref: "#/components/schemas/APIErrorResponse"
102510+
description: Not Found
102496102511
"429":
102497102512
$ref: "#/components/responses/TooManyRequestsResponse"
102498-
security:
102499-
- apiKeyAuth: []
102500-
appKeyAuth: []
102501-
- AuthZ: []
102502102513
summary: Modify the triage assignee of a security signal
102503102514
tags: ["Security Monitoring"]
102504102515
x-codegen-request-body-name: body
@@ -102528,17 +102539,25 @@ paths:
102528102539
$ref: "#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse"
102529102540
description: OK
102530102541
"400":
102531-
$ref: "#/components/responses/BadRequestResponse"
102542+
content:
102543+
application/json:
102544+
schema:
102545+
$ref: "#/components/schemas/APIErrorResponse"
102546+
description: Bad Request
102532102547
"403":
102533-
$ref: "#/components/responses/NotAuthorizedResponse"
102548+
content:
102549+
application/json:
102550+
schema:
102551+
$ref: "#/components/schemas/APIErrorResponse"
102552+
description: Forbidden
102534102553
"404":
102535-
$ref: "#/components/responses/NotFoundResponse"
102554+
content:
102555+
application/json:
102556+
schema:
102557+
$ref: "#/components/schemas/APIErrorResponse"
102558+
description: Not Found
102536102559
"429":
102537102560
$ref: "#/components/responses/TooManyRequestsResponse"
102538-
security:
102539-
- apiKeyAuth: []
102540-
appKeyAuth: []
102541-
- AuthZ: []
102542102561
summary: Change the related incidents of a security signal
102543102562
tags: ["Security Monitoring"]
102544102563
x-codegen-request-body-name: body
@@ -102568,17 +102587,25 @@ paths:
102568102587
$ref: "#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse"
102569102588
description: OK
102570102589
"400":
102571-
$ref: "#/components/responses/BadRequestResponse"
102590+
content:
102591+
application/json:
102592+
schema:
102593+
$ref: "#/components/schemas/APIErrorResponse"
102594+
description: Bad Request
102572102595
"403":
102573-
$ref: "#/components/responses/NotAuthorizedResponse"
102596+
content:
102597+
application/json:
102598+
schema:
102599+
$ref: "#/components/schemas/APIErrorResponse"
102600+
description: Forbidden
102574102601
"404":
102575-
$ref: "#/components/responses/NotFoundResponse"
102602+
content:
102603+
application/json:
102604+
schema:
102605+
$ref: "#/components/schemas/APIErrorResponse"
102606+
description: Not Found
102576102607
"429":
102577102608
$ref: "#/components/responses/TooManyRequestsResponse"
102578-
security:
102579-
- apiKeyAuth: []
102580-
appKeyAuth: []
102581-
- AuthZ: []
102582102609
summary: Change the triage state of a security signal
102583102610
tags: ["Security Monitoring"]
102584102611
x-codegen-request-body-name: body

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4062,7 +4062,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
40624062
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
40634063
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
40644064
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
4065-
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
4065+
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
40664066
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
40674067
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
40684068
* </table>
@@ -4102,7 +4102,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
41024102
localVarHeaderParams,
41034103
new HashMap<String, String>(),
41044104
new String[] {"application/json"},
4105-
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
4105+
new String[] {"apiKeyAuth", "appKeyAuth"});
41064106
return apiClient.invokeAPI(
41074107
"PATCH",
41084108
builder,
@@ -4169,7 +4169,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
41694169
localVarHeaderParams,
41704170
new HashMap<String, String>(),
41714171
new String[] {"application/json"},
4172-
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
4172+
new String[] {"apiKeyAuth", "appKeyAuth"});
41734173
} catch (ApiException ex) {
41744174
CompletableFuture<ApiResponse<SecurityMonitoringSignalTriageUpdateResponse>> result =
41754175
new CompletableFuture<>();
@@ -4234,7 +4234,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
42344234
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
42354235
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
42364236
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
4237-
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
4237+
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
42384238
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
42394239
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
42404240
* </table>
@@ -4275,7 +4275,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
42754275
localVarHeaderParams,
42764276
new HashMap<String, String>(),
42774277
new String[] {"application/json"},
4278-
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
4278+
new String[] {"apiKeyAuth", "appKeyAuth"});
42794279
return apiClient.invokeAPI(
42804280
"PATCH",
42814281
builder,
@@ -4342,7 +4342,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
43424342
localVarHeaderParams,
43434343
new HashMap<String, String>(),
43444344
new String[] {"application/json"},
4345-
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
4345+
new String[] {"apiKeyAuth", "appKeyAuth"});
43464346
} catch (ApiException ex) {
43474347
CompletableFuture<ApiResponse<SecurityMonitoringSignalTriageUpdateResponse>> result =
43484348
new CompletableFuture<>();
@@ -4407,7 +4407,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
44074407
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
44084408
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
44094409
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
4410-
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
4410+
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
44114411
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
44124412
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
44134413
* </table>
@@ -4446,7 +4446,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
44464446
localVarHeaderParams,
44474447
new HashMap<String, String>(),
44484448
new String[] {"application/json"},
4449-
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
4449+
new String[] {"apiKeyAuth", "appKeyAuth"});
44504450
return apiClient.invokeAPI(
44514451
"PATCH",
44524452
builder,
@@ -4513,7 +4513,7 @@ public SecurityMonitoringSignalTriageUpdateResponse editSecurityMonitoringSignal
45134513
localVarHeaderParams,
45144514
new HashMap<String, String>(),
45154515
new String[] {"application/json"},
4516-
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
4516+
new String[] {"apiKeyAuth", "appKeyAuth"});
45174517
} catch (ApiException ex) {
45184518
CompletableFuture<ApiResponse<SecurityMonitoringSignalTriageUpdateResponse>> result =
45194519
new CompletableFuture<>();
@@ -6943,7 +6943,6 @@ public CompletableFuture<SecurityMonitoringSignalResponse> getSecurityMonitoring
69436943
* <caption>Response details</caption>
69446944
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
69456945
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
6946-
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
69476946
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
69486947
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
69496948
* </table>

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

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
@JsonPropertyOrder({
2626
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_ADDRESS_KEY,
2727
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_ID,
28+
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_STORE_HEC_TOKEN,
2829
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_TLS,
2930
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_TYPE
3031
})
@@ -38,6 +39,9 @@ public class ObservabilityPipelineSplunkHecSource {
3839
public static final String JSON_PROPERTY_ID = "id";
3940
private String id;
4041

42+
public static final String JSON_PROPERTY_STORE_HEC_TOKEN = "store_hec_token";
43+
private Boolean storeHecToken = false;
44+
4145
public static final String JSON_PROPERTY_TLS = "tls";
4246
private ObservabilityPipelineTls tls;
4347

@@ -99,6 +103,29 @@ public void setId(String id) {
99103
this.id = id;
100104
}
101105

106+
public ObservabilityPipelineSplunkHecSource storeHecToken(Boolean storeHecToken) {
107+
this.storeHecToken = storeHecToken;
108+
return this;
109+
}
110+
111+
/**
112+
* If <code>true</code>, the HEC token is stored in the event's metadata and made available to the
113+
* Enrichment Table processor and the <code>splunk_hec</code> destination for routing or
114+
* enrichment based on the token. Defaults to <code>false</code>.
115+
*
116+
* @return storeHecToken
117+
*/
118+
@jakarta.annotation.Nullable
119+
@JsonProperty(JSON_PROPERTY_STORE_HEC_TOKEN)
120+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
121+
public Boolean getStoreHecToken() {
122+
return storeHecToken;
123+
}
124+
125+
public void setStoreHecToken(Boolean storeHecToken) {
126+
this.storeHecToken = storeHecToken;
127+
}
128+
102129
public ObservabilityPipelineSplunkHecSource tls(ObservabilityPipelineTls tls) {
103130
this.tls = tls;
104131
this.unparsed |= tls.unparsed;
@@ -204,6 +231,7 @@ public boolean equals(Object o) {
204231
(ObservabilityPipelineSplunkHecSource) o;
205232
return Objects.equals(this.addressKey, observabilityPipelineSplunkHecSource.addressKey)
206233
&& Objects.equals(this.id, observabilityPipelineSplunkHecSource.id)
234+
&& Objects.equals(this.storeHecToken, observabilityPipelineSplunkHecSource.storeHecToken)
207235
&& Objects.equals(this.tls, observabilityPipelineSplunkHecSource.tls)
208236
&& Objects.equals(this.type, observabilityPipelineSplunkHecSource.type)
209237
&& Objects.equals(
@@ -212,7 +240,7 @@ public boolean equals(Object o) {
212240

213241
@Override
214242
public int hashCode() {
215-
return Objects.hash(addressKey, id, tls, type, additionalProperties);
243+
return Objects.hash(addressKey, id, storeHecToken, tls, type, additionalProperties);
216244
}
217245

218246
@Override
@@ -221,6 +249,7 @@ public String toString() {
221249
sb.append("class ObservabilityPipelineSplunkHecSource {\n");
222250
sb.append(" addressKey: ").append(toIndentedString(addressKey)).append("\n");
223251
sb.append(" id: ").append(toIndentedString(id)).append("\n");
252+
sb.append(" storeHecToken: ").append(toIndentedString(storeHecToken)).append("\n");
224253
sb.append(" tls: ").append(toIndentedString(tls)).append("\n");
225254
sb.append(" type: ").append(toIndentedString(type)).append("\n");
226255
sb.append(" additionalProperties: ")

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public class SecurityMonitoringSignalArchiveReason extends ModelEnum<String> {
3030
"none",
3131
"false_positive",
3232
"testing_or_maintenance",
33-
"remediated",
3433
"investigated_case_opened",
3534
"true_positive_benign",
3635
"true_positive_malicious",
@@ -42,8 +41,6 @@ public class SecurityMonitoringSignalArchiveReason extends ModelEnum<String> {
4241
new SecurityMonitoringSignalArchiveReason("false_positive");
4342
public static final SecurityMonitoringSignalArchiveReason TESTING_OR_MAINTENANCE =
4443
new SecurityMonitoringSignalArchiveReason("testing_or_maintenance");
45-
public static final SecurityMonitoringSignalArchiveReason REMEDIATED =
46-
new SecurityMonitoringSignalArchiveReason("remediated");
4744
public static final SecurityMonitoringSignalArchiveReason INVESTIGATED_CASE_OPENED =
4845
new SecurityMonitoringSignalArchiveReason("investigated_case_opened");
4946
public static final SecurityMonitoringSignalArchiveReason TRUE_POSITIVE_BENIGN =

0 commit comments

Comments
 (0)