Skip to content

Commit

Permalink
Merge pull request #1119 from SEKOIA-IO/fix/PandaAetherConnector
Browse files Browse the repository at this point in the history
PandaSecurity: display the error returns by the API
  • Loading branch information
squioc authored Oct 8, 2024
2 parents 623e1d8 + 5e49420 commit 751a5d5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions PandaSecurity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down
4 changes: 2 additions & 2 deletions PandaSecurity/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -50,4 +50,4 @@
"categories": [
"Endpoint"
]
}
}

0 comments on commit 751a5d5

Please sign in to comment.