Skip to content

Commit 6a393c1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add datasource to job definition for security monitoring (#2106)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 3126892 commit 6a393c1

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.apigentools-info

+4-4
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": "2025-03-14 07:51:12.126872",
8-
"spec_repo_commit": "899883be"
7+
"regenerated": "2025-03-17 14:53:08.665656",
8+
"spec_repo_commit": "f73f9d61"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-14 07:51:12.142713",
13-
"spec_repo_commit": "899883be"
12+
"regenerated": "2025-03-17 14:53:08.681430",
13+
"spec_repo_commit": "f73f9d61"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14746,6 +14746,8 @@ components:
1474614746
properties:
1474714747
aggregation:
1474814748
$ref: '#/components/schemas/SecurityMonitoringRuleQueryAggregation'
14749+
dataSource:
14750+
$ref: '#/components/schemas/SecurityMonitoringStandardDataSource'
1474914751
distinctFields:
1475014752
description: Field for which the cardinality is measured. Sent as an array.
1475114753
items:

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

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { SecurityMonitoringRuleQueryAggregation } from "./SecurityMonitoringRuleQueryAggregation";
7+
import { SecurityMonitoringStandardDataSource } from "./SecurityMonitoringStandardDataSource";
78

89
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
910

@@ -15,6 +16,10 @@ export class HistoricalJobQuery {
1516
* The aggregation type.
1617
*/
1718
"aggregation"?: SecurityMonitoringRuleQueryAggregation;
19+
/**
20+
* Source of events, either logs or audit trail.
21+
*/
22+
"dataSource"?: SecurityMonitoringStandardDataSource;
1823
/**
1924
* Field for which the cardinality is measured. Sent as an array.
2025
*/
@@ -60,6 +65,10 @@ export class HistoricalJobQuery {
6065
baseName: "aggregation",
6166
type: "SecurityMonitoringRuleQueryAggregation",
6267
},
68+
dataSource: {
69+
baseName: "dataSource",
70+
type: "SecurityMonitoringStandardDataSource",
71+
},
6372
distinctFields: {
6473
baseName: "distinctFields",
6574
type: "Array<string>",

0 commit comments

Comments
 (0)