Skip to content

Commit 8c37a2d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add new product Code Security host for summary endpoint and UA endpoints (#1923)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a7d8679 commit 8c37a2d

File tree

9 files changed

+87
-4
lines changed

9 files changed

+87
-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.6",
7-
"regenerated": "2024-12-13 14:31:41.636551",
8-
"spec_repo_commit": "ed3bb0a0"
7+
"regenerated": "2024-12-13 14:48:35.249300",
8+
"spec_repo_commit": "5392df51"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-13 14:31:41.657621",
13-
"spec_repo_commit": "ed3bb0a0"
12+
"regenerated": "2024-12-13 14:48:35.268742",
13+
"spec_repo_commit": "5392df51"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4185,6 +4185,7 @@ components:
41854185
- ci_test_indexed_spans_usage
41864186
- ci_visibility_itr_usage
41874187
- cloud_siem_usage
4188+
- code_security_host_usage
41884189
- container_excl_agent_usage
41894190
- container_usage
41904191
- cspm_containers_usage
@@ -4258,6 +4259,7 @@ components:
42584259
- CI_TEST_INDEXED_SPANS_USAGE
42594260
- CI_VISIBILITY_ITR_USAGE
42604261
- CLOUD_SIEM_USAGE
4262+
- CODE_SECURITY_HOST_USAGE
42614263
- CONTAINER_EXCL_AGENT_USAGE
42624264
- CONTAINER_USAGE
42634265
- CSPM_CONTAINERS_USAGE
@@ -7938,6 +7940,8 @@ components:
79387940
- ci_visibility_itr_percentage
79397941
- cloud_siem_usage
79407942
- cloud_siem_percentage
7943+
- code_security_host_usage
7944+
- code_security_host_percentage
79417945
- container_excl_agent_usage
79427946
- container_excl_agent_percentage
79437947
- container_usage
@@ -8079,6 +8083,8 @@ components:
80798083
- CI_VISIBILITY_ITR_PERCENTAGE
80808084
- CLOUD_SIEM_USAGE
80818085
- CLOUD_SIEM_PERCENTAGE
8086+
- CODE_SECURITY_HOST_USAGE
8087+
- CODE_SECURITY_HOST_PERCENTAGE
80828088
- CONTAINER_EXCL_AGENT_USAGE
80838089
- CONTAINER_EXCL_AGENT_PERCENTAGE
80848090
- CONTAINER_USAGE
@@ -8306,6 +8312,14 @@ components:
83068312
tag(s).
83078313
format: double
83088314
type: number
8315+
code_security_host_percentage:
8316+
description: The percentage of Code Security host usage by tags.
8317+
format: double
8318+
type: number
8319+
code_security_host_usage:
8320+
description: The Code Security host usage by tags.
8321+
format: double
8322+
type: number
83098323
container_excl_agent_percentage:
83108324
description: The percentage of container usage without the Datadog Agent
83118325
by tag(s).
@@ -19790,6 +19804,11 @@ components:
1979019804
Analysis committers over all hours in the current date for the given org.
1979119805
format: int64
1979219806
type: integer
19807+
code_security_host_top99p:
19808+
description: Shows the 99th percentile of all Code Security hosts over all
19809+
hours in the current date for the given org.
19810+
format: int64
19811+
type: integer
1979319812
container_avg:
1979419813
description: Shows the average of all distinct containers over all hours
1979519814
in the current date for all organizations.
@@ -20556,6 +20575,11 @@ components:
2055620575
Analysis committers over all hours in the current date for the given org.
2055720576
format: int64
2055820577
type: integer
20578+
code_security_host_top99p:
20579+
description: Shows the 99th percentile of all Code Security hosts over all
20580+
hours in the current date for the given org.
20581+
format: int64
20582+
type: integer
2055920583
container_avg:
2056020584
description: Shows the average of all distinct containers over all hours
2056120585
in the current date for the given org.
@@ -21333,6 +21357,11 @@ components:
2133321357
Analysis committers over all hours in the current month for all organizations.
2133421358
format: int64
2133521359
type: integer
21360+
code_security_host_top99p_sum:
21361+
description: Shows the 99th percentile of all Code Security hosts over all
21362+
hours in the current month for all organizations.
21363+
format: int64
21364+
type: integer
2133621365
container_avg_sum:
2133721366
description: Shows the average of all distinct containers over all hours
2133821367
in the current month for all organizations.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export type HourlyUsageAttributionUsageType =
2424
| typeof CI_TEST_INDEXED_SPANS_USAGE
2525
| typeof CI_VISIBILITY_ITR_USAGE
2626
| typeof CLOUD_SIEM_USAGE
27+
| typeof CODE_SECURITY_HOST_USAGE
2728
| typeof CONTAINER_EXCL_AGENT_USAGE
2829
| typeof CONTAINER_USAGE
2930
| typeof CSPM_CONTAINERS_USAGE
@@ -99,6 +100,7 @@ export const CI_PIPELINE_INDEXED_SPANS_USAGE =
99100
export const CI_TEST_INDEXED_SPANS_USAGE = "ci_test_indexed_spans_usage";
100101
export const CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage";
101102
export const CLOUD_SIEM_USAGE = "cloud_siem_usage";
103+
export const CODE_SECURITY_HOST_USAGE = "code_security_host_usage";
102104
export const CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage";
103105
export const CONTAINER_USAGE = "container_usage";
104106
export const CSPM_CONTAINERS_USAGE = "cspm_containers_usage";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
3131
| typeof CI_VISIBILITY_ITR_PERCENTAGE
3232
| typeof CLOUD_SIEM_USAGE
3333
| typeof CLOUD_SIEM_PERCENTAGE
34+
| typeof CODE_SECURITY_HOST_USAGE
35+
| typeof CODE_SECURITY_HOST_PERCENTAGE
3436
| typeof CONTAINER_EXCL_AGENT_USAGE
3537
| typeof CONTAINER_EXCL_AGENT_PERCENTAGE
3638
| typeof CONTAINER_USAGE
@@ -173,6 +175,8 @@ export const CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage";
173175
export const CI_VISIBILITY_ITR_PERCENTAGE = "ci_visibility_itr_percentage";
174176
export const CLOUD_SIEM_USAGE = "cloud_siem_usage";
175177
export const CLOUD_SIEM_PERCENTAGE = "cloud_siem_percentage";
178+
export const CODE_SECURITY_HOST_USAGE = "code_security_host_usage";
179+
export const CODE_SECURITY_HOST_PERCENTAGE = "code_security_host_percentage";
176180
export const CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage";
177181
export const CONTAINER_EXCL_AGENT_PERCENTAGE =
178182
"container_excl_agent_percentage";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ export class MonthlyUsageAttributionValues {
106106
* The Cloud Security Information and Event Management usage by tag(s).
107107
*/
108108
"cloudSiemUsage"?: number;
109+
/**
110+
* The percentage of Code Security host usage by tags.
111+
*/
112+
"codeSecurityHostPercentage"?: number;
113+
/**
114+
* The Code Security host usage by tags.
115+
*/
116+
"codeSecurityHostUsage"?: number;
109117
/**
110118
* The percentage of container usage without the Datadog Agent by tag(s).
111119
*/
@@ -691,6 +699,16 @@ export class MonthlyUsageAttributionValues {
691699
type: "number",
692700
format: "double",
693701
},
702+
codeSecurityHostPercentage: {
703+
baseName: "code_security_host_percentage",
704+
type: "number",
705+
format: "double",
706+
},
707+
codeSecurityHostUsage: {
708+
baseName: "code_security_host_usage",
709+
type: "number",
710+
format: "double",
711+
},
694712
containerExclAgentPercentage: {
695713
baseName: "container_excl_agent_percentage",
696714
type: "number",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ const enumsMap: { [key: string]: any[] } = {
809809
"ci_test_indexed_spans_usage",
810810
"ci_visibility_itr_usage",
811811
"cloud_siem_usage",
812+
"code_security_host_usage",
812813
"container_excl_agent_usage",
813814
"container_usage",
814815
"cspm_containers_usage",
@@ -1017,6 +1018,8 @@ const enumsMap: { [key: string]: any[] } = {
10171018
"ci_visibility_itr_percentage",
10181019
"cloud_siem_usage",
10191020
"cloud_siem_percentage",
1021+
"code_security_host_usage",
1022+
"code_security_host_percentage",
10201023
"container_excl_agent_usage",
10211024
"container_excl_agent_percentage",
10221025
"container_usage",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ export class UsageSummaryDate {
131131
* Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.
132132
*/
133133
"codeAnalysisScaCommittersHwm"?: number;
134+
/**
135+
* Shows the 99th percentile of all Code Security hosts over all hours in the current date for the given org.
136+
*/
137+
"codeSecurityHostTop99p"?: number;
134138
/**
135139
* Shows the average of all distinct containers over all hours in the current date for all organizations.
136140
*/
@@ -738,6 +742,11 @@ export class UsageSummaryDate {
738742
type: "number",
739743
format: "int64",
740744
},
745+
codeSecurityHostTop99p: {
746+
baseName: "code_security_host_top99p",
747+
type: "number",
748+
format: "int64",
749+
},
741750
containerAvg: {
742751
baseName: "container_avg",
743752
type: "number",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ export class UsageSummaryDateOrg {
138138
* Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.
139139
*/
140140
"codeAnalysisScaCommittersHwm"?: number;
141+
/**
142+
* Shows the 99th percentile of all Code Security hosts over all hours in the current date for the given org.
143+
*/
144+
"codeSecurityHostTop99p"?: number;
141145
/**
142146
* Shows the average of all distinct containers over all hours in the current date for the given org.
143147
*/
@@ -769,6 +773,11 @@ export class UsageSummaryDateOrg {
769773
type: "number",
770774
format: "int64",
771775
},
776+
codeSecurityHostTop99p: {
777+
baseName: "code_security_host_top99p",
778+
type: "number",
779+
format: "int64",
780+
},
772781
containerAvg: {
773782
baseName: "container_avg",
774783
type: "number",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ export class UsageSummaryResponse {
136136
* Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current month for all organizations.
137137
*/
138138
"codeAnalysisScaCommittersHwmSum"?: number;
139+
/**
140+
* Shows the 99th percentile of all Code Security hosts over all hours in the current month for all organizations.
141+
*/
142+
"codeSecurityHostTop99pSum"?: number;
139143
/**
140144
* Shows the average of all distinct containers over all hours in the current month for all organizations.
141145
*/
@@ -788,6 +792,11 @@ export class UsageSummaryResponse {
788792
type: "number",
789793
format: "int64",
790794
},
795+
codeSecurityHostTop99pSum: {
796+
baseName: "code_security_host_top99p_sum",
797+
type: "number",
798+
format: "int64",
799+
},
791800
containerAvgSum: {
792801
baseName: "container_avg_sum",
793802
type: "number",

0 commit comments

Comments
 (0)