Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60098,7 +60098,7 @@ components:
- TIMESTAMP_DESCENDING
SecurityMonitoringStandardDataSource:
default: logs
description: Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
description: Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
enum:
- logs
- audit
Expand All @@ -60107,6 +60107,7 @@ components:
- security_runtime
- network
- events
- security_signals
example: logs
type: string
x-enum-varnames:
Expand All @@ -60117,6 +60118,7 @@ components:
- SECURITY_RUNTIME
- NETWORK
- EVENTS
- SECURITY_SIGNALS
SecurityMonitoringStandardRuleCreatePayload:
description: Create a new rule.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, **kwargs):
:param custom_query_extension: Query extension to append to the logs query.
:type custom_query_extension: str, optional

:param data_source: Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
:param data_source: Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
:type data_source: SecurityMonitoringStandardDataSource, optional

:param distinct_fields: Field for which the cardinality is measured. Sent as an array.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

class SecurityMonitoringStandardDataSource(ModelSimple):
"""
Source of events, either logs, audit trail, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.
Source of events, either logs, audit trail, security signals, or Datadog events. `app_sec_spans` is deprecated in favor of `spans`.

:param value: If omitted defaults to "logs". Must be one of ["logs", "audit", "app_sec_spans", "spans", "security_runtime", "network", "events"].
:param value: If omitted defaults to "logs". Must be one of ["logs", "audit", "app_sec_spans", "spans", "security_runtime", "network", "events", "security_signals"].
:type value: str
"""

Expand All @@ -28,6 +28,7 @@ class SecurityMonitoringStandardDataSource(ModelSimple):
"security_runtime",
"network",
"events",
"security_signals",
}
LOGS: ClassVar["SecurityMonitoringStandardDataSource"]
AUDIT: ClassVar["SecurityMonitoringStandardDataSource"]
Expand All @@ -36,6 +37,7 @@ class SecurityMonitoringStandardDataSource(ModelSimple):
SECURITY_RUNTIME: ClassVar["SecurityMonitoringStandardDataSource"]
NETWORK: ClassVar["SecurityMonitoringStandardDataSource"]
EVENTS: ClassVar["SecurityMonitoringStandardDataSource"]
SECURITY_SIGNALS: ClassVar["SecurityMonitoringStandardDataSource"]

@cached_property
def openapi_types(_):
Expand All @@ -51,3 +53,4 @@ def openapi_types(_):
SecurityMonitoringStandardDataSource.SECURITY_RUNTIME = SecurityMonitoringStandardDataSource("security_runtime")
SecurityMonitoringStandardDataSource.NETWORK = SecurityMonitoringStandardDataSource("network")
SecurityMonitoringStandardDataSource.EVENTS = SecurityMonitoringStandardDataSource("events")
SecurityMonitoringStandardDataSource.SECURITY_SIGNALS = SecurityMonitoringStandardDataSource("security_signals")
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(
:param custom_query_extension: Query extension to append to the logs query.
:type custom_query_extension: str, optional

:param data_source: Source of events, either logs, audit trail, or Datadog events. ``app_sec_spans`` is deprecated in favor of ``spans``.
:param data_source: Source of events, either logs, audit trail, security signals, or Datadog events. ``app_sec_spans`` is deprecated in favor of ``spans``.
:type data_source: SecurityMonitoringStandardDataSource, optional

:param distinct_fields: Field for which the cardinality is measured. Sent as an array.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
:param aggregation: The aggregation type.
:type aggregation: SecurityMonitoringRuleQueryAggregation, optional

:param data_source: Source of events, either logs, audit trail, or Datadog events. ``app_sec_spans`` is deprecated in favor of ``spans``.
:param data_source: Source of events, either logs, audit trail, security signals, or Datadog events. ``app_sec_spans`` is deprecated in favor of ``spans``.
:type data_source: SecurityMonitoringStandardDataSource, optional

:param distinct_fields: Field for which the cardinality is measured. Sent as an array.
Expand Down
Loading