diff --git a/PandaSecurity/CHANGELOG.md b/PandaSecurity/CHANGELOG.md index 85e00c966..e469af098 100644 --- a/PandaSecurity/CHANGELOG.md +++ b/PandaSecurity/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.23.1 + +### Changed + +- Add the content of response when getting an error from the API + ## 2024-05-28 - 1.23.0 ### Changed diff --git a/PandaSecurity/aether_endpoint_security_api/trigger_security_events.py b/PandaSecurity/aether_endpoint_security_api/trigger_security_events.py index fb68dbca8..57c61ee9e 100644 --- a/PandaSecurity/aether_endpoint_security_api/trigger_security_events.py +++ b/PandaSecurity/aether_endpoint_security_api/trigger_security_events.py @@ -176,7 +176,7 @@ def _fetch_next_events(self, last_message_date: str, event_type: int) -> list[di self.log( message=( f"Request on Aether API to fetch events of tenant {self.module.configuration['account_id']} " - f"failed with status {response.status_code} - {response.reason}" + f"failed with status {response.status_code}: {response.content!r}" ), level="error", ) diff --git a/PandaSecurity/manifest.json b/PandaSecurity/manifest.json index de89f82d5..0ab13c43e 100644 --- a/PandaSecurity/manifest.json +++ b/PandaSecurity/manifest.json @@ -3,7 +3,7 @@ "name": "Panda Security", "slug": "panda-security", "description": "[PandaSecurity](https://www.pandasecurity.com/), a [WatchGuard](https://www.watchguard.com/) company, is a cybsersecurity vendor, delivering products designed to protect endpoints against outside threats.\n\nThis module provides actions and triggers to interact with the [Watchguard Panda Aether platform](https://www.watchguard.com/wgrd-products/panda-endpoint-security) to act on AD360 and EPP devices", - "version": "1.23.0", + "version": "1.23.1", "configuration": { "$schema": "http://json-schema.org/draft-07/schema#", "properties": { @@ -50,4 +50,4 @@ "categories": [ "Endpoint" ] -} \ No newline at end of file +}