Skip to content

Commit

Permalink
Fix SecurityMonitoringSignalAttribute field name (#1739)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec committed Oct 27, 2023
1 parent 8bae4c1 commit 859f8eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-26 18:12:28.293778",
"spec_repo_commit": "d4ce0c7b"
"regenerated": "2023-10-27 07:36:48.282560",
"spec_repo_commit": "2204d6df"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-26 18:12:28.383428",
"spec_repo_commit": "d4ce0c7b"
"regenerated": "2023-10-27 07:36:48.296883",
"spec_repo_commit": "2204d6df"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14072,7 +14072,7 @@ components:

associated values.'
properties:
attributes:
custom:
additionalProperties: {}
description: A JSON object of attributes in the security signal.
example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def additional_properties_type(_):
@cached_property
def openapi_types(_):
return {
"attributes": (
"custom": (
{
str: (
bool,
Expand All @@ -55,15 +55,15 @@ def openapi_types(_):
}

attribute_map = {
"attributes": "attributes",
"custom": "custom",
"message": "message",
"tags": "tags",
"timestamp": "timestamp",
}

def __init__(
self_,
attributes: Union[Dict[str, Any], UnsetType] = unset,
custom: Union[Dict[str, Any], UnsetType] = unset,
message: Union[str, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
timestamp: Union[datetime, UnsetType] = unset,
Expand All @@ -73,8 +73,8 @@ def __init__(
The object containing all signal attributes and their
associated values.
:param attributes: A JSON object of attributes in the security signal.
:type attributes: {str: (bool, date, datetime, dict, float, int, list, str, none_type,)}, optional
:param custom: A JSON object of attributes in the security signal.
:type custom: {str: (bool, date, datetime, dict, float, int, list, str, none_type,)}, optional
:param message: The message in the security signal defined by the rule that generated the signal.
:type message: str, optional
Expand All @@ -85,8 +85,8 @@ def __init__(
:param timestamp: The timestamp of the security signal.
:type timestamp: datetime, optional
"""
if attributes is not unset:
kwargs["attributes"] = attributes
if custom is not unset:
kwargs["custom"] = custom
if message is not unset:
kwargs["message"] = message
if tags is not unset:
Expand Down

0 comments on commit 859f8eb

Please sign in to comment.