Skip to content

Commit

Permalink
[DatadogCloudSIEM] MyPy In Docker (#37886)
Browse files Browse the repository at this point in the history
* fix

* docker

* RN

* UP017

* pylint

* Update Packs/DatadogCloudSIEM/Integrations/DatadogCloudSIEM/DatadogCloudSIEM.py

* Update Packs/DatadogCloudSIEM/Integrations/DatadogCloudSIEM/DatadogCloudSIEM.py

* RN

* revert
  • Loading branch information
shmuel44 authored Jan 6, 2025
1 parent 900c059 commit dd9280d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def create_event_command(
"source_type_name": args.get("source_type_name"),
}
body = EventCreateRequest(
**{key: value for key, value in event_body.items() if value is not None}
**{key: value for key, value in event_body.items() if value is not None} # type: ignore[arg-type]
)

with ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -530,7 +530,7 @@ def get_events_command(
"page": datadog_page,
}
event_list_response: EventListResponse = api_instance.list_events(
**{key: value for key, value in body_dict.items() if value is not None}
**{key: value for key, value in body_dict.items() if value is not None} # type: ignore[arg-type]
)
results = event_list_response.get("events", [])
resp = get_paginated_results(results, offset, limit)
Expand Down
6 changes: 6 additions & 0 deletions Packs/DatadogCloudSIEM/ReleaseNotes/1_0_15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Datadog Cloud SIEM

Documentation and metadata improvements.
2 changes: 1 addition & 1 deletion Packs/DatadogCloudSIEM/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Datadog Cloud SIEM",
"description": "Datadog is an observability service for cloud-scale applications, providing monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform",
"support": "xsoar",
"currentVersion": "1.0.14",
"currentVersion": "1.0.15",
"author": "Cortex XSOAR",
"url": "",
"email": "",
Expand Down

0 comments on commit dd9280d

Please sign in to comment.