Skip to content

Commit 4806569

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 5e49afe1 of spec repo (#2624)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 545953f commit 4806569

15 files changed

+200
-4
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-06-18 09:42:24.575961",
8-
"spec_repo_commit": "b6151f30"
7+
"regenerated": "2025-06-18 13:32:33.091008",
8+
"spec_repo_commit": "5e49afe1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-18 09:42:24.630790",
13-
"spec_repo_commit": "b6151f30"
12+
"regenerated": "2025-06-18 13:32:33.105798",
13+
"spec_repo_commit": "5e49afe1"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7246,6 +7246,14 @@ components:
72467246
type: array
72477247
complianceSignalOptions:
72487248
$ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
7249+
customMessage:
7250+
description: Custom/Overridden message for generated signals (used in case
7251+
of Default rule update).
7252+
type: string
7253+
customName:
7254+
description: Custom/Overridden name of the rule (used in case of Default
7255+
rule update).
7256+
type: string
72497257
filters:
72507258
description: Additional queries to filter matched events before they are
72517259
processed.
@@ -32768,6 +32776,8 @@ components:
3276832776

3276932777
based on the event counts in the previously defined queries.'
3277032778
type: string
32779+
customStatus:
32780+
$ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
3277132781
name:
3277232782
description: Name of the case.
3277332783
type: string
@@ -33294,6 +33304,13 @@ components:
3329433304
type: array
3329533305
complianceSignalOptions:
3329633306
$ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
33307+
customMessage:
33308+
description: Custom/Overridden Message for generated signals (used in case
33309+
of Default rule update).
33310+
type: string
33311+
customName:
33312+
description: Custom/Overridden name (used in case of Default rule update).
33313+
type: string
3329733314
filters:
3329833315
description: Additional queries to filter matched events before they are
3329933316
processed. This field is deprecated for log detection, signal correlation,
@@ -33625,6 +33642,14 @@ components:
3362533642
items:
3362633643
$ref: '#/components/schemas/SecurityMonitoringRuleCaseCreate'
3362733644
type: array
33645+
customMessage:
33646+
description: Custom/Overridden message for generated signals (used in case
33647+
of Default rule update).
33648+
type: string
33649+
customName:
33650+
description: Custom/Overridden name of the rule (used in case of Default
33651+
rule update).
33652+
type: string
3362833653
filters:
3362933654
description: Additional queries to filter matched events before they are
3363033655
processed. This field is deprecated for log detection, signal correlation,
@@ -33724,6 +33749,14 @@ components:
3372433749
description: User ID of the user who created the rule.
3372533750
format: int64
3372633751
type: integer
33752+
customMessage:
33753+
description: Custom/Overridden message for generated signals (used in case
33754+
of Default rule update).
33755+
type: string
33756+
customName:
33757+
description: Custom/Overridden name of the rule (used in case of Default
33758+
rule update).
33759+
type: string
3372733760
deprecationDate:
3372833761
description: When the rule will be deprecated, timestamp in milliseconds.
3372933762
format: int64
@@ -34111,6 +34144,14 @@ components:
3411134144
items:
3411234145
$ref: '#/components/schemas/SecurityMonitoringRuleCaseCreate'
3411334146
type: array
34147+
customMessage:
34148+
description: Custom/Overridden message for generated signals (used in case
34149+
of Default rule update).
34150+
type: string
34151+
customName:
34152+
description: Custom/Overridden name of the rule (used in case of Default
34153+
rule update).
34154+
type: string
3411434155
filters:
3411534156
description: Additional queries to filter matched events before they are
3411634157
processed. This field is deprecated for log detection, signal correlation,
@@ -34188,6 +34229,10 @@ components:
3418834229
properties:
3418934230
aggregation:
3419034231
$ref: '#/components/schemas/SecurityMonitoringRuleQueryAggregation'
34232+
customQueryExtension:
34233+
description: Query extension to append to the logs query.
34234+
example: a > 3
34235+
type: string
3419134236
dataSource:
3419234237
$ref: '#/components/schemas/SecurityMonitoringStandardDataSource'
3419334238
distinctFields:
@@ -34251,6 +34296,14 @@ components:
3425134296
description: User ID of the user who created the rule.
3425234297
format: int64
3425334298
type: integer
34299+
customMessage:
34300+
description: Custom/Overridden message for generated signals (used in case
34301+
of Default rule update).
34302+
type: string
34303+
customName:
34304+
description: Custom/Overridden name of the rule (used in case of Default
34305+
rule update).
34306+
type: string
3425434307
defaultTags:
3425534308
description: Default Tags for default rules (included in tags)
3425634309
example:
@@ -34697,6 +34750,8 @@ components:
3469734750
SecurityMonitoringThirdPartyRuleCase:
3469834751
description: Case when signal is generated by a third party rule.
3469934752
properties:
34753+
customStatus:
34754+
$ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
3470034755
name:
3470134756
description: Name of the case.
3470234757
type: string

src/datadog_api_client/v2/model/cloud_configuration_rule_payload.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def openapi_types(_):
3737
return {
3838
"cases": ([CloudConfigurationRuleCaseCreate],),
3939
"compliance_signal_options": (CloudConfigurationRuleComplianceSignalOptions,),
40+
"custom_message": (str,),
41+
"custom_name": (str,),
4042
"filters": ([SecurityMonitoringFilter],),
4143
"is_enabled": (bool,),
4244
"message": (str,),
@@ -49,6 +51,8 @@ def openapi_types(_):
4951
attribute_map = {
5052
"cases": "cases",
5153
"compliance_signal_options": "complianceSignalOptions",
54+
"custom_message": "customMessage",
55+
"custom_name": "customName",
5256
"filters": "filters",
5357
"is_enabled": "isEnabled",
5458
"message": "message",
@@ -66,6 +70,8 @@ def __init__(
6670
message: str,
6771
name: str,
6872
options: CloudConfigurationRuleOptions,
73+
custom_message: Union[str, UnsetType] = unset,
74+
custom_name: Union[str, UnsetType] = unset,
6975
filters: Union[List[SecurityMonitoringFilter], UnsetType] = unset,
7076
tags: Union[List[str], UnsetType] = unset,
7177
type: Union[CloudConfigurationRuleType, UnsetType] = unset,
@@ -80,6 +86,12 @@ def __init__(
8086
:param compliance_signal_options: How to generate compliance signals. Useful for cloud_configuration rules only.
8187
:type compliance_signal_options: CloudConfigurationRuleComplianceSignalOptions
8288
89+
:param custom_message: Custom/Overridden message for generated signals (used in case of Default rule update).
90+
:type custom_message: str, optional
91+
92+
:param custom_name: Custom/Overridden name of the rule (used in case of Default rule update).
93+
:type custom_name: str, optional
94+
8395
:param filters: Additional queries to filter matched events before they are processed.
8496
:type filters: [SecurityMonitoringFilter], optional
8597
@@ -101,6 +113,10 @@ def __init__(
101113
:param type: The rule type.
102114
:type type: CloudConfigurationRuleType, optional
103115
"""
116+
if custom_message is not unset:
117+
kwargs["custom_message"] = custom_message
118+
if custom_name is not unset:
119+
kwargs["custom_name"] = custom_name
104120
if filters is not unset:
105121
kwargs["filters"] = filters
106122
if tags is not unset:

src/datadog_api_client/v2/model/security_monitoring_rule_case.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def openapi_types(_):
2727
return {
2828
"actions": ([SecurityMonitoringRuleCaseAction],),
2929
"condition": (str,),
30+
"custom_status": (SecurityMonitoringRuleSeverity,),
3031
"name": (str,),
3132
"notifications": ([str],),
3233
"status": (SecurityMonitoringRuleSeverity,),
@@ -35,6 +36,7 @@ def openapi_types(_):
3536
attribute_map = {
3637
"actions": "actions",
3738
"condition": "condition",
39+
"custom_status": "customStatus",
3840
"name": "name",
3941
"notifications": "notifications",
4042
"status": "status",
@@ -44,6 +46,7 @@ def __init__(
4446
self_,
4547
actions: Union[List[SecurityMonitoringRuleCaseAction], UnsetType] = unset,
4648
condition: Union[str, UnsetType] = unset,
49+
custom_status: Union[SecurityMonitoringRuleSeverity, UnsetType] = unset,
4750
name: Union[str, UnsetType] = unset,
4851
notifications: Union[List[str], UnsetType] = unset,
4952
status: Union[SecurityMonitoringRuleSeverity, UnsetType] = unset,
@@ -59,6 +62,9 @@ def __init__(
5962
based on the event counts in the previously defined queries.
6063
:type condition: str, optional
6164
65+
:param custom_status: Severity of the Security Signal.
66+
:type custom_status: SecurityMonitoringRuleSeverity, optional
67+
6268
:param name: Name of the case.
6369
:type name: str, optional
6470
@@ -72,6 +78,8 @@ def __init__(
7278
kwargs["actions"] = actions
7379
if condition is not unset:
7480
kwargs["condition"] = condition
81+
if custom_status is not unset:
82+
kwargs["custom_status"] = custom_status
7583
if name is not unset:
7684
kwargs["name"] = name
7785
if notifications is not unset:

src/datadog_api_client/v2/model/security_monitoring_rule_convert_payload.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ def __init__(self, **kwargs):
1818
:param cases: Cases for generating signals.
1919
:type cases: [SecurityMonitoringRuleCaseCreate]
2020
21+
:param custom_message: Custom/Overridden message for generated signals (used in case of Default rule update).
22+
:type custom_message: str, optional
23+
24+
:param custom_name: Custom/Overridden name of the rule (used in case of Default rule update).
25+
:type custom_name: str, optional
26+
2127
: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.
2228
:type filters: [SecurityMonitoringFilter], optional
2329

src/datadog_api_client/v2/model/security_monitoring_rule_query.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ def __init__(self, **kwargs):
1818
:param aggregation: The aggregation type.
1919
:type aggregation: SecurityMonitoringRuleQueryAggregation, optional
2020
21+
:param custom_query_extension: Query extension to append to the logs query.
22+
:type custom_query_extension: str, optional
23+
2124
:param data_source: Source of events, either logs, audit trail, or Datadog events.
2225
:type data_source: SecurityMonitoringStandardDataSource, optional
2326

src/datadog_api_client/v2/model/security_monitoring_rule_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ def __init__(self, **kwargs):
2727
:param creation_author_id: User ID of the user who created the rule.
2828
:type creation_author_id: int, optional
2929
30+
:param custom_message: Custom/Overridden message for generated signals (used in case of Default rule update).
31+
:type custom_message: str, optional
32+
33+
:param custom_name: Custom/Overridden name of the rule (used in case of Default rule update).
34+
:type custom_name: str, optional
35+
3036
:param default_tags: Default Tags for default rules (included in tags)
3137
:type default_tags: [str], optional
3238

src/datadog_api_client/v2/model/security_monitoring_rule_update_payload.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def openapi_types(_):
5353
return {
5454
"cases": ([SecurityMonitoringRuleCase],),
5555
"compliance_signal_options": (CloudConfigurationRuleComplianceSignalOptions,),
56+
"custom_message": (str,),
57+
"custom_name": (str,),
5658
"filters": ([SecurityMonitoringFilter],),
5759
"group_signals_by": ([str],),
5860
"has_extended_title": (bool,),
@@ -70,6 +72,8 @@ def openapi_types(_):
7072
attribute_map = {
7173
"cases": "cases",
7274
"compliance_signal_options": "complianceSignalOptions",
75+
"custom_message": "customMessage",
76+
"custom_name": "customName",
7377
"filters": "filters",
7478
"group_signals_by": "groupSignalsBy",
7579
"has_extended_title": "hasExtendedTitle",
@@ -88,6 +92,8 @@ def __init__(
8892
self_,
8993
cases: Union[List[SecurityMonitoringRuleCase], UnsetType] = unset,
9094
compliance_signal_options: Union[CloudConfigurationRuleComplianceSignalOptions, UnsetType] = unset,
95+
custom_message: Union[str, UnsetType] = unset,
96+
custom_name: Union[str, UnsetType] = unset,
9197
filters: Union[List[SecurityMonitoringFilter], UnsetType] = unset,
9298
group_signals_by: Union[List[str], UnsetType] = unset,
9399
has_extended_title: Union[bool, UnsetType] = unset,
@@ -118,6 +124,12 @@ def __init__(
118124
:param compliance_signal_options: How to generate compliance signals. Useful for cloud_configuration rules only.
119125
:type compliance_signal_options: CloudConfigurationRuleComplianceSignalOptions, optional
120126
127+
:param custom_message: Custom/Overridden Message for generated signals (used in case of Default rule update).
128+
:type custom_message: str, optional
129+
130+
:param custom_name: Custom/Overridden name (used in case of Default rule update).
131+
:type custom_name: str, optional
132+
121133
: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.
122134
:type filters: [SecurityMonitoringFilter], optional
123135
@@ -158,6 +170,10 @@ def __init__(
158170
kwargs["cases"] = cases
159171
if compliance_signal_options is not unset:
160172
kwargs["compliance_signal_options"] = compliance_signal_options
173+
if custom_message is not unset:
174+
kwargs["custom_message"] = custom_message
175+
if custom_name is not unset:
176+
kwargs["custom_name"] = custom_name
161177
if filters is not unset:
162178
kwargs["filters"] = filters
163179
if group_signals_by is not unset:

src/datadog_api_client/v2/model/security_monitoring_rule_validate_payload.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ def __init__(self, **kwargs):
1818
:param cases: Cases for generating signals.
1919
:type cases: [SecurityMonitoringRuleCaseCreate]
2020
21+
:param custom_message: Custom/Overridden message for generated signals (used in case of Default rule update).
22+
:type custom_message: str, optional
23+
24+
:param custom_name: Custom/Overridden name of the rule (used in case of Default rule update).
25+
:type custom_name: str, optional
26+
2127
: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.
2228
:type filters: [SecurityMonitoringFilter], optional
2329

src/datadog_api_client/v2/model/security_monitoring_signal_rule_payload.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def openapi_types(_):
3232

3333
return {
3434
"cases": ([SecurityMonitoringRuleCaseCreate],),
35+
"custom_message": (str,),
36+
"custom_name": (str,),
3537
"filters": ([SecurityMonitoringFilter],),
3638
"has_extended_title": (bool,),
3739
"is_enabled": (bool,),
@@ -45,6 +47,8 @@ def openapi_types(_):
4547

4648
attribute_map = {
4749
"cases": "cases",
50+
"custom_message": "customMessage",
51+
"custom_name": "customName",
4852
"filters": "filters",
4953
"has_extended_title": "hasExtendedTitle",
5054
"is_enabled": "isEnabled",
@@ -64,6 +68,8 @@ def __init__(
6468
name: str,
6569
options: SecurityMonitoringRuleOptions,
6670
queries: List[SecurityMonitoringSignalRuleQuery],
71+
custom_message: Union[str, UnsetType] = unset,
72+
custom_name: Union[str, UnsetType] = unset,
6773
filters: Union[List[SecurityMonitoringFilter], UnsetType] = unset,
6874
has_extended_title: Union[bool, UnsetType] = unset,
6975
tags: Union[List[str], UnsetType] = unset,
@@ -76,6 +82,12 @@ def __init__(
7682
:param cases: Cases for generating signals.
7783
:type cases: [SecurityMonitoringRuleCaseCreate]
7884
85+
:param custom_message: Custom/Overridden message for generated signals (used in case of Default rule update).
86+
:type custom_message: str, optional
87+
88+
:param custom_name: Custom/Overridden name of the rule (used in case of Default rule update).
89+
:type custom_name: str, optional
90+
7991
: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.
8092
:type filters: [SecurityMonitoringFilter], optional
8193
@@ -103,6 +115,10 @@ def __init__(
103115
:param type: The rule type.
104116
:type type: SecurityMonitoringSignalRuleType, optional
105117
"""
118+
if custom_message is not unset:
119+
kwargs["custom_message"] = custom_message
120+
if custom_name is not unset:
121+
kwargs["custom_name"] = custom_name
106122
if filters is not unset:
107123
kwargs["filters"] = filters
108124
if has_extended_title is not unset:

0 commit comments

Comments
 (0)