Skip to content

Commit 6467754

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Expose sds_scanned_bytes_usage in usage attribution API (#1285)
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 e68724c commit 6467754

File tree

6 files changed

+45
-4
lines changed

6 files changed

+45
-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.5",
7-
"regenerated": "2023-08-11 18:45:35.333190",
8-
"spec_repo_commit": "54e2961f"
7+
"regenerated": "2023-08-15 17:01:28.345423",
8+
"spec_repo_commit": "d5b95a22"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-08-11 18:45:35.346692",
13-
"spec_repo_commit": "54e2961f"
12+
"regenerated": "2023-08-15 17:01:28.359439",
13+
"spec_repo_commit": "d5b95a22"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3901,6 +3901,7 @@ components:
39013901
- estimated_rum_sessions_usage
39023902
- universal_service_monitoring_usage
39033903
- vuln_management_hosts_usage
3904+
- sds_scanned_bytes_usage
39043905
type: string
39053906
x-enum-varnames:
39063907
- API_USAGE
@@ -3937,6 +3938,7 @@ components:
39373938
- ESTIMATED_RUM_SESSIONS_USAGE
39383939
- UNIVERSAL_SERVICE_MONITORING_USAGE
39393940
- VULN_MANAGEMENT_HOSTS_USAGE
3941+
- SDS_SCANNED_BYTES_USAGE
39403942
IFrameWidgetDefinition:
39413943
description: The iframe widget allows you to embed a portion of any other web
39423944
page on your dashboard. Only available on FREE layout dashboards.
@@ -7471,6 +7473,8 @@ components:
74717473
- universal_service_monitoring_percentage
74727474
- vuln_management_hosts_usage
74737475
- vuln_management_hosts_percentage
7476+
- sds_scanned_bytes_usage
7477+
- sds_scanned_bytes_percentage
74747478
- '*'
74757479
type: string
74767480
x-enum-varnames:
@@ -7542,6 +7546,8 @@ components:
75427546
- UNIVERSAL_SERVICE_MONITORING_PERCENTAGE
75437547
- VULN_MANAGEMENT_HOSTS_USAGE
75447548
- VULN_MANAGEMENT_HOSTS_PERCENTAGE
7549+
- SDS_SCANNED_BYTES_USAGE
7550+
- SDS_SCANNED_BYTES_PERCENTAGE
75457551
- ALL
75467552
MonthlyUsageAttributionValues:
75477553
description: Fields in Usage Summary by tag(s).
@@ -7800,6 +7806,14 @@ components:
78007806
description: The profiled hosts usage by tag(s).
78017807
format: double
78027808
type: number
7809+
sds_scanned_bytes_percentage:
7810+
description: The percentage of Sensitive Data Scanner usage by tag(s).
7811+
format: double
7812+
type: number
7813+
sds_scanned_bytes_usage:
7814+
description: The total Sensitive Data Scanner usage by tag(s).
7815+
format: double
7816+
type: number
78037817
snmp_percentage:
78047818
description: The percentage of network device usage by tag(s).
78057819
format: double

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export type HourlyUsageAttributionUsageType =
4545
| typeof ESTIMATED_RUM_SESSIONS_USAGE
4646
| typeof UNIVERSAL_SERVICE_MONITORING_USAGE
4747
| typeof VULN_MANAGEMENT_HOSTS_USAGE
48+
| typeof SDS_SCANNED_BYTES_USAGE
4849
| UnparsedObject;
4950
export const API_USAGE = "api_usage";
5051
export const APM_FARGATE_USAGE = "apm_fargate_usage";
@@ -82,3 +83,4 @@ export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
8283
export const UNIVERSAL_SERVICE_MONITORING_USAGE =
8384
"universal_service_monitoring_usage";
8485
export const VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage";
86+
export const SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
7979
| typeof UNIVERSAL_SERVICE_MONITORING_PERCENTAGE
8080
| typeof VULN_MANAGEMENT_HOSTS_USAGE
8181
| typeof VULN_MANAGEMENT_HOSTS_PERCENTAGE
82+
| typeof SDS_SCANNED_BYTES_USAGE
83+
| typeof SDS_SCANNED_BYTES_PERCENTAGE
8284
| typeof ALL
8385
| UnparsedObject;
8486
export const API_USAGE = "api_usage";
@@ -160,4 +162,6 @@ export const UNIVERSAL_SERVICE_MONITORING_PERCENTAGE =
160162
export const VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage";
161163
export const VULN_MANAGEMENT_HOSTS_PERCENTAGE =
162164
"vuln_management_hosts_percentage";
165+
export const SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage";
166+
export const SDS_SCANNED_BYTES_PERCENTAGE = "sds_scanned_bytes_percentage";
163167
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 profiled hosts usage by tag(s).
259259
*/
260260
"profiledHostUsage"?: number;
261+
/**
262+
* The percentage of Sensitive Data Scanner usage by tag(s).
263+
*/
264+
"sdsScannedBytesPercentage"?: number;
265+
/**
266+
* The total Sensitive Data Scanner usage by tag(s).
267+
*/
268+
"sdsScannedBytesUsage"?: number;
261269
/**
262270
* The percentage of network device usage by tag(s).
263271
*/
@@ -602,6 +610,16 @@ export class MonthlyUsageAttributionValues {
602610
type: "number",
603611
format: "double",
604612
},
613+
sdsScannedBytesPercentage: {
614+
baseName: "sds_scanned_bytes_percentage",
615+
type: "number",
616+
format: "double",
617+
},
618+
sdsScannedBytesUsage: {
619+
baseName: "sds_scanned_bytes_usage",
620+
type: "number",
621+
format: "double",
622+
},
605623
snmpPercentage: {
606624
baseName: "snmp_percentage",
607625
type: "number",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ const enumsMap: { [key: string]: any[] } = {
765765
"estimated_rum_sessions_usage",
766766
"universal_service_monitoring_usage",
767767
"vuln_management_hosts_usage",
768+
"sds_scanned_bytes_usage",
768769
],
769770
IFrameWidgetDefinitionType: ["iframe"],
770771
ImageWidgetDefinitionType: ["image"],
@@ -957,6 +958,8 @@ const enumsMap: { [key: string]: any[] } = {
957958
"universal_service_monitoring_percentage",
958959
"vuln_management_hosts_usage",
959960
"vuln_management_hosts_percentage",
961+
"sds_scanned_bytes_usage",
962+
"sds_scanned_bytes_percentage",
960963
"*",
961964
],
962965
NoteWidgetDefinitionType: ["note"],

0 commit comments

Comments
 (0)