Skip to content

Add new product Code Security host for summary endpoint and UA endpoints #1923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 14:31:41.636551",
"spec_repo_commit": "ed3bb0a0"
"regenerated": "2024-12-13 14:48:35.249300",
"spec_repo_commit": "5392df51"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 14:31:41.657621",
"spec_repo_commit": "ed3bb0a0"
"regenerated": "2024-12-13 14:48:35.268742",
"spec_repo_commit": "5392df51"
}
}
}
29 changes: 29 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4185,6 +4185,7 @@ components:
- ci_test_indexed_spans_usage
- ci_visibility_itr_usage
- cloud_siem_usage
- code_security_host_usage
- container_excl_agent_usage
- container_usage
- cspm_containers_usage
Expand Down Expand Up @@ -4258,6 +4259,7 @@ components:
- CI_TEST_INDEXED_SPANS_USAGE
- CI_VISIBILITY_ITR_USAGE
- CLOUD_SIEM_USAGE
- CODE_SECURITY_HOST_USAGE
- CONTAINER_EXCL_AGENT_USAGE
- CONTAINER_USAGE
- CSPM_CONTAINERS_USAGE
Expand Down Expand Up @@ -7938,6 +7940,8 @@ components:
- ci_visibility_itr_percentage
- cloud_siem_usage
- cloud_siem_percentage
- code_security_host_usage
- code_security_host_percentage
- container_excl_agent_usage
- container_excl_agent_percentage
- container_usage
Expand Down Expand Up @@ -8079,6 +8083,8 @@ components:
- CI_VISIBILITY_ITR_PERCENTAGE
- CLOUD_SIEM_USAGE
- CLOUD_SIEM_PERCENTAGE
- CODE_SECURITY_HOST_USAGE
- CODE_SECURITY_HOST_PERCENTAGE
- CONTAINER_EXCL_AGENT_USAGE
- CONTAINER_EXCL_AGENT_PERCENTAGE
- CONTAINER_USAGE
Expand Down Expand Up @@ -8306,6 +8312,14 @@ components:
tag(s).
format: double
type: number
code_security_host_percentage:
description: The percentage of Code Security host usage by tags.
format: double
type: number
code_security_host_usage:
description: The Code Security host usage by tags.
format: double
type: number
container_excl_agent_percentage:
description: The percentage of container usage without the Datadog Agent
by tag(s).
Expand Down Expand Up @@ -19790,6 +19804,11 @@ components:
Analysis committers over all hours in the current date for the given org.
format: int64
type: integer
code_security_host_top99p:
description: Shows the 99th percentile of all Code Security hosts over all
hours in the current date for the given org.
format: int64
type: integer
container_avg:
description: Shows the average of all distinct containers over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -20556,6 +20575,11 @@ components:
Analysis committers over all hours in the current date for the given org.
format: int64
type: integer
code_security_host_top99p:
description: Shows the 99th percentile of all Code Security hosts over all
hours in the current date for the given org.
format: int64
type: integer
container_avg:
description: Shows the average of all distinct containers over all hours
in the current date for the given org.
Expand Down Expand Up @@ -21333,6 +21357,11 @@ components:
Analysis committers over all hours in the current month for all organizations.
format: int64
type: integer
code_security_host_top99p_sum:
description: Shows the 99th percentile of all Code Security hosts over all
hours in the current month for all organizations.
format: int64
type: integer
container_avg_sum:
description: Shows the average of all distinct containers over all hours
in the current month for all organizations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type HourlyUsageAttributionUsageType =
| typeof CI_TEST_INDEXED_SPANS_USAGE
| typeof CI_VISIBILITY_ITR_USAGE
| typeof CLOUD_SIEM_USAGE
| typeof CODE_SECURITY_HOST_USAGE
| typeof CONTAINER_EXCL_AGENT_USAGE
| typeof CONTAINER_USAGE
| typeof CSPM_CONTAINERS_USAGE
Expand Down Expand Up @@ -99,6 +100,7 @@ export const CI_PIPELINE_INDEXED_SPANS_USAGE =
export const CI_TEST_INDEXED_SPANS_USAGE = "ci_test_indexed_spans_usage";
export const CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage";
export const CLOUD_SIEM_USAGE = "cloud_siem_usage";
export const CODE_SECURITY_HOST_USAGE = "code_security_host_usage";
export const CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage";
export const CONTAINER_USAGE = "container_usage";
export const CSPM_CONTAINERS_USAGE = "cspm_containers_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof CI_VISIBILITY_ITR_PERCENTAGE
| typeof CLOUD_SIEM_USAGE
| typeof CLOUD_SIEM_PERCENTAGE
| typeof CODE_SECURITY_HOST_USAGE
| typeof CODE_SECURITY_HOST_PERCENTAGE
| typeof CONTAINER_EXCL_AGENT_USAGE
| typeof CONTAINER_EXCL_AGENT_PERCENTAGE
| typeof CONTAINER_USAGE
Expand Down Expand Up @@ -173,6 +175,8 @@ export const CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage";
export const CI_VISIBILITY_ITR_PERCENTAGE = "ci_visibility_itr_percentage";
export const CLOUD_SIEM_USAGE = "cloud_siem_usage";
export const CLOUD_SIEM_PERCENTAGE = "cloud_siem_percentage";
export const CODE_SECURITY_HOST_USAGE = "code_security_host_usage";
export const CODE_SECURITY_HOST_PERCENTAGE = "code_security_host_percentage";
export const CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage";
export const CONTAINER_EXCL_AGENT_PERCENTAGE =
"container_excl_agent_percentage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ export class MonthlyUsageAttributionValues {
* The Cloud Security Information and Event Management usage by tag(s).
*/
"cloudSiemUsage"?: number;
/**
* The percentage of Code Security host usage by tags.
*/
"codeSecurityHostPercentage"?: number;
/**
* The Code Security host usage by tags.
*/
"codeSecurityHostUsage"?: number;
/**
* The percentage of container usage without the Datadog Agent by tag(s).
*/
Expand Down Expand Up @@ -691,6 +699,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
codeSecurityHostPercentage: {
baseName: "code_security_host_percentage",
type: "number",
format: "double",
},
codeSecurityHostUsage: {
baseName: "code_security_host_usage",
type: "number",
format: "double",
},
containerExclAgentPercentage: {
baseName: "container_excl_agent_percentage",
type: "number",
Expand Down
3 changes: 3 additions & 0 deletions packages/datadog-api-client-v1/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ const enumsMap: { [key: string]: any[] } = {
"ci_test_indexed_spans_usage",
"ci_visibility_itr_usage",
"cloud_siem_usage",
"code_security_host_usage",
"container_excl_agent_usage",
"container_usage",
"cspm_containers_usage",
Expand Down Expand Up @@ -1017,6 +1018,8 @@ const enumsMap: { [key: string]: any[] } = {
"ci_visibility_itr_percentage",
"cloud_siem_usage",
"cloud_siem_percentage",
"code_security_host_usage",
"code_security_host_percentage",
"container_excl_agent_usage",
"container_excl_agent_percentage",
"container_usage",
Expand Down
9 changes: 9 additions & 0 deletions packages/datadog-api-client-v1/models/UsageSummaryDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ export class UsageSummaryDate {
* Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.
*/
"codeAnalysisScaCommittersHwm"?: number;
/**
* Shows the 99th percentile of all Code Security hosts over all hours in the current date for the given org.
*/
"codeSecurityHostTop99p"?: number;
/**
* Shows the average of all distinct containers over all hours in the current date for all organizations.
*/
Expand Down Expand Up @@ -738,6 +742,11 @@ export class UsageSummaryDate {
type: "number",
format: "int64",
},
codeSecurityHostTop99p: {
baseName: "code_security_host_top99p",
type: "number",
format: "int64",
},
containerAvg: {
baseName: "container_avg",
type: "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ export class UsageSummaryDateOrg {
* Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.
*/
"codeAnalysisScaCommittersHwm"?: number;
/**
* Shows the 99th percentile of all Code Security hosts over all hours in the current date for the given org.
*/
"codeSecurityHostTop99p"?: number;
/**
* Shows the average of all distinct containers over all hours in the current date for the given org.
*/
Expand Down Expand Up @@ -769,6 +773,11 @@ export class UsageSummaryDateOrg {
type: "number",
format: "int64",
},
codeSecurityHostTop99p: {
baseName: "code_security_host_top99p",
type: "number",
format: "int64",
},
containerAvg: {
baseName: "container_avg",
type: "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ export class UsageSummaryResponse {
* Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current month for all organizations.
*/
"codeAnalysisScaCommittersHwmSum"?: number;
/**
* Shows the 99th percentile of all Code Security hosts over all hours in the current month for all organizations.
*/
"codeSecurityHostTop99pSum"?: number;
/**
* Shows the average of all distinct containers over all hours in the current month for all organizations.
*/
Expand Down Expand Up @@ -788,6 +792,11 @@ export class UsageSummaryResponse {
type: "number",
format: "int64",
},
codeSecurityHostTop99pSum: {
baseName: "code_security_host_top99p_sum",
type: "number",
format: "int64",
},
containerAvgSum: {
baseName: "container_avg_sum",
type: "number",
Expand Down
Loading