Skip to content

Commit 1100eb0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8c9edef of spec repo
1 parent 80e0e8b commit 1100eb0

9 files changed

+111
-69
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 53 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60787,7 +60787,7 @@ components:
6078760787
- DONE
6078860788
- TIMEOUT
6078960789
SecurityMonitoringContentPackActivation:
60790-
description: The activation status of a content pack
60790+
description: The activation lifecycle state of a content pack.
6079160791
enum:
6079260792
- never_activated
6079360793
- activated
@@ -60799,7 +60799,7 @@ components:
6079960799
- ACTIVATED
6080060800
- DEACTIVATED
6080160801
SecurityMonitoringContentPackIntegrationStatus:
60802-
description: The installation status of the related integration
60802+
description: The installation status of the related Datadog integration.
6080360803
enum:
6080460804
- installed
6080560805
- available
@@ -60824,15 +60824,16 @@ components:
6082460824
cp_activation:
6082560825
$ref: "#/components/schemas/SecurityMonitoringContentPackActivation"
6082660826
filters_configured_for_logs:
60827-
description: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
60827+
description: Whether filters (Security Filters or Index Query depending on the pricing model) are present and correctly configured to route logs into Cloud SIEM.
6082860828
example: true
6082960829
type: boolean
6083060830
integration_installed_status:
6083160831
$ref: "#/components/schemas/SecurityMonitoringContentPackIntegrationStatus"
6083260832
logs_last_collected:
6083360833
$ref: "#/components/schemas/SecurityMonitoringContentPackTimestampBucket"
6083460834
logs_seen_from_any_index:
60835-
description: Whether logs have been seen from any index
60835+
description: >-
60836+
Whether logs for this content pack have been seen in any Datadog index within the last 72 hours, regardless of whether the Cloud SIEM filter is configured.
6083660837
example: true
6083760838
type: boolean
6083860839
state:
@@ -60897,7 +60898,14 @@ components:
6089760898
- meta
6089860899
type: object
6089960900
SecurityMonitoringContentPackStatus:
60900-
description: The current status of a content pack
60901+
description: |-
60902+
The current operational status of a content pack:
60903+
- `install`: Not activated; no logs detected in the last 72 hours.
60904+
- `activate`: Not activated; logs are flowing into a Datadog index but not yet routed through Cloud SIEM.
60905+
- `initializing`: Activated; awaiting first log ingestion.
60906+
- `active`: Activated; logs received within the last 24 hours.
60907+
- `warning`: Activated; integration not installed or logs last seen 24 to 72 hours ago.
60908+
- `broken`: Activated; no logs for over 72 hours, filter missing, or Cloud SIEM index incorrectly ordered.
6090160909
enum:
6090260910
- install
6090360911
- activate
@@ -60915,7 +60923,7 @@ components:
6091560923
- WARNING
6091660924
- BROKEN
6091760925
SecurityMonitoringContentPackTimestampBucket:
60918-
description: Timestamp bucket indicating when logs were last collected
60926+
description: When logs were last collected through the content pack's Cloud SIEM filter or index query.
6091960927
enum:
6092060928
- not_seen
6092160929
- within_24_hours
@@ -62014,7 +62022,7 @@ components:
6201462022
- $ref: "#/components/schemas/SecurityMonitoringSignalRulePayload"
6201562023
- $ref: "#/components/schemas/CloudConfigurationRulePayload"
6201662024
SecurityMonitoringSKU:
62017-
description: The SIEM pricing model (SKU) for the organization
62025+
description: The Cloud SIEM pricing model (SKU) for the organization.
6201862026
enum:
6201962027
- per_gb_analyzed
6202062028
- per_event_in_siem_index_2023
@@ -111561,10 +111569,7 @@ paths:
111561111569
- Security Monitoring
111562111570
/api/v2/security_monitoring/content_packs/states:
111563111571
get:
111564-
description: |-
111565-
Get the activation and configuration states for all security monitoring content packs.
111566-
This endpoint returns status information about each content pack including activation state,
111567-
integration status, and log collection status.
111572+
description: Get the activation and operational state for all Cloud SIEM content packs.
111568111573
operationId: GetContentPacksStates
111569111574
responses:
111570111575
"200":
@@ -111574,11 +111579,7 @@ paths:
111574111579
$ref: "#/components/schemas/SecurityMonitoringContentPackStatesResponse"
111575111580
description: OK
111576111581
"403":
111577-
content:
111578-
application/json:
111579-
schema:
111580-
$ref: "#/components/schemas/JSONAPIErrorResponse"
111581-
description: Forbidden
111582+
$ref: "#/components/responses/NotAuthorizedResponse"
111582111583
"404":
111583111584
content:
111584111585
application/json:
@@ -111587,21 +111588,31 @@ paths:
111587111588
description: Not Found
111588111589
"429":
111589111590
$ref: "#/components/responses/TooManyRequestsResponse"
111591+
security:
111592+
- apiKeyAuth: []
111593+
appKeyAuth: []
111594+
- AuthZ:
111595+
- security_monitoring_filters_read
111590111596
summary: Get content pack states
111591111597
tags:
111592111598
- Security Monitoring
111599+
"x-permission":
111600+
operator: OR
111601+
permissions:
111602+
- security_monitoring_filters_read
111603+
- logs_read_index_data
111593111604
x-unstable: |-
111594111605
**Note**: This endpoint is in preview and is subject to change.
111595111606
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
111596111607
/api/v2/security_monitoring/content_packs/{content_pack_id}/activate:
111597111608
put:
111598111609
description: |-
111599-
Activate a security monitoring content pack. This operation configures the necessary
111610+
Activate a Cloud SIEM content pack. This operation configures the necessary
111600111611
log filters or security filters depending on the pricing model and updates the content
111601111612
pack activation state.
111602111613
operationId: ActivateContentPack
111603111614
parameters:
111604-
- description: The ID of the content pack to activate.
111615+
- description: The ID of the content pack to activate (for example, `aws-cloudtrail`).
111605111616
in: path
111606111617
name: content_pack_id
111607111618
required: true
@@ -111612,11 +111623,7 @@ paths:
111612111623
"202":
111613111624
description: Accepted
111614111625
"403":
111615-
content:
111616-
application/json:
111617-
schema:
111618-
$ref: "#/components/schemas/JSONAPIErrorResponse"
111619-
description: Forbidden
111626+
$ref: "#/components/responses/NotAuthorizedResponse"
111620111627
"404":
111621111628
content:
111622111629
application/json:
@@ -111625,20 +111632,30 @@ paths:
111625111632
description: Not Found
111626111633
"429":
111627111634
$ref: "#/components/responses/TooManyRequestsResponse"
111635+
security:
111636+
- apiKeyAuth: []
111637+
appKeyAuth: []
111638+
- AuthZ:
111639+
- security_monitoring_filters_write
111628111640
summary: Activate content pack
111629111641
tags:
111630111642
- Security Monitoring
111643+
"x-permission":
111644+
operator: OR
111645+
permissions:
111646+
- security_monitoring_filters_write
111647+
- logs_modify_indexes
111631111648
x-unstable: |-
111632111649
**Note**: This endpoint is in preview and is subject to change.
111633111650
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
111634111651
/api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate:
111635111652
put:
111636111653
description: |-
111637-
Deactivate a security monitoring content pack. This operation removes the content pack's
111654+
Deactivate a Cloud SIEM content pack. This operation removes the content pack's
111638111655
configuration from log filters or security filters and updates the content pack activation state.
111639111656
operationId: DeactivateContentPack
111640111657
parameters:
111641-
- description: The ID of the content pack to deactivate.
111658+
- description: The ID of the content pack to deactivate (for example, `aws-cloudtrail`).
111642111659
in: path
111643111660
name: content_pack_id
111644111661
required: true
@@ -111649,11 +111666,7 @@ paths:
111649111666
"202":
111650111667
description: Accepted
111651111668
"403":
111652-
content:
111653-
application/json:
111654-
schema:
111655-
$ref: "#/components/schemas/JSONAPIErrorResponse"
111656-
description: Forbidden
111669+
$ref: "#/components/responses/NotAuthorizedResponse"
111657111670
"404":
111658111671
content:
111659111672
application/json:
@@ -111662,9 +111675,19 @@ paths:
111662111675
description: Not Found
111663111676
"429":
111664111677
$ref: "#/components/responses/TooManyRequestsResponse"
111678+
security:
111679+
- apiKeyAuth: []
111680+
appKeyAuth: []
111681+
- AuthZ:
111682+
- security_monitoring_filters_write
111665111683
summary: Deactivate content pack
111666111684
tags:
111667111685
- Security Monitoring
111686+
"x-permission":
111687+
operator: OR
111688+
permissions:
111689+
- security_monitoring_filters_write
111690+
- logs_modify_indexes
111668111691
x-unstable: |-
111669111692
**Note**: This endpoint is in preview and is subject to change.
111670111693
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).

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

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ public void setApiClient(ApiClient apiClient) {
150150
*
151151
* <p>See {@link #activateContentPackWithHttpInfo}.
152152
*
153-
* @param contentPackId The ID of the content pack to activate. (required)
153+
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
154+
* </code>). (required)
154155
* @throws ApiException if fails to make API call
155156
*/
156157
public void activateContentPack(String contentPackId) throws ApiException {
@@ -162,7 +163,8 @@ public void activateContentPack(String contentPackId) throws ApiException {
162163
*
163164
* <p>See {@link #activateContentPackWithHttpInfoAsync}.
164165
*
165-
* @param contentPackId The ID of the content pack to activate. (required)
166+
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
167+
* </code>). (required)
166168
* @return CompletableFuture
167169
*/
168170
public CompletableFuture<Void> activateContentPackAsync(String contentPackId) {
@@ -174,19 +176,19 @@ public CompletableFuture<Void> activateContentPackAsync(String contentPackId) {
174176
}
175177

176178
/**
177-
* Activate a security monitoring content pack. This operation configures the necessary log
178-
* filters or security filters depending on the pricing model and updates the content pack
179-
* activation state.
179+
* Activate a Cloud SIEM content pack. This operation configures the necessary log filters or
180+
* security filters depending on the pricing model and updates the content pack activation state.
180181
*
181-
* @param contentPackId The ID of the content pack to activate. (required)
182+
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
183+
* </code>). (required)
182184
* @return ApiResponse&lt;Void&gt;
183185
* @throws ApiException if fails to make API call
184186
* @http.response.details
185187
* <table border="1">
186188
* <caption>Response details</caption>
187189
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
188190
* <tr><td> 202 </td><td> Accepted </td><td> - </td></tr>
189-
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
191+
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
190192
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
191193
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
192194
* </table>
@@ -224,7 +226,7 @@ public ApiResponse<Void> activateContentPackWithHttpInfo(String contentPackId)
224226
localVarHeaderParams,
225227
new HashMap<String, String>(),
226228
new String[] {"*/*"},
227-
new String[] {"apiKeyAuth", "appKeyAuth"});
229+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
228230
return apiClient.invokeAPI(
229231
"PUT",
230232
builder,
@@ -241,7 +243,8 @@ public ApiResponse<Void> activateContentPackWithHttpInfo(String contentPackId)
241243
*
242244
* <p>See {@link #activateContentPackWithHttpInfo}.
243245
*
244-
* @param contentPackId The ID of the content pack to activate. (required)
246+
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
247+
* </code>). (required)
245248
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
246249
*/
247250
public CompletableFuture<ApiResponse<Void>> activateContentPackWithHttpInfoAsync(
@@ -286,7 +289,7 @@ public CompletableFuture<ApiResponse<Void>> activateContentPackWithHttpInfoAsync
286289
localVarHeaderParams,
287290
new HashMap<String, String>(),
288291
new String[] {"*/*"},
289-
new String[] {"apiKeyAuth", "appKeyAuth"});
292+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
290293
} catch (ApiException ex) {
291294
CompletableFuture<ApiResponse<Void>> result = new CompletableFuture<>();
292295
result.completeExceptionally(ex);
@@ -2882,7 +2885,8 @@ public ApiResponse<NotificationRuleResponse> createVulnerabilityNotificationRule
28822885
*
28832886
* <p>See {@link #deactivateContentPackWithHttpInfo}.
28842887
*
2885-
* @param contentPackId The ID of the content pack to deactivate. (required)
2888+
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
2889+
* aws-cloudtrail</code>). (required)
28862890
* @throws ApiException if fails to make API call
28872891
*/
28882892
public void deactivateContentPack(String contentPackId) throws ApiException {
@@ -2894,7 +2898,8 @@ public void deactivateContentPack(String contentPackId) throws ApiException {
28942898
*
28952899
* <p>See {@link #deactivateContentPackWithHttpInfoAsync}.
28962900
*
2897-
* @param contentPackId The ID of the content pack to deactivate. (required)
2901+
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
2902+
* aws-cloudtrail</code>). (required)
28982903
* @return CompletableFuture
28992904
*/
29002905
public CompletableFuture<Void> deactivateContentPackAsync(String contentPackId) {
@@ -2906,19 +2911,19 @@ public CompletableFuture<Void> deactivateContentPackAsync(String contentPackId)
29062911
}
29072912

29082913
/**
2909-
* Deactivate a security monitoring content pack. This operation removes the content pack's
2910-
* configuration from log filters or security filters and updates the content pack activation
2911-
* state.
2914+
* Deactivate a Cloud SIEM content pack. This operation removes the content pack's configuration
2915+
* from log filters or security filters and updates the content pack activation state.
29122916
*
2913-
* @param contentPackId The ID of the content pack to deactivate. (required)
2917+
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
2918+
* aws-cloudtrail</code>). (required)
29142919
* @return ApiResponse&lt;Void&gt;
29152920
* @throws ApiException if fails to make API call
29162921
* @http.response.details
29172922
* <table border="1">
29182923
* <caption>Response details</caption>
29192924
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
29202925
* <tr><td> 202 </td><td> Accepted </td><td> - </td></tr>
2921-
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
2926+
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
29222927
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
29232928
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
29242929
* </table>
@@ -2956,7 +2961,7 @@ public ApiResponse<Void> deactivateContentPackWithHttpInfo(String contentPackId)
29562961
localVarHeaderParams,
29572962
new HashMap<String, String>(),
29582963
new String[] {"*/*"},
2959-
new String[] {"apiKeyAuth", "appKeyAuth"});
2964+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
29602965
return apiClient.invokeAPI(
29612966
"PUT",
29622967
builder,
@@ -2973,7 +2978,8 @@ public ApiResponse<Void> deactivateContentPackWithHttpInfo(String contentPackId)
29732978
*
29742979
* <p>See {@link #deactivateContentPackWithHttpInfo}.
29752980
*
2976-
* @param contentPackId The ID of the content pack to deactivate. (required)
2981+
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
2982+
* aws-cloudtrail</code>). (required)
29772983
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
29782984
*/
29792985
public CompletableFuture<ApiResponse<Void>> deactivateContentPackWithHttpInfoAsync(
@@ -3018,7 +3024,7 @@ public CompletableFuture<ApiResponse<Void>> deactivateContentPackWithHttpInfoAsy
30183024
localVarHeaderParams,
30193025
new HashMap<String, String>(),
30203026
new String[] {"*/*"},
3021-
new String[] {"apiKeyAuth", "appKeyAuth"});
3027+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
30223028
} catch (ApiException ex) {
30233029
CompletableFuture<ApiResponse<Void>> result = new CompletableFuture<>();
30243030
result.completeExceptionally(ex);
@@ -4853,9 +4859,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
48534859
}
48544860

48554861
/**
4856-
* Get the activation and configuration states for all security monitoring content packs. This
4857-
* endpoint returns status information about each content pack including activation state,
4858-
* integration status, and log collection status.
4862+
* Get the activation and operational state for all Cloud SIEM content packs.
48594863
*
48604864
* @return ApiResponse&lt;SecurityMonitoringContentPackStatesResponse&gt;
48614865
* @throws ApiException if fails to make API call
@@ -4864,7 +4868,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
48644868
* <caption>Response details</caption>
48654869
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
48664870
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
4867-
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
4871+
* <tr><td> 403 </td><td> Not Authorized </td><td> - </td></tr>
48684872
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
48694873
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
48704874
* </table>
@@ -4892,7 +4896,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
48924896
localVarHeaderParams,
48934897
new HashMap<String, String>(),
48944898
new String[] {"application/json"},
4895-
new String[] {"apiKeyAuth", "appKeyAuth"});
4899+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
48964900
return apiClient.invokeAPI(
48974901
"GET",
48984902
builder,
@@ -4940,7 +4944,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
49404944
localVarHeaderParams,
49414945
new HashMap<String, String>(),
49424946
new String[] {"application/json"},
4943-
new String[] {"apiKeyAuth", "appKeyAuth"});
4947+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
49444948
} catch (ApiException ex) {
49454949
CompletableFuture<ApiResponse<SecurityMonitoringContentPackStatesResponse>> result =
49464950
new CompletableFuture<>();

0 commit comments

Comments
 (0)