From 54447239d4ca61c923030a223d6cd1e930bd6193 Mon Sep 17 00:00:00 2001 From: Sebastien Quioc Date: Wed, 11 Dec 2024 15:59:10 +0100 Subject: [PATCH 1/4] fix(SentinelOne): handle the timeout exception raised by the client --- SentinelOne/sentinelone_module/singularity/connectors.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SentinelOne/sentinelone_module/singularity/connectors.py b/SentinelOne/sentinelone_module/singularity/connectors.py index 73c822278..a621134f9 100644 --- a/SentinelOne/sentinelone_module/singularity/connectors.py +++ b/SentinelOne/sentinelone_module/singularity/connectors.py @@ -125,6 +125,10 @@ async def async_run(self) -> None: # pragma: no cover self.log(message=error.message, level="critical") await asyncio.sleep(self.configuration.frequency) + except Timeout as error: + self.log(message="A timeout was raised by the client", level="warning") + await asyncio.sleep(self.configuration.frequency) + except Exception as error: self.log_exception(error) await asyncio.sleep(self.configuration.frequency) From 97e5d748282de84c013c6be54e718eb3d976c4ea Mon Sep 17 00:00:00 2001 From: Sebastien Quioc Date: Wed, 11 Dec 2024 15:59:25 +0100 Subject: [PATCH 2/4] chore(SentinelOne): bump version number --- SentinelOne/CHANGELOG.md | 6 ++++++ SentinelOne/manifest.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/SentinelOne/CHANGELOG.md b/SentinelOne/CHANGELOG.md index ae94e4931..aebc8aa6b 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 +## 2024-12-10 - 1.19.7 + +### Changed + +- Handle the timeout exception + ## 2024-12-10 - 1.19.6 ### Fixed diff --git a/SentinelOne/manifest.json b/SentinelOne/manifest.json index 8581643f0..6e9674188 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.19.6", + "version": "1.19.7", "categories": [ "Endpoint" ] From 526581971750e05164dc0cc3cfd5025cc25ca20a Mon Sep 17 00:00:00 2001 From: Sebastien Quioc Date: Wed, 11 Dec 2024 16:40:02 +0100 Subject: [PATCH 3/4] fix(SentinelOne): fix the name of the exception --- SentinelOne/sentinelone_module/singularity/connectors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SentinelOne/sentinelone_module/singularity/connectors.py b/SentinelOne/sentinelone_module/singularity/connectors.py index a621134f9..f5a090fea 100644 --- a/SentinelOne/sentinelone_module/singularity/connectors.py +++ b/SentinelOne/sentinelone_module/singularity/connectors.py @@ -125,7 +125,7 @@ async def async_run(self) -> None: # pragma: no cover self.log(message=error.message, level="critical") await asyncio.sleep(self.configuration.frequency) - except Timeout as error: + except TimeoutError as error: self.log(message="A timeout was raised by the client", level="warning") await asyncio.sleep(self.configuration.frequency) From 9126234a1ca67e624e7e26a4cb6c339cd7697f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Heuz=C3=A9?= <97510789+aheuze@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:22:32 +0100 Subject: [PATCH 4/4] Update CHANGELOG.md --- Sekoia.io/CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Sekoia.io/CHANGELOG.md b/Sekoia.io/CHANGELOG.md index d44cd6e17..b226cbf53 100644 --- a/Sekoia.io/CHANGELOG.md +++ b/Sekoia.io/CHANGELOG.md @@ -6,12 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased -## 2024-12-10 - 2.65.11 +## 2024-12-11 - 2.65.11 ### Changed - Update synchronize asset action +## 2024-11-27 - 2.65.7 + +### Changed + +- Update get alert action with an option to get the associated cases + ## 2024-11-27 - 2.65.4 ### Changed