From 747ed2a1fcab665d987d814239bd65e73fce7de1 Mon Sep 17 00:00:00 2001 From: Sebastien Quioc Date: Tue, 8 Oct 2024 17:27:32 +0200 Subject: [PATCH 1/2] fix(Sophos): update the event lag when no events are retrieved --- Sophos/sophos_module/trigger_sophos_xdr_query.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Sophos/sophos_module/trigger_sophos_xdr_query.py b/Sophos/sophos_module/trigger_sophos_xdr_query.py index 599af2c15..15ec7a903 100644 --- a/Sophos/sophos_module/trigger_sophos_xdr_query.py +++ b/Sophos/sophos_module/trigger_sophos_xdr_query.py @@ -212,6 +212,7 @@ def getting_results(self, pagination: int) -> None: else: self.log(message="No messages to forward", level="info") + EVENTS_LAG.labels(intake_key=self.configuration.intake_key).set(0) class SophosXDRIOCQuery(SophosXDRQueryTrigger): From bd43109d2f9fc50a1bc5a1943308c77301c971b4 Mon Sep 17 00:00:00 2001 From: Sebastien Quioc Date: Tue, 8 Oct 2024 17:27:49 +0200 Subject: [PATCH 2/2] chore(Sophos): bump version number --- Sophos/CHANGELOG.md | 6 ++++++ Sophos/manifest.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Sophos/CHANGELOG.md b/Sophos/CHANGELOG.md index 6a8278360..65fddf2de 100644 --- a/Sophos/CHANGELOG.md +++ b/Sophos/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 2024-10-08 - 1.17.1 + +### Fixed + +- Update the event lag when no events are retrieved from the API + ## 2024-10-02 - 1.17.0 ### Added diff --git a/Sophos/manifest.json b/Sophos/manifest.json index bf11eebf0..09dbcab6f 100644 --- a/Sophos/manifest.json +++ b/Sophos/manifest.json @@ -38,8 +38,8 @@ "name": "Sophos", "uuid": "0de5216e-19b0-4ad3-9b91-a547cfaf52ca", "slug": "sophos", - "version": "1.17.0", + "version": "1.17.1", "categories": [ "Endpoint" ] -} \ No newline at end of file +}