Skip to content

Commit 53a4e60

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ab8171f of spec repo
1 parent 8c52047 commit 53a4e60

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "356ca3c",
3-
"generated": "2025-07-31 15:20:00.493"
2+
"spec_repo_commit": "ab8171f",
3+
"generated": "2025-07-31 17:34:02.923"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31780,7 +31780,9 @@ paths:
3178031780
- security_monitoring_signals_write
3178131781
/api/v1/security_analytics/signals/{signal_id}/assignee:
3178231782
patch:
31783-
description: Modify the triage assignee of a security signal.
31783+
deprecated: true
31784+
description: This endpoint is deprecated - Modify the triage assignee of a security
31785+
signal.
3178431786
operationId: EditSecurityMonitoringSignalAssignee
3178531787
parameters:
3178631788
- $ref: '#/components/parameters/SignalID'
@@ -31828,7 +31830,9 @@ paths:
3182831830
- security_monitoring_signals_write
3182931831
/api/v1/security_analytics/signals/{signal_id}/state:
3183031832
patch:
31831-
description: Change the triage state of a security signal.
31833+
deprecated: true
31834+
description: This endpoint is deprecated - Change the triage state of a security
31835+
signal.
3183231836
operationId: EditSecurityMonitoringSignalState
3183331837
parameters:
3183431838
- $ref: '#/components/parameters/SignalID'

src/datadog_api_client/v1/api/security_monitoring_api.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from __future__ import annotations
55

66
from typing import Any, Dict
7+
import warnings
78

89
from datadog_api_client.api_client import ApiClient, Endpoint as _Endpoint
910
from datadog_api_client.configuration import Configuration
@@ -128,9 +129,9 @@ def edit_security_monitoring_signal_assignee(
128129
signal_id: str,
129130
body: SignalAssigneeUpdateRequest,
130131
) -> SuccessfulSignalUpdateResponse:
131-
"""Modify the triage assignee of a security signal.
132+
"""Modify the triage assignee of a security signal. **Deprecated**.
132133
133-
Modify the triage assignee of a security signal.
134+
This endpoint is deprecated - Modify the triage assignee of a security signal.
134135
135136
:param signal_id: The ID of the signal.
136137
:type signal_id: str
@@ -143,16 +144,17 @@ def edit_security_monitoring_signal_assignee(
143144

144145
kwargs["body"] = body
145146

147+
warnings.warn("edit_security_monitoring_signal_assignee is deprecated", DeprecationWarning, stacklevel=2)
146148
return self._edit_security_monitoring_signal_assignee_endpoint.call_with_http_info(**kwargs)
147149

148150
def edit_security_monitoring_signal_state(
149151
self,
150152
signal_id: str,
151153
body: SignalStateUpdateRequest,
152154
) -> SuccessfulSignalUpdateResponse:
153-
"""Change the triage state of a security signal.
155+
"""Change the triage state of a security signal. **Deprecated**.
154156
155-
Change the triage state of a security signal.
157+
This endpoint is deprecated - Change the triage state of a security signal.
156158
157159
:param signal_id: The ID of the signal.
158160
:type signal_id: str
@@ -165,4 +167,5 @@ def edit_security_monitoring_signal_state(
165167

166168
kwargs["body"] = body
167169

170+
warnings.warn("edit_security_monitoring_signal_state is deprecated", DeprecationWarning, stacklevel=2)
168171
return self._edit_security_monitoring_signal_state_endpoint.call_with_http_info(**kwargs)

0 commit comments

Comments
 (0)