Skip to content

Commit 33a976e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add optional group-bys support to security signals (#1399)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 410a1e3 commit 33a976e

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-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": "2023-11-07 09:02:17.967964",
8-
"spec_repo_commit": "c7428dad"
7+
"regenerated": "2023-11-09 10:45:50.100089",
8+
"spec_repo_commit": "66a4cef6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-07 09:02:17.985370",
13-
"spec_repo_commit": "c7428dad"
12+
"regenerated": "2023-11-09 10:45:50.114929",
13+
"spec_repo_commit": "66a4cef6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15010,6 +15010,13 @@ components:
1501015010
description: Field.
1501115011
type: string
1501215012
type: array
15013+
hasOptionalGroupByFields:
15014+
description: When false, events without a group-by value are ignored by
15015+
the rule. When true, events with missing group-by fields are processed
15016+
with `N/A`, replacing the missing values.
15017+
example: false
15018+
readOnly: true
15019+
type: boolean
1501315020
metric:
1501415021
deprecated: true
1501515022
description: '(Deprecated) The target field to aggregate over when using

packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export class SecurityMonitoringStandardRuleQuery {
2323
* Fields to group by.
2424
*/
2525
"groupByFields"?: Array<string>;
26+
/**
27+
* When false, events without a group-by value are ignored by the rule. When true, events with missing group-by fields are processed with `N/A`, replacing the missing values.
28+
*/
29+
"hasOptionalGroupByFields"?: boolean;
2630
/**
2731
* (Deprecated) The target field to aggregate over when using the sum or max
2832
* aggregations. `metrics` field should be used instead.
@@ -62,6 +66,10 @@ export class SecurityMonitoringStandardRuleQuery {
6266
baseName: "groupByFields",
6367
type: "Array<string>",
6468
},
69+
hasOptionalGroupByFields: {
70+
baseName: "hasOptionalGroupByFields",
71+
type: "boolean",
72+
},
6573
metric: {
6674
baseName: "metric",
6775
type: "string",

0 commit comments

Comments
 (0)