Skip to content

Commit 1c22547

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 16954f9 of spec repo
1 parent c778f0c commit 1c22547

9 files changed

+109
-51
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 67 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61254,19 +61254,23 @@ components:
6125461254
- DONE
6125561255
- TIMEOUT
6125661256
SecurityMonitoringContentPackActivation:
61257-
description: The activation status of a content pack
61257+
description: The activation status of a content pack.
6125861258
enum:
6125961259
- never_activated
6126061260
- activated
6126161261
- deactivated
6126261262
example: activated
6126361263
type: string
61264+
x-enum-descriptions:
61265+
- Pack has never been activated for this organization.
61266+
- Pack is currently activated.
61267+
- Pack was previously activated but has since been deactivated.
6126461268
x-enum-varnames:
6126561269
- NEVER_ACTIVATED
6126661270
- ACTIVATED
6126761271
- DEACTIVATED
6126861272
SecurityMonitoringContentPackIntegrationStatus:
61269-
description: The installation status of the related integration
61273+
description: The installation status of the related integration.
6127061274
enum:
6127161275
- installed
6127261276
- available
@@ -61275,6 +61279,12 @@ components:
6127561279
- error
6127661280
example: installed
6127761281
type: string
61282+
x-enum-descriptions:
61283+
- Integration is fully installed.
61284+
- Integration exists in the catalog but is not installed.
61285+
- Integration is only partially configured.
61286+
- Integration detected (for example, logs are flowing) but not explicitly installed.
61287+
- Integration is in an error state.
6127861288
x-enum-varnames:
6127961289
- INSTALLED
6128061290
- AVAILABLE
@@ -61291,15 +61301,17 @@ components:
6129161301
cp_activation:
6129261302
$ref: "#/components/schemas/SecurityMonitoringContentPackActivation"
6129361303
filters_configured_for_logs:
61294-
description: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
61304+
description: |-
61305+
Whether filters (Security Filters or Index Query depending on the pricing model) are
61306+
present and correctly configured to route logs into Cloud SIEM.
6129561307
example: true
6129661308
type: boolean
6129761309
integration_installed_status:
6129861310
$ref: "#/components/schemas/SecurityMonitoringContentPackIntegrationStatus"
6129961311
logs_last_collected:
6130061312
$ref: "#/components/schemas/SecurityMonitoringContentPackTimestampBucket"
6130161313
logs_seen_from_any_index:
61302-
description: Whether logs have been seen from any index
61314+
description: Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
6130361315
example: true
6130461316
type: boolean
6130561317
state:
@@ -61364,7 +61376,7 @@ components:
6136461376
- meta
6136561377
type: object
6136661378
SecurityMonitoringContentPackStatus:
61367-
description: The current status of a content pack
61379+
description: The current operational status of a content pack.
6136861380
enum:
6136961381
- install
6137061382
- activate
@@ -61374,6 +61386,13 @@ components:
6137461386
- broken
6137561387
example: active
6137661388
type: string
61389+
x-enum-descriptions:
61390+
- Not activated; no logs detected in the last 72 hours.
61391+
- Not activated; logs are flowing into a Datadog index but not yet routed through Cloud SIEM.
61392+
- Activated; awaiting first log ingestion.
61393+
- Activated; logs received within the last 24 hours.
61394+
- Activated; integration not installed or logs last seen 24 to 72 hours ago.
61395+
- Activated; no logs for over 72 hours, filter missing, or Cloud SIEM index incorrectly ordered.
6137761396
x-enum-varnames:
6137861397
- INSTALL
6137961398
- ACTIVATE
@@ -61382,7 +61401,7 @@ components:
6138261401
- WARNING
6138361402
- BROKEN
6138461403
SecurityMonitoringContentPackTimestampBucket:
61385-
description: Timestamp bucket indicating when logs were last collected
61404+
description: Timestamp bucket indicating when logs were last collected.
6138661405
enum:
6138761406
- not_seen
6138861407
- within_24_hours
@@ -61391,6 +61410,12 @@ components:
6139161410
- over_30d
6139261411
example: within_24_hours
6139361412
type: string
61413+
x-enum-descriptions:
61414+
- No logs observed.
61415+
- Logs received within the last 24 hours.
61416+
- Logs last seen 24 to 72 hours ago.
61417+
- Logs last seen 3 to 30 days ago.
61418+
- Logs last seen more than 30 days ago.
6139461419
x-enum-varnames:
6139561420
- NOT_SEEN
6139661421
- WITHIN_24_HOURS
@@ -62481,7 +62506,7 @@ components:
6248162506
- $ref: "#/components/schemas/SecurityMonitoringSignalRulePayload"
6248262507
- $ref: "#/components/schemas/CloudConfigurationRulePayload"
6248362508
SecurityMonitoringSKU:
62484-
description: The SIEM pricing model (SKU) for the organization
62509+
description: The Cloud SIEM pricing model (SKU) for the organization.
6248562510
enum:
6248662511
- per_gb_analyzed
6248762512
- per_event_in_siem_index_2023
@@ -112316,10 +112341,7 @@ paths:
112316112341
- Security Monitoring
112317112342
/api/v2/security_monitoring/content_packs/states:
112318112343
get:
112319-
description: |-
112320-
Get the activation and configuration states for all security monitoring content packs.
112321-
This endpoint returns status information about each content pack including activation state,
112322-
integration status, and log collection status.
112344+
description: Get the activation state, integration status, and log collection status for all Cloud SIEM content packs.
112323112345
operationId: GetContentPacksStates
112324112346
responses:
112325112347
"200":
@@ -112342,21 +112364,31 @@ paths:
112342112364
description: Not Found
112343112365
"429":
112344112366
$ref: "#/components/responses/TooManyRequestsResponse"
112367+
security:
112368+
- apiKeyAuth: []
112369+
appKeyAuth: []
112370+
- AuthZ:
112371+
- security_monitoring_filters_read
112345112372
summary: Get content pack states
112346112373
tags:
112347112374
- Security Monitoring
112375+
"x-permission":
112376+
operator: OR
112377+
permissions:
112378+
- security_monitoring_filters_read
112379+
- logs_read_index_data
112348112380
x-unstable: |-
112349112381
**Note**: This endpoint is in preview and is subject to change.
112350112382
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
112351112383
/api/v2/security_monitoring/content_packs/{content_pack_id}/activate:
112352112384
put:
112353112385
description: |-
112354-
Activate a security monitoring content pack. This operation configures the necessary
112386+
Activate a Cloud SIEM content pack. This operation configures the necessary
112355112387
log filters or security filters depending on the pricing model and updates the content
112356112388
pack activation state.
112357112389
operationId: ActivateContentPack
112358112390
parameters:
112359-
- description: The ID of the content pack to activate.
112391+
- description: The ID of the content pack to activate (for example, `aws-cloudtrail`).
112360112392
in: path
112361112393
name: content_pack_id
112362112394
required: true
@@ -112380,20 +112412,30 @@ paths:
112380112412
description: Not Found
112381112413
"429":
112382112414
$ref: "#/components/responses/TooManyRequestsResponse"
112415+
security:
112416+
- apiKeyAuth: []
112417+
appKeyAuth: []
112418+
- AuthZ:
112419+
- security_monitoring_filters_write
112383112420
summary: Activate content pack
112384112421
tags:
112385112422
- Security Monitoring
112423+
"x-permission":
112424+
operator: OR
112425+
permissions:
112426+
- security_monitoring_filters_write
112427+
- logs_modify_indexes
112386112428
x-unstable: |-
112387112429
**Note**: This endpoint is in preview and is subject to change.
112388112430
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
112389112431
/api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate:
112390112432
put:
112391112433
description: |-
112392-
Deactivate a security monitoring content pack. This operation removes the content pack's
112434+
Deactivate a Cloud SIEM content pack. This operation removes the content pack's
112393112435
configuration from log filters or security filters and updates the content pack activation state.
112394112436
operationId: DeactivateContentPack
112395112437
parameters:
112396-
- description: The ID of the content pack to deactivate.
112438+
- description: The ID of the content pack to deactivate (for example, `aws-cloudtrail`).
112397112439
in: path
112398112440
name: content_pack_id
112399112441
required: true
@@ -112417,9 +112459,19 @@ paths:
112417112459
description: Not Found
112418112460
"429":
112419112461
$ref: "#/components/responses/TooManyRequestsResponse"
112462+
security:
112463+
- apiKeyAuth: []
112464+
appKeyAuth: []
112465+
- AuthZ:
112466+
- security_monitoring_filters_write
112420112467
summary: Deactivate content pack
112421112468
tags:
112422112469
- Security Monitoring
112470+
"x-permission":
112471+
operator: OR
112472+
permissions:
112473+
- security_monitoring_filters_write
112474+
- logs_modify_indexes
112423112475
x-unstable: |-
112424112476
**Note**: This endpoint is in preview and is subject to change.
112425112477
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: 28 additions & 23 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,11 +176,11 @@ 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
@@ -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,11 +2911,11 @@ 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
@@ -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,8 @@ 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 state, integration status, and log collection status for all Cloud SIEM
4863+
* content packs.
48594864
*
48604865
* @return ApiResponse&lt;SecurityMonitoringContentPackStatesResponse&gt;
48614866
* @throws ApiException if fails to make API call
@@ -4892,7 +4897,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
48924897
localVarHeaderParams,
48934898
new HashMap<String, String>(),
48944899
new String[] {"application/json"},
4895-
new String[] {"apiKeyAuth", "appKeyAuth"});
4900+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
48964901
return apiClient.invokeAPI(
48974902
"GET",
48984903
builder,
@@ -4940,7 +4945,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
49404945
localVarHeaderParams,
49414946
new HashMap<String, String>(),
49424947
new String[] {"application/json"},
4943-
new String[] {"apiKeyAuth", "appKeyAuth"});
4948+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
49444949
} catch (ApiException ex) {
49454950
CompletableFuture<ApiResponse<SecurityMonitoringContentPackStatesResponse>> result =
49464951
new CompletableFuture<>();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.HashSet;
1919
import java.util.Set;
2020

21-
/** The activation status of a content pack */
21+
/** The activation status of a content pack. */
2222
@JsonSerialize(
2323
using =
2424
SecurityMonitoringContentPackActivation.SecurityMonitoringContentPackActivationSerializer

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.HashSet;
1919
import java.util.Set;
2020

21-
/** The installation status of the related integration */
21+
/** The installation status of the related integration. */
2222
@JsonSerialize(
2323
using =
2424
SecurityMonitoringContentPackIntegrationStatus

0 commit comments

Comments
 (0)