Skip to content

Commit a1efc3f

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

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-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.777827",
8-
"spec_repo_commit": "a6954c1c"
7+
"regenerated": "2025-05-27 10:37:41.709330",
8+
"spec_repo_commit": "c75940cb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-26 12:46:05.795920",
13-
"spec_repo_commit": "a6954c1c"
12+
"regenerated": "2025-05-27 10:37:41.725491",
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:

lib/datadog_api_client/v2/models/historical_job_query.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class HistoricalJobQuery
2424
# The aggregation type.
2525
attr_accessor :aggregation
2626

27-
# Source of events, either logs or audit trail.
27+
# Source of events, either logs, audit trail, or Datadog events.
2828
attr_accessor :data_source
2929

3030
# Field for which the cardinality is measured. Sent as an array.

lib/datadog_api_client/v2/models/security_monitoring_standard_data_source.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# Source of events, either logs or audit trail.
20+
# Source of events, either logs, audit trail, or Datadog events.
2121
class SecurityMonitoringStandardDataSource
2222
include BaseEnumModel
2323

@@ -27,5 +27,6 @@ class SecurityMonitoringStandardDataSource
2727
SPANS = "spans".freeze
2828
SECURITY_RUNTIME = "security_runtime".freeze
2929
NETWORK = "network".freeze
30+
EVENTS = "events".freeze
3031
end
3132
end

lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class SecurityMonitoringStandardRuleQuery
2424
# The aggregation type.
2525
attr_accessor :aggregation
2626

27-
# Source of events, either logs or audit trail.
27+
# Source of events, either logs, audit trail, or Datadog events.
2828
attr_accessor :data_source
2929

3030
# Field for which the cardinality is measured. Sent as an array.

0 commit comments

Comments
 (0)