Skip to content

Commit c82b157

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add Application Vulnerability Management to usage metering API (#1141)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 01d6e22 commit c82b157

File tree

9 files changed

+89
-4
lines changed

9 files changed

+89
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-05-12 13:13:12.164751",
8-
"spec_repo_commit": "9eca3996"
7+
"regenerated": "2023-05-17 14:44:41.288610",
8+
"spec_repo_commit": "f8bfb8c1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-05-12 13:13:12.177759",
13-
"spec_repo_commit": "9eca3996"
12+
"regenerated": "2023-05-17 14:44:41.301361",
13+
"spec_repo_commit": "f8bfb8c1"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3764,6 +3764,7 @@ components:
37643764
- snmp_usage
37653765
- estimated_rum_sessions_usage
37663766
- universal_service_monitoring_usage
3767+
- vuln_management_hosts_usage
37673768
type: string
37683769
x-enum-varnames:
37693770
- API_USAGE
@@ -3797,6 +3798,7 @@ components:
37973798
- SNMP_USAGE
37983799
- ESTIMATED_RUM_SESSIONS_USAGE
37993800
- UNIVERSAL_SERVICE_MONITORING_USAGE
3801+
- VULN_MANAGEMENT_HOSTS_USAGE
38003802
IFrameWidgetDefinition:
38013803
description: The iframe widget allows you to embed a portion of any other web
38023804
page on your dashboard. Only available on FREE layout dashboards.
@@ -7260,6 +7262,8 @@ components:
72607262
- estimated_rum_sessions_percentage
72617263
- universal_service_monitoring_usage
72627264
- universal_service_monitoring_percentage
7265+
- vuln_management_hosts_usage
7266+
- vuln_management_hosts_percentage
72637267
- '*'
72647268
type: string
72657269
x-enum-varnames:
@@ -7325,6 +7329,8 @@ components:
73257329
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
73267330
- UNIVERSAL_SERVICE_MONITORING_USAGE
73277331
- UNIVERSAL_SERVICE_MONITORING_PERCENTAGE
7332+
- VULN_MANAGEMENT_HOSTS_USAGE
7333+
- VULN_MANAGEMENT_HOSTS_PERCENTAGE
73287334
- ALL
73297335
MonthlyUsageAttributionValues:
73307336
description: Fields in Usage Summary by tag(s).
@@ -7582,6 +7588,15 @@ components:
75827588
description: The universal service monitoring usage by tag(s).
75837589
format: double
75847590
type: number
7591+
vuln_management_hosts_percentage:
7592+
description: The percentage of Application Vulnerability Management usage
7593+
by tag(s).
7594+
format: double
7595+
type: number
7596+
vuln_management_hosts_usage:
7597+
description: The Application Vulnerability Management usage by tag(s).
7598+
format: double
7599+
type: number
75857600
type: object
75867601
NoteWidgetDefinition:
75877602
description: The notes and links widget is similar to free text widget, but
@@ -17615,6 +17630,11 @@ components:
1761517630
in the current date for all organizations.
1761617631
format: int64
1761717632
type: integer
17633+
vuln_management_host_count_top99p:
17634+
description: Shows the 99th percentile of all Application Vulnerability
17635+
Management hosts over all hours in the current date for the given org.
17636+
format: int64
17637+
type: integer
1761817638
type: object
1761917639
UsageSummaryDateOrg:
1762017640
description: Global hourly report of all data billed by Datadog for a given
@@ -18020,6 +18040,11 @@ components:
1802018040
in the current date for the given org.
1802118041
format: int64
1802218042
type: integer
18043+
vuln_management_host_count_top99p:
18044+
description: Shows the 99th percentile of all Application Vulnerability
18045+
Management hosts over all hours in the current date for the given org.
18046+
format: int64
18047+
type: integer
1802318048
type: object
1802418049
UsageSummaryResponse:
1802518050
description: Response summarizing all usage aggregated across the months in
@@ -18472,6 +18497,11 @@ components:
1847218497
in the current months for all organizations.
1847318498
format: int64
1847418499
type: integer
18500+
vuln_management_host_count_top99p_sum:
18501+
description: Shows the 99th percentile of all Application Vulnerability
18502+
Management hosts over all hours in the current months for all organizations.
18503+
format: int64
18504+
type: integer
1847518505
type: object
1847618506
UsageSyntheticsAPIHour:
1847718507
description: Number of Synthetics API tests run for each hour for a given organization.

packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export type HourlyUsageAttributionUsageType =
4242
| typeof SNMP_USAGE
4343
| typeof ESTIMATED_RUM_SESSIONS_USAGE
4444
| typeof UNIVERSAL_SERVICE_MONITORING_USAGE
45+
| typeof VULN_MANAGEMENT_HOSTS_USAGE
4546
| UnparsedObject;
4647
export const API_USAGE = "api_usage";
4748
export const APM_FARGATE_USAGE = "apm_fargate_usage";
@@ -76,3 +77,4 @@ export const SNMP_USAGE = "snmp_usage";
7677
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
7778
export const UNIVERSAL_SERVICE_MONITORING_USAGE =
7879
"universal_service_monitoring_usage";
80+
export const VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage";

packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
7373
| typeof ESTIMATED_RUM_SESSIONS_PERCENTAGE
7474
| typeof UNIVERSAL_SERVICE_MONITORING_USAGE
7575
| typeof UNIVERSAL_SERVICE_MONITORING_PERCENTAGE
76+
| typeof VULN_MANAGEMENT_HOSTS_USAGE
77+
| typeof VULN_MANAGEMENT_HOSTS_PERCENTAGE
7678
| typeof ALL
7779
| UnparsedObject;
7880
export const API_USAGE = "api_usage";
@@ -147,4 +149,7 @@ export const UNIVERSAL_SERVICE_MONITORING_USAGE =
147149
"universal_service_monitoring_usage";
148150
export const UNIVERSAL_SERVICE_MONITORING_PERCENTAGE =
149151
"universal_service_monitoring_percentage";
152+
export const VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage";
153+
export const VULN_MANAGEMENT_HOSTS_PERCENTAGE =
154+
"vuln_management_hosts_percentage";
150155
export const ALL = "*";

packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ export class MonthlyUsageAttributionValues {
258258
* The universal service monitoring usage by tag(s).
259259
*/
260260
"universalServiceMonitoringUsage"?: number;
261+
/**
262+
* The percentage of Application Vulnerability Management usage by tag(s).
263+
*/
264+
"vulnManagementHostsPercentage"?: number;
265+
/**
266+
* The Application Vulnerability Management usage by tag(s).
267+
*/
268+
"vulnManagementHostsUsage"?: number;
261269

262270
/**
263271
* @ignore
@@ -578,6 +586,16 @@ export class MonthlyUsageAttributionValues {
578586
type: "number",
579587
format: "double",
580588
},
589+
vulnManagementHostsPercentage: {
590+
baseName: "vuln_management_hosts_percentage",
591+
type: "number",
592+
format: "double",
593+
},
594+
vulnManagementHostsUsage: {
595+
baseName: "vuln_management_hosts_usage",
596+
type: "number",
597+
format: "double",
598+
},
581599
};
582600

583601
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ const enumsMap: { [key: string]: any[] } = {
746746
"snmp_usage",
747747
"estimated_rum_sessions_usage",
748748
"universal_service_monitoring_usage",
749+
"vuln_management_hosts_usage",
749750
],
750751
IFrameWidgetDefinitionType: ["iframe"],
751752
ImageWidgetDefinitionType: ["image"],
@@ -931,6 +932,8 @@ const enumsMap: { [key: string]: any[] } = {
931932
"estimated_rum_sessions_percentage",
932933
"universal_service_monitoring_usage",
933934
"universal_service_monitoring_percentage",
935+
"vuln_management_hosts_usage",
936+
"vuln_management_hosts_percentage",
934937
"*",
935938
],
936939
NoteWidgetDefinitionType: ["note"],

packages/datadog-api-client-v1/models/UsageSummaryDate.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ export class UsageSummaryDate {
327327
* Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations.
328328
*/
329329
"vsphereHostTop99p"?: number;
330+
/**
331+
* Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.
332+
*/
333+
"vulnManagementHostCountTop99p"?: number;
330334

331335
/**
332336
* @ignore
@@ -731,6 +735,11 @@ export class UsageSummaryDate {
731735
type: "number",
732736
format: "int64",
733737
},
738+
vulnManagementHostCountTop99p: {
739+
baseName: "vuln_management_host_count_top99p",
740+
type: "number",
741+
format: "int64",
742+
},
734743
};
735744

736745
/**

packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ export class UsageSummaryDateOrg {
334334
* Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org.
335335
*/
336336
"vsphereHostTop99p"?: number;
337+
/**
338+
* Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.
339+
*/
340+
"vulnManagementHostCountTop99p"?: number;
337341

338342
/**
339343
* @ignore
@@ -745,6 +749,11 @@ export class UsageSummaryDateOrg {
745749
type: "number",
746750
format: "int64",
747751
},
752+
vulnManagementHostCountTop99p: {
753+
baseName: "vuln_management_host_count_top99p",
754+
type: "number",
755+
format: "int64",
756+
},
748757
};
749758

750759
/**

packages/datadog-api-client-v1/models/UsageSummaryResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ export class UsageSummaryResponse {
364364
* Shows the 99th percentile of all vSphere hosts over all hours in the current months for all organizations.
365365
*/
366366
"vsphereHostTop99pSum"?: number;
367+
/**
368+
* Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current months for all organizations.
369+
*/
370+
"vulnManagementHostCountTop99pSum"?: number;
367371

368372
/**
369373
* @ignore
@@ -812,6 +816,11 @@ export class UsageSummaryResponse {
812816
type: "number",
813817
format: "int64",
814818
},
819+
vulnManagementHostCountTop99pSum: {
820+
baseName: "vuln_management_host_count_top99p_sum",
821+
type: "number",
822+
format: "int64",
823+
},
815824
};
816825

817826
/**

0 commit comments

Comments
 (0)