Skip to content

Commit 859f8eb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix SecurityMonitoringSignalAttribute field name (#1739)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8bae4c1 commit 859f8eb

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
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": "2023-10-26 18:12:28.293778",
8-
"spec_repo_commit": "d4ce0c7b"
7+
"regenerated": "2023-10-27 07:36:48.282560",
8+
"spec_repo_commit": "2204d6df"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-10-26 18:12:28.383428",
13-
"spec_repo_commit": "d4ce0c7b"
12+
"regenerated": "2023-10-27 07:36:48.296883",
13+
"spec_repo_commit": "2204d6df"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14072,7 +14072,7 @@ components:
1407214072

1407314073
associated values.'
1407414074
properties:
14075-
attributes:
14075+
custom:
1407614076
additionalProperties: {}
1407714077
description: A JSON object of attributes in the security signal.
1407814078
example:

src/datadog_api_client/v2/model/security_monitoring_signal_attributes.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def additional_properties_type(_):
3434
@cached_property
3535
def openapi_types(_):
3636
return {
37-
"attributes": (
37+
"custom": (
3838
{
3939
str: (
4040
bool,
@@ -55,15 +55,15 @@ def openapi_types(_):
5555
}
5656

5757
attribute_map = {
58-
"attributes": "attributes",
58+
"custom": "custom",
5959
"message": "message",
6060
"tags": "tags",
6161
"timestamp": "timestamp",
6262
}
6363

6464
def __init__(
6565
self_,
66-
attributes: Union[Dict[str, Any], UnsetType] = unset,
66+
custom: Union[Dict[str, Any], UnsetType] = unset,
6767
message: Union[str, UnsetType] = unset,
6868
tags: Union[List[str], UnsetType] = unset,
6969
timestamp: Union[datetime, UnsetType] = unset,
@@ -73,8 +73,8 @@ def __init__(
7373
The object containing all signal attributes and their
7474
associated values.
7575
76-
:param attributes: A JSON object of attributes in the security signal.
77-
:type attributes: {str: (bool, date, datetime, dict, float, int, list, str, none_type,)}, optional
76+
:param custom: A JSON object of attributes in the security signal.
77+
:type custom: {str: (bool, date, datetime, dict, float, int, list, str, none_type,)}, optional
7878
7979
:param message: The message in the security signal defined by the rule that generated the signal.
8080
:type message: str, optional
@@ -85,8 +85,8 @@ def __init__(
8585
:param timestamp: The timestamp of the security signal.
8686
:type timestamp: datetime, optional
8787
"""
88-
if attributes is not unset:
89-
kwargs["attributes"] = attributes
88+
if custom is not unset:
89+
kwargs["custom"] = custom
9090
if message is not unset:
9191
kwargs["message"] = message
9292
if tags is not unset:

0 commit comments

Comments
 (0)