Skip to content

Commit ac273ef

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Security Monitoring Rule - Deprecate "filters" field for some rule types (#1937)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 121ab3d commit ac273ef

9 files changed

+21
-16
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": "2024-04-03 15:02:14.618599",
8-
"spec_repo_commit": "e8144990"
7+
"regenerated": "2024-04-04 17:56:42.820919",
8+
"spec_repo_commit": "bf950df2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-03 15:02:14.635120",
13-
"spec_repo_commit": "e8144990"
12+
"regenerated": "2024-04-04 17:56:42.841894",
13+
"spec_repo_commit": "bf950df2"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17283,7 +17283,8 @@ components:
1728317283
$ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
1728417284
filters:
1728517285
description: Additional queries to filter matched events before they are
17286-
processed.
17286+
processed. This field is deprecated for log detection, signal correlation,
17287+
and workload security rules.
1728717288
items:
1728817289
$ref: '#/components/schemas/SecurityMonitoringFilter'
1728917290
type: array
@@ -17531,7 +17532,8 @@ components:
1753117532
type: array
1753217533
filters:
1753317534
description: Additional queries to filter matched events before they are
17534-
processed.
17535+
processed. This field is deprecated for log detection, signal correlation,
17536+
and workload security rules.
1753517537
items:
1753617538
$ref: '#/components/schemas/SecurityMonitoringFilter'
1753717539
type: array
@@ -17633,7 +17635,8 @@ components:
1763317635
type: integer
1763417636
filters:
1763517637
description: Additional queries to filter matched events before they are
17636-
processed.
17638+
processed. This field is deprecated for log detection, signal correlation,
17639+
and workload security rules.
1763717640
items:
1763817641
$ref: '#/components/schemas/SecurityMonitoringFilter'
1763917642
type: array
@@ -17912,7 +17915,8 @@ components:
1791217915
type: array
1791317916
filters:
1791417917
description: Additional queries to filter matched events before they are
17915-
processed.
17918+
processed. This field is deprecated for log detection, signal correlation,
17919+
and workload security rules.
1791617920
items:
1791717921
$ref: '#/components/schemas/SecurityMonitoringFilter'
1791817922
type: array
@@ -18039,7 +18043,8 @@ components:
1803918043
type: integer
1804018044
filters:
1804118045
description: Additional queries to filter matched events before they are
18042-
processed.
18046+
processed. This field is deprecated for log detection, signal correlation,
18047+
and workload security rules.
1804318048
items:
1804418049
$ref: '#/components/schemas/SecurityMonitoringFilter'
1804518050
type: array

src/datadog_api_client/v2/model/security_monitoring_rule_create_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(self, **kwargs):
1818
:param cases: Cases for generating signals.
1919
:type cases: [SecurityMonitoringRuleCaseCreate]
2020
21-
:param filters: Additional queries to filter matched events before they are processed.
21+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
2222
:type filters: [SecurityMonitoringFilter], optional
2323
2424
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

src/datadog_api_client/v2/model/security_monitoring_rule_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, **kwargs):
3030
:param deprecation_date: When the rule will be deprecated, timestamp in milliseconds.
3131
:type deprecation_date: int, optional
3232
33-
:param filters: Additional queries to filter matched events before they are processed.
33+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
3434
:type filters: [SecurityMonitoringFilter], optional
3535
3636
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

src/datadog_api_client/v2/model/security_monitoring_rule_update_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(
110110
:param compliance_signal_options: How to generate compliance signals. Useful for cloud_configuration rules only.
111111
:type compliance_signal_options: CloudConfigurationRuleComplianceSignalOptions, optional
112112
113-
:param filters: Additional queries to filter matched events before they are processed.
113+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
114114
:type filters: [SecurityMonitoringFilter], optional
115115
116116
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

src/datadog_api_client/v2/model/security_monitoring_signal_rule_create_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(
7676
:param cases: Cases for generating signals.
7777
:type cases: [SecurityMonitoringRuleCaseCreate]
7878
79-
:param filters: Additional queries to filter matched events before they are processed.
79+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
8080
:type filters: [SecurityMonitoringFilter], optional
8181
8282
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

src/datadog_api_client/v2/model/security_monitoring_signal_rule_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(
113113
:param deprecation_date: When the rule will be deprecated, timestamp in milliseconds.
114114
:type deprecation_date: int, optional
115115
116-
:param filters: Additional queries to filter matched events before they are processed.
116+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
117117
:type filters: [SecurityMonitoringFilter], optional
118118
119119
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

src/datadog_api_client/v2/model/security_monitoring_standard_rule_create_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(
8787
:param cases: Cases for generating signals.
8888
:type cases: [SecurityMonitoringRuleCaseCreate]
8989
90-
:param filters: Additional queries to filter matched events before they are processed.
90+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
9191
:type filters: [SecurityMonitoringFilter], optional
9292
9393
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

src/datadog_api_client/v2/model/security_monitoring_standard_rule_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def __init__(
132132
:param deprecation_date: When the rule will be deprecated, timestamp in milliseconds.
133133
:type deprecation_date: int, optional
134134
135-
:param filters: Additional queries to filter matched events before they are processed.
135+
:param filters: Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.
136136
:type filters: [SecurityMonitoringFilter], optional
137137
138138
:param has_extended_title: Whether the notifications include the triggering group-by values in their title.

0 commit comments

Comments
 (0)