Skip to content

Commit 41160a8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Security Monitoring - Make hasOptionalGroupByFields updatable (DataDog#3274)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ae3ead1 commit 41160a8

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19060,11 +19060,11 @@ components:
1906019060
type: string
1906119061
type: array
1906219062
hasOptionalGroupByFields:
19063+
default: false
1906319064
description: When false, events without a group-by value are ignored by
1906419065
the query. When true, events with missing group-by fields are processed
1906519066
with `N/A`, replacing the missing values.
1906619067
example: false
19067-
readOnly: true
1906819068
type: boolean
1906919069
metrics:
1907019070
description: Group of target fields to aggregate over when using the sum,
@@ -39603,11 +39603,11 @@ components:
3960339603
type: string
3960439604
type: array
3960539605
hasOptionalGroupByFields:
39606+
default: false
3960639607
description: When false, events without a group-by value are ignored by
3960739608
the rule. When true, events with missing group-by fields are processed
3960839609
with `N/A`, replacing the missing values.
3960939610
example: false
39610-
readOnly: true
3961139611
type: boolean
3961239612
index:
3961339613
description: '**This field is currently unstable and might be removed in

api/datadogV2/model_historical_job_query.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ func NewHistoricalJobQuery() *HistoricalJobQuery {
3939
this := HistoricalJobQuery{}
4040
var dataSource SecurityMonitoringStandardDataSource = SECURITYMONITORINGSTANDARDDATASOURCE_LOGS
4141
this.DataSource = &dataSource
42+
var hasOptionalGroupByFields bool = false
43+
this.HasOptionalGroupByFields = &hasOptionalGroupByFields
4244
return &this
4345
}
4446

@@ -49,6 +51,8 @@ func NewHistoricalJobQueryWithDefaults() *HistoricalJobQuery {
4951
this := HistoricalJobQuery{}
5052
var dataSource SecurityMonitoringStandardDataSource = SECURITYMONITORINGSTANDARDDATASOURCE_LOGS
5153
this.DataSource = &dataSource
54+
var hasOptionalGroupByFields bool = false
55+
this.HasOptionalGroupByFields = &hasOptionalGroupByFields
5256
return &this
5357
}
5458

api/datadogV2/model_security_monitoring_standard_rule_query.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ func NewSecurityMonitoringStandardRuleQuery() *SecurityMonitoringStandardRuleQue
4848
this := SecurityMonitoringStandardRuleQuery{}
4949
var dataSource SecurityMonitoringStandardDataSource = SECURITYMONITORINGSTANDARDDATASOURCE_LOGS
5050
this.DataSource = &dataSource
51+
var hasOptionalGroupByFields bool = false
52+
this.HasOptionalGroupByFields = &hasOptionalGroupByFields
5153
return &this
5254
}
5355

@@ -58,6 +60,8 @@ func NewSecurityMonitoringStandardRuleQueryWithDefaults() *SecurityMonitoringSta
5860
this := SecurityMonitoringStandardRuleQuery{}
5961
var dataSource SecurityMonitoringStandardDataSource = SECURITYMONITORINGSTANDARDDATASOURCE_LOGS
6062
this.DataSource = &dataSource
63+
var hasOptionalGroupByFields bool = false
64+
this.HasOptionalGroupByFields = &hasOptionalGroupByFields
6165
return &this
6266
}
6367

0 commit comments

Comments
 (0)