Skip to content

Commit bf1a3b4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add missing request body examples for 15 operations [AAWF-1196] (#3973)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6256b5e commit bf1a3b4

9 files changed

Lines changed: 338 additions & 92 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 319 additions & 70 deletions
Large diffs are not rendered by default.

packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ export class SecurityMonitoringApiRequestFactory extends BaseAPIRequestFactory {
162162
applySecurityAuthentication(_config, requestContext, [
163163
"apiKeyAuth",
164164
"appKeyAuth",
165-
"AuthZ",
166165
]);
167166

168167
return requestContext;
@@ -1217,7 +1216,6 @@ export class SecurityMonitoringApiRequestFactory extends BaseAPIRequestFactory {
12171216
applySecurityAuthentication(_config, requestContext, [
12181217
"apiKeyAuth",
12191218
"appKeyAuth",
1220-
"AuthZ",
12211219
]);
12221220

12231221
return requestContext;
@@ -1879,7 +1877,6 @@ export class SecurityMonitoringApiRequestFactory extends BaseAPIRequestFactory {
18791877
applySecurityAuthentication(_config, requestContext, [
18801878
"apiKeyAuth",
18811879
"appKeyAuth",
1882-
"AuthZ",
18831880
]);
18841881

18851882
return requestContext;
@@ -11450,7 +11447,7 @@ export class SecurityMonitoringApiResponseProcessor {
1145011447

1145111448
export interface SecurityMonitoringApiActivateContentPackRequest {
1145211449
/**
11453-
* The ID of the content pack to activate (for example, `aws-cloudtrail`).
11450+
* The ID of the content pack to activate.
1145411451
* @type string
1145511452
*/
1145611453
contentPackId: string;
@@ -11634,7 +11631,7 @@ export interface SecurityMonitoringApiCreateVulnerabilityNotificationRuleRequest
1163411631

1163511632
export interface SecurityMonitoringApiDeactivateContentPackRequest {
1163611633
/**
11637-
* The ID of the content pack to deactivate (for example, `aws-cloudtrail`).
11634+
* The ID of the content pack to deactivate.
1163811635
* @type string
1163911636
*/
1164011637
contentPackId: string;
@@ -12889,7 +12886,7 @@ export class SecurityMonitoringApi {
1288912886
}
1289012887

1289112888
/**
12892-
* Activate a Cloud SIEM content pack. This operation configures the necessary
12889+
* Activate a security monitoring content pack. This operation configures the necessary
1289312890
* log filters or security filters depending on the pricing model and updates the content
1289412891
* pack activation state.
1289512892
* @param param The request object
@@ -13420,7 +13417,7 @@ export class SecurityMonitoringApi {
1342013417
}
1342113418

1342213419
/**
13423-
* Deactivate a Cloud SIEM content pack. This operation removes the content pack's
13420+
* Deactivate a security monitoring content pack. This operation removes the content pack's
1342413421
* configuration from log filters or security filters and updates the content pack activation state.
1342513422
* @param param The request object
1342613423
*/
@@ -13769,8 +13766,9 @@ export class SecurityMonitoringApi {
1376913766
}
1377013767

1377113768
/**
13772-
* Get the activation state, integration status, and log collection status
13773-
* for all Cloud SIEM content packs.
13769+
* Get the activation and configuration states for all security monitoring content packs.
13770+
* This endpoint returns status information about each content pack including activation state,
13771+
* integration status, and log collection status.
1377413772
* @param param The request object
1377513773
*/
1377613774
public getContentPacksStates(

packages/datadog-api-client-v2/models/SecurityMonitoringContentPackActivation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* The activation status of a content pack.
10+
* The activation status of a content pack
1111
*/
1212

1313
export type SecurityMonitoringContentPackActivation =

packages/datadog-api-client-v2/models/SecurityMonitoringContentPackIntegrationStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* The installation status of the related integration.
10+
* The installation status of the related integration
1111
*/
1212

1313
export type SecurityMonitoringContentPackIntegrationStatus =

packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateAttributes.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,27 @@ export class SecurityMonitoringContentPackStateAttributes {
1919
*/
2020
"cloudSiemIndexIncorrect": boolean;
2121
/**
22-
* The activation status of a content pack.
22+
* The activation status of a content pack
2323
*/
2424
"cpActivation": SecurityMonitoringContentPackActivation;
2525
/**
26-
* Whether filters (Security Filters or Index Query depending on the pricing model) are
27-
* present and correctly configured to route logs into Cloud SIEM.
26+
* Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
2827
*/
2928
"filtersConfiguredForLogs": boolean;
3029
/**
31-
* The installation status of the related integration.
30+
* The installation status of the related integration
3231
*/
3332
"integrationInstalledStatus"?: SecurityMonitoringContentPackIntegrationStatus;
3433
/**
35-
* Timestamp bucket indicating when logs were last collected.
34+
* Timestamp bucket indicating when logs were last collected
3635
*/
3736
"logsLastCollected": SecurityMonitoringContentPackTimestampBucket;
3837
/**
39-
* Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
38+
* Whether logs have been seen from any index
4039
*/
4140
"logsSeenFromAnyIndex": boolean;
4241
/**
43-
* The current operational status of a content pack.
42+
* The current status of a content pack
4443
*/
4544
"state": SecurityMonitoringContentPackStatus;
4645

packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateMeta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class SecurityMonitoringContentPackStateMeta {
1616
*/
1717
"cloudSiemIndexIncorrect": boolean;
1818
/**
19-
* The Cloud SIEM pricing model (SKU) for the organization.
19+
* The SIEM pricing model (SKU) for the organization
2020
*/
2121
"sku": SecurityMonitoringSKU;
2222

packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* The current operational status of a content pack.
10+
* The current status of a content pack
1111
*/
1212

1313
export type SecurityMonitoringContentPackStatus =

packages/datadog-api-client-v2/models/SecurityMonitoringContentPackTimestampBucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* Timestamp bucket indicating when logs were last collected.
10+
* Timestamp bucket indicating when logs were last collected
1111
*/
1212

1313
export type SecurityMonitoringContentPackTimestampBucket =

packages/datadog-api-client-v2/models/SecurityMonitoringSKU.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* The Cloud SIEM pricing model (SKU) for the organization.
10+
* The SIEM pricing model (SKU) for the organization
1111
*/
1212

1313
export type SecurityMonitoringSKU =

0 commit comments

Comments
 (0)