Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SecurityMonitoringSignalAttribute field name #1739

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading