From 9e4a7bc2594b736521c4388f142fba97c0833a50 Mon Sep 17 00:00:00 2001 From: vg-svitla Date: Fri, 10 Jan 2025 20:03:15 +0400 Subject: [PATCH] Hotfix: SentinelOne Identity fix loop iteration --- SentinelOne/CHANGELOG.md | 6 ++++++ SentinelOne/manifest.json | 2 +- SentinelOne/sentinelone_module/singularity/connectors.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SentinelOne/CHANGELOG.md b/SentinelOne/CHANGELOG.md index 0f4036fb7..b593b21e4 100644 --- a/SentinelOne/CHANGELOG.md +++ b/SentinelOne/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 2025-01-10 - 1.20.1 + +### Fixed + +- Fix for singularity connector for iteration through correct list of items + ## 2025-01-07 - 1.20.0 ### Changed diff --git a/SentinelOne/manifest.json b/SentinelOne/manifest.json index a1dbc8f18..4a9b3d847 100644 --- a/SentinelOne/manifest.json +++ b/SentinelOne/manifest.json @@ -26,7 +26,7 @@ "name": "SentinelOne", "uuid": "ff675e74-e5c1-47c8-a571-d207fc297464", "slug": "sentinelone", - "version": "1.20.0", + "version": "1.20.1", "categories": [ "Endpoint" ] diff --git a/SentinelOne/sentinelone_module/singularity/connectors.py b/SentinelOne/sentinelone_module/singularity/connectors.py index 22ee36de8..3daa186d8 100644 --- a/SentinelOne/sentinelone_module/singularity/connectors.py +++ b/SentinelOne/sentinelone_module/singularity/connectors.py @@ -82,7 +82,7 @@ async def single_run(self) -> int: # Push the collected alerts pushed_events = await self.push_data_to_intakes( - [orjson.dumps(detailed_alerts).decode("utf-8") for alert in alerts] + [orjson.dumps(alert).decode("utf-8") for alert in detailed_alerts] ) result += len(pushed_events)