Skip to content
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

Update documentation for Cloud SIEM #2234

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": "2023-10-13 14:48:31.209305",
"spec_repo_commit": "9c0d47b3"
"regenerated": "2023-10-16 19:14:59.427852",
"spec_repo_commit": "4f580adf"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-13 14:48:31.229549",
"spec_repo_commit": "9c0d47b3"
"regenerated": "2023-10-16 19:14:59.447539",
"spec_repo_commit": "4f580adf"
}
}
}
31 changes: 31 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3902,6 +3902,7 @@ components:
- appsec_usage
- browser_usage
- ci_visibility_itr_usage
- cloud_siem_usage
- container_excl_agent_usage
- container_usage
- cspm_containers_usage
Expand Down Expand Up @@ -3943,6 +3944,7 @@ components:
- APPSEC_USAGE
- BROWSER_USAGE
- CI_VISIBILITY_ITR_USAGE
- CLOUD_SIEM_USAGE
- CONTAINER_EXCL_AGENT_USAGE
- CONTAINER_USAGE
- CSPM_CONTAINERS_USAGE
Expand Down Expand Up @@ -7505,6 +7507,8 @@ components:
- browser_percentage
- ci_visibility_itr_usage
- ci_visibility_itr_percentage
- cloud_siem_usage
- cloud_siem_percentage
- container_excl_agent_usage
- container_excl_agent_percentage
- container_usage
Expand Down Expand Up @@ -7586,6 +7590,8 @@ components:
- BROWSER_PERCENTAGE
- CI_VISIBILITY_ITR_USAGE
- CI_VISIBILITY_ITR_PERCENTAGE
- CLOUD_SIEM_USAGE
- CLOUD_SIEM_PERCENTAGE
- CONTAINER_EXCL_AGENT_USAGE
- CONTAINER_EXCL_AGENT_PERCENTAGE
- CONTAINER_USAGE
Expand Down Expand Up @@ -7721,6 +7727,16 @@ components:
description: The Git committers for Intelligent Test Runner usage by tag(s).
format: double
type: number
cloud_siem_percentage:
description: The percentage of Cloud Security Information and Event Management
usage by tag(s).
format: double
type: number
cloud_siem_usage:
description: The Cloud Security Information and Event Management usage by
tag(s).
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 @@ -18022,6 +18038,11 @@ components:
for the given date and given organization.
format: int64
type: integer
cloud_siem_events_sum:
description: Shows the sum of all Cloud Security Information and Event Management
events 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 @@ -18543,6 +18564,11 @@ components:
for the given date and given org.
format: int64
type: integer
cloud_siem_events_sum:
description: Shows the sum of all Cloud Security Information and Event Management
events 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 @@ -19071,6 +19097,11 @@ components:
all cloud providers.
format: int64
type: integer
cloud_siem_events_agg_sum:
description: Shows the sum of all Cloud Security Information and Event Management
events over all hours in the current months for all organizations.
format: int64
type: integer
container_avg_sum:
description: Shows the average of all distinct containers over all hours
in the current months for all organizations.
Expand Down
2 changes: 2 additions & 0 deletions api/datadogV1/model_hourly_usage_attribution_usage_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const (
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE HourlyUsageAttributionUsageType = "appsec_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE HourlyUsageAttributionUsageType = "browser_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CI_VISIBILITY_ITR_USAGE HourlyUsageAttributionUsageType = "ci_visibility_itr_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CLOUD_SIEM_USAGE HourlyUsageAttributionUsageType = "cloud_siem_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_EXCL_AGENT_USAGE HourlyUsageAttributionUsageType = "container_excl_agent_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE HourlyUsageAttributionUsageType = "container_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cspm_containers_usage"
Expand Down Expand Up @@ -65,6 +66,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CI_VISIBILITY_ITR_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CLOUD_SIEM_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_EXCL_AGENT_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_CONTAINERS_USAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const (
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "browser_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CI_VISIBILITY_ITR_USAGE MonthlyUsageAttributionSupportedMetrics = "ci_visibility_itr_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CI_VISIBILITY_ITR_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "ci_visibility_itr_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CLOUD_SIEM_USAGE MonthlyUsageAttributionSupportedMetrics = "cloud_siem_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CLOUD_SIEM_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cloud_siem_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_USAGE MonthlyUsageAttributionSupportedMetrics = "container_excl_agent_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_excl_agent_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "container_usage"
Expand Down Expand Up @@ -113,6 +115,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CI_VISIBILITY_ITR_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CI_VISIBILITY_ITR_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CLOUD_SIEM_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CLOUD_SIEM_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE,
Expand Down
72 changes: 71 additions & 1 deletion api/datadogV1/model_monthly_usage_attribution_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ type MonthlyUsageAttributionValues struct {
CiVisibilityItrPercentage *float64 `json:"ci_visibility_itr_percentage,omitempty"`
// The Git committers for Intelligent Test Runner usage by tag(s).
CiVisibilityItrUsage *float64 `json:"ci_visibility_itr_usage,omitempty"`
// The percentage of Cloud Security Information and Event Management usage by tag(s).
CloudSiemPercentage *float64 `json:"cloud_siem_percentage,omitempty"`
// The Cloud Security Information and Event Management usage by tag(s).
CloudSiemUsage *float64 `json:"cloud_siem_usage,omitempty"`
// The percentage of container usage without the Datadog Agent by tag(s).
ContainerExclAgentPercentage *float64 `json:"container_excl_agent_percentage,omitempty"`
// The container usage without the Datadog Agent by tag(s).
Expand Down Expand Up @@ -638,6 +642,62 @@ func (o *MonthlyUsageAttributionValues) SetCiVisibilityItrUsage(v float64) {
o.CiVisibilityItrUsage = &v
}

// GetCloudSiemPercentage returns the CloudSiemPercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetCloudSiemPercentage() float64 {
if o == nil || o.CloudSiemPercentage == nil {
var ret float64
return ret
}
return *o.CloudSiemPercentage
}

// GetCloudSiemPercentageOk returns a tuple with the CloudSiemPercentage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonthlyUsageAttributionValues) GetCloudSiemPercentageOk() (*float64, bool) {
if o == nil || o.CloudSiemPercentage == nil {
return nil, false
}
return o.CloudSiemPercentage, true
}

// HasCloudSiemPercentage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasCloudSiemPercentage() bool {
return o != nil && o.CloudSiemPercentage != nil
}

// SetCloudSiemPercentage gets a reference to the given float64 and assigns it to the CloudSiemPercentage field.
func (o *MonthlyUsageAttributionValues) SetCloudSiemPercentage(v float64) {
o.CloudSiemPercentage = &v
}

// GetCloudSiemUsage returns the CloudSiemUsage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetCloudSiemUsage() float64 {
if o == nil || o.CloudSiemUsage == nil {
var ret float64
return ret
}
return *o.CloudSiemUsage
}

// GetCloudSiemUsageOk returns a tuple with the CloudSiemUsage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonthlyUsageAttributionValues) GetCloudSiemUsageOk() (*float64, bool) {
if o == nil || o.CloudSiemUsage == nil {
return nil, false
}
return o.CloudSiemUsage, true
}

// HasCloudSiemUsage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasCloudSiemUsage() bool {
return o != nil && o.CloudSiemUsage != nil
}

// SetCloudSiemUsage gets a reference to the given float64 and assigns it to the CloudSiemUsage field.
func (o *MonthlyUsageAttributionValues) SetCloudSiemUsage(v float64) {
o.CloudSiemUsage = &v
}

// GetContainerExclAgentPercentage returns the ContainerExclAgentPercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetContainerExclAgentPercentage() float64 {
if o == nil || o.ContainerExclAgentPercentage == nil {
Expand Down Expand Up @@ -2428,6 +2488,12 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) {
if o.CiVisibilityItrUsage != nil {
toSerialize["ci_visibility_itr_usage"] = o.CiVisibilityItrUsage
}
if o.CloudSiemPercentage != nil {
toSerialize["cloud_siem_percentage"] = o.CloudSiemPercentage
}
if o.CloudSiemUsage != nil {
toSerialize["cloud_siem_usage"] = o.CloudSiemUsage
}
if o.ContainerExclAgentPercentage != nil {
toSerialize["container_excl_agent_percentage"] = o.ContainerExclAgentPercentage
}
Expand Down Expand Up @@ -2640,6 +2706,8 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
BrowserUsage *float64 `json:"browser_usage,omitempty"`
CiVisibilityItrPercentage *float64 `json:"ci_visibility_itr_percentage,omitempty"`
CiVisibilityItrUsage *float64 `json:"ci_visibility_itr_usage,omitempty"`
CloudSiemPercentage *float64 `json:"cloud_siem_percentage,omitempty"`
CloudSiemUsage *float64 `json:"cloud_siem_usage,omitempty"`
ContainerExclAgentPercentage *float64 `json:"container_excl_agent_percentage,omitempty"`
ContainerExclAgentUsage *float64 `json:"container_excl_agent_usage,omitempty"`
ContainerPercentage *float64 `json:"container_percentage,omitempty"`
Expand Down Expand Up @@ -2708,7 +2776,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
}
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
datadog.DeleteKeys(additionalProperties, &[]string{"api_percentage", "api_usage", "apm_fargate_percentage", "apm_fargate_usage", "apm_host_percentage", "apm_host_usage", "apm_usm_percentage", "apm_usm_usage", "appsec_fargate_percentage", "appsec_fargate_usage", "appsec_percentage", "appsec_usage", "browser_percentage", "browser_usage", "ci_visibility_itr_percentage", "ci_visibility_itr_usage", "container_excl_agent_percentage", "container_excl_agent_usage", "container_percentage", "container_usage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_ingested_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_timeseries_percentage", "custom_timeseries_usage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_percentage", "estimated_indexed_spans_usage", "estimated_ingested_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_spans_percentage", "estimated_ingested_spans_usage", "estimated_rum_sessions_percentage", "estimated_rum_sessions_usage", "fargate_percentage", "fargate_usage", "functions_percentage", "functions_usage", "infra_host_percentage", "infra_host_usage", "invocations_percentage", "invocations_usage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_percentage", "ndm_netflow_usage", "npm_host_percentage", "npm_host_usage", "obs_pipeline_bytes_percentage", "obs_pipeline_bytes_usage", "profiled_container_percentage", "profiled_container_usage", "profiled_fargate_percentage", "profiled_fargate_usage", "profiled_host_percentage", "profiled_host_usage", "sds_scanned_bytes_percentage", "sds_scanned_bytes_usage", "serverless_apps_percentage", "serverless_apps_usage", "snmp_percentage", "snmp_usage", "universal_service_monitoring_percentage", "universal_service_monitoring_usage", "vuln_management_hosts_percentage", "vuln_management_hosts_usage"})
datadog.DeleteKeys(additionalProperties, &[]string{"api_percentage", "api_usage", "apm_fargate_percentage", "apm_fargate_usage", "apm_host_percentage", "apm_host_usage", "apm_usm_percentage", "apm_usm_usage", "appsec_fargate_percentage", "appsec_fargate_usage", "appsec_percentage", "appsec_usage", "browser_percentage", "browser_usage", "ci_visibility_itr_percentage", "ci_visibility_itr_usage", "cloud_siem_percentage", "cloud_siem_usage", "container_excl_agent_percentage", "container_excl_agent_usage", "container_percentage", "container_usage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_ingested_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_timeseries_percentage", "custom_timeseries_usage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_percentage", "estimated_indexed_spans_usage", "estimated_ingested_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_spans_percentage", "estimated_ingested_spans_usage", "estimated_rum_sessions_percentage", "estimated_rum_sessions_usage", "fargate_percentage", "fargate_usage", "functions_percentage", "functions_usage", "infra_host_percentage", "infra_host_usage", "invocations_percentage", "invocations_usage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_percentage", "ndm_netflow_usage", "npm_host_percentage", "npm_host_usage", "obs_pipeline_bytes_percentage", "obs_pipeline_bytes_usage", "profiled_container_percentage", "profiled_container_usage", "profiled_fargate_percentage", "profiled_fargate_usage", "profiled_host_percentage", "profiled_host_usage", "sds_scanned_bytes_percentage", "sds_scanned_bytes_usage", "serverless_apps_percentage", "serverless_apps_usage", "snmp_percentage", "snmp_usage", "universal_service_monitoring_percentage", "universal_service_monitoring_usage", "vuln_management_hosts_percentage", "vuln_management_hosts_usage"})
} else {
return err
}
Expand All @@ -2728,6 +2796,8 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
o.BrowserUsage = all.BrowserUsage
o.CiVisibilityItrPercentage = all.CiVisibilityItrPercentage
o.CiVisibilityItrUsage = all.CiVisibilityItrUsage
o.CloudSiemPercentage = all.CloudSiemPercentage
o.CloudSiemUsage = all.CloudSiemUsage
o.ContainerExclAgentPercentage = all.ContainerExclAgentPercentage
o.ContainerExclAgentUsage = all.ContainerExclAgentUsage
o.ContainerPercentage = all.ContainerPercentage
Expand Down
Loading
Loading