Skip to content

Commit 88d86c0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add support for Datadog Events as a data source for rules (#2267)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 17af396 commit 88d86c0

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
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": "2025-05-26 12:46:05.505223",
8-
"spec_repo_commit": "a6954c1c"
7+
"regenerated": "2025-05-27 10:37:44.388003",
8+
"spec_repo_commit": "c75940cb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-26 12:46:05.522939",
13-
"spec_repo_commit": "a6954c1c"
12+
"regenerated": "2025-05-27 10:37:44.404146",
13+
"spec_repo_commit": "c75940cb"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33669,14 +33669,15 @@ components:
3366933669
- TIMESTAMP_DESCENDING
3367033670
SecurityMonitoringStandardDataSource:
3367133671
default: logs
33672-
description: Source of events, either logs or audit trail.
33672+
description: Source of events, either logs, audit trail, or Datadog events.
3367333673
enum:
3367433674
- logs
3367533675
- audit
3367633676
- app_sec_spans
3367733677
- spans
3367833678
- security_runtime
3367933679
- network
33680+
- events
3368033681
example: logs
3368133682
type: string
3368233683
x-enum-varnames:
@@ -33686,6 +33687,7 @@ components:
3368633687
- SPANS
3368733688
- SECURITY_RUNTIME
3368833689
- NETWORK
33690+
- EVENTS
3368933691
SecurityMonitoringStandardRuleCreatePayload:
3369033692
description: Create a new rule.
3369133693
properties:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class HistoricalJobQuery {
1717
*/
1818
"aggregation"?: SecurityMonitoringRuleQueryAggregation;
1919
/**
20-
* Source of events, either logs or audit trail.
20+
* Source of events, either logs, audit trail, or Datadog events.
2121
*/
2222
"dataSource"?: SecurityMonitoringStandardDataSource;
2323
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2889,6 +2889,7 @@ const enumsMap: { [key: string]: any[] } = {
28892889
"spans",
28902890
"security_runtime",
28912891
"network",
2892+
"events",
28922893
],
28932894
SecurityMonitoringSuppressionType: ["suppressions"],
28942895
SensitiveDataScannerConfigurationType: [

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* Source of events, either logs or audit trail.
10+
* Source of events, either logs, audit trail, or Datadog events.
1111
*/
1212

1313
export type SecurityMonitoringStandardDataSource =
@@ -17,10 +17,12 @@ export type SecurityMonitoringStandardDataSource =
1717
| typeof SPANS
1818
| typeof SECURITY_RUNTIME
1919
| typeof NETWORK
20+
| typeof EVENTS
2021
| UnparsedObject;
2122
export const LOGS = "logs";
2223
export const AUDIT = "audit";
2324
export const APP_SEC_SPANS = "app_sec_spans";
2425
export const SPANS = "spans";
2526
export const SECURITY_RUNTIME = "security_runtime";
2627
export const NETWORK = "network";
28+
export const EVENTS = "events";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class SecurityMonitoringStandardRuleQuery {
1717
*/
1818
"aggregation"?: SecurityMonitoringRuleQueryAggregation;
1919
/**
20-
* Source of events, either logs or audit trail.
20+
* Source of events, either logs, audit trail, or Datadog events.
2121
*/
2222
"dataSource"?: SecurityMonitoringStandardDataSource;
2323
/**

0 commit comments

Comments
 (0)