Skip to content

Commit 27acf66

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 663f45f of spec repo
1 parent 4f1d512 commit 27acf66

8 files changed

Lines changed: 80 additions & 9 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17596,6 +17596,18 @@ components:
1759617596
CustomCostListResponseMeta:
1759717597
description: Meta for the response from the List Custom Costs endpoints.
1759817598
properties:
17599+
count_by_status:
17600+
additionalProperties:
17601+
format: int64
17602+
type: integer
17603+
description: Number of Custom Costs files per status.
17604+
type: object
17605+
providers:
17606+
description: List of available providers.
17607+
items:
17608+
description: A provider name.
17609+
type: string
17610+
type: array
1759917611
total_filtered_count:
1760017612
description: Number of Custom Costs files returned by the List Custom Costs endpoint
1760117613
format: int64
@@ -60999,7 +61011,7 @@ components:
6099961011
- TIMESTAMP_DESCENDING
6100061012
SecurityMonitoringStandardDataSource:
6100161013
default: logs
61002-
description: Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
61014+
description: Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
6100361015
enum:
6100461016
- logs
6100561017
- audit
@@ -61008,7 +61020,6 @@ components:
6100861020
- security_runtime
6100961021
- network
6101061022
- events
61011-
- security_signals
6101261023
example: logs
6101361024
type: string
6101461025
x-enum-varnames:
@@ -61019,7 +61030,6 @@ components:
6101961030
- SECURITY_RUNTIME
6102061031
- NETWORK
6102161032
- EVENTS
61022-
- SECURITY_SIGNALS
6102361033
SecurityMonitoringStandardRuleCreatePayload:
6102461034
description: Create a new rule.
6102561035
properties:
@@ -84155,6 +84165,18 @@ paths:
8415584165
name: filter[status]
8415684166
schema:
8415784167
type: string
84168+
- description: Filter files by name with case-insensitive substring matching.
84169+
in: query
84170+
name: filter[name]
84171+
schema:
84172+
type: string
84173+
- description: Filter by provider.
84174+
in: query
84175+
name: filter[provider]
84176+
schema:
84177+
items:
84178+
type: string
84179+
type: array
8415884180
- description: Sort key with optional descending prefix
8415984181
in: query
8416084182
name: sort

features/support/scenarios_model_mapping.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5417,6 +5417,14 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
54175417
"type": "string",
54185418
"format": "",
54195419
},
5420+
"filterName": {
5421+
"type": "string",
5422+
"format": "",
5423+
},
5424+
"filterProvider": {
5425+
"type": "Array<string>",
5426+
"format": "",
5427+
},
54205428
"sort": {
54215429
"type": "string",
54225430
"format": "",

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,8 @@ export class CloudCostManagementApiRequestFactory extends BaseAPIRequestFactory
869869
pageNumber?: number,
870870
pageSize?: number,
871871
filterStatus?: string,
872+
filterName?: string,
873+
filterProvider?: Array<string>,
872874
sort?: string,
873875
_options?: Configuration
874876
): Promise<RequestContext> {
@@ -906,6 +908,20 @@ export class CloudCostManagementApiRequestFactory extends BaseAPIRequestFactory
906908
""
907909
);
908910
}
911+
if (filterName !== undefined) {
912+
requestContext.setQueryParam(
913+
"filter[name]",
914+
ObjectSerializer.serialize(filterName, "string", ""),
915+
""
916+
);
917+
}
918+
if (filterProvider !== undefined) {
919+
requestContext.setQueryParam(
920+
"filter[provider]",
921+
ObjectSerializer.serialize(filterProvider, "Array<string>", ""),
922+
"multi"
923+
);
924+
}
909925
if (sort !== undefined) {
910926
requestContext.setQueryParam(
911927
"sort",
@@ -3816,6 +3832,16 @@ export interface CloudCostManagementApiListCustomCostsFilesRequest {
38163832
* @type string
38173833
*/
38183834
filterStatus?: string;
3835+
/**
3836+
* Filter files by name with case-insensitive substring matching.
3837+
* @type string
3838+
*/
3839+
filterName?: string;
3840+
/**
3841+
* Filter by provider.
3842+
* @type Array<string>
3843+
*/
3844+
filterProvider?: Array<string>;
38193845
/**
38203846
* Sort key with optional descending prefix
38213847
* @type string
@@ -4471,6 +4497,8 @@ export class CloudCostManagementApi {
44714497
param.pageNumber,
44724498
param.pageSize,
44734499
param.filterStatus,
4500+
param.filterName,
4501+
param.filterProvider,
44744502
param.sort,
44754503
options
44764504
);

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Meta for the response from the List Custom Costs endpoints.
1111
*/
1212
export class CustomCostListResponseMeta {
13+
/**
14+
* Number of Custom Costs files per status.
15+
*/
16+
"countByStatus"?: { [key: string]: number };
17+
/**
18+
* List of available providers.
19+
*/
20+
"providers"?: Array<string>;
1321
/**
1422
* Number of Custom Costs files returned by the List Custom Costs endpoint
1523
*/
@@ -35,6 +43,14 @@ export class CustomCostListResponseMeta {
3543
* @ignore
3644
*/
3745
static readonly attributeTypeMap: AttributeTypeMap = {
46+
countByStatus: {
47+
baseName: "count_by_status",
48+
type: "{ [key: string]: number; }",
49+
},
50+
providers: {
51+
baseName: "providers",
52+
type: "Array<string>",
53+
},
3854
totalFilteredCount: {
3955
baseName: "total_filtered_count",
4056
type: "number",

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5424,7 +5424,6 @@ const enumsMap: { [key: string]: any[] } = {
54245424
"security_runtime",
54255425
"network",
54265426
"events",
5427-
"security_signals",
54285427
],
54295428
SecurityMonitoringSuppressionSort: [
54305429
"name",

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

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

99
/**
10-
* Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
10+
* Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
1111
*/
1212

1313
export type SecurityMonitoringStandardDataSource =
@@ -18,7 +18,6 @@ export type SecurityMonitoringStandardDataSource =
1818
| typeof SECURITY_RUNTIME
1919
| typeof NETWORK
2020
| typeof EVENTS
21-
| typeof SECURITY_SIGNALS
2221
| UnparsedObject;
2322
export const LOGS = "logs";
2423
export const AUDIT = "audit";
@@ -27,4 +26,3 @@ export const SPANS = "spans";
2726
export const SECURITY_RUNTIME = "security_runtime";
2827
export const NETWORK = "network";
2928
export const EVENTS = "events";
30-
export const SECURITY_SIGNALS = "security_signals";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class SecurityMonitoringStandardRuleQuery {
2121
*/
2222
"customQueryExtension"?: string;
2323
/**
24-
* Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
24+
* Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
2525
*/
2626
"dataSource"?: SecurityMonitoringStandardDataSource;
2727
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class ThreatHuntingJobQuery {
1717
*/
1818
"aggregation"?: SecurityMonitoringRuleQueryAggregation;
1919
/**
20-
* Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
20+
* Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
2121
*/
2222
"dataSource"?: SecurityMonitoringStandardDataSource;
2323
/**

0 commit comments

Comments
 (0)