chore(sentry): add powershell user auth module connection errors to ignored list (#8420)

This commit is contained in:
Hugo Pereira Brito
2025-08-04 11:58:05 +02:00
committed by GitHub
parent 9da5fb67c3
commit 96ce1461b9
4 changed files with 9 additions and 2 deletions
+3
View File
@@ -8,6 +8,9 @@ All notable changes to the **Prowler API** are documented in this file.
- Github provider support [(#8271)](https://github.com/prowler-cloud/prowler/pull/8271)
- Integration with Amazon S3, enabling storage and retrieval of scan data via S3 buckets [(#8056)](https://github.com/prowler-cloud/prowler/pull/8056)
### Fixed
- Avoid sending errors to Sentry in M365 provider when user authentication fails [(#8420)](https://github.com/prowler-cloud/prowler/pull/8420)
---
## [1.10.2] (Prowler v5.9.2)
@@ -69,6 +69,9 @@ IGNORED_EXCEPTIONS = [
"AzureClientIdAndClientSecretNotBelongingToTenantIdError",
"AzureHTTPResponseError",
"Error with credentials provided",
# PowerShell Errors in User Authentication
"Microsoft Teams User Auth connection failed: Please check your permissions and try again.",
"Exchange Online User Auth connection failed: Please check your permissions and try again.",
]
+1
View File
@@ -38,6 +38,7 @@ All notable changes to the **Prowler SDK** are documented in this file.
- Way of counting FAILED/PASS reqs from `kisa_isms_p_2023_aws` table [(#8382)](https://github.com/prowler-cloud/prowler/pull/8382)
- Use default tenant domain instead of first domain in list for Azure and M365 providers [(#8402)](https://github.com/prowler-cloud/prowler/pull/8402)
- Avoid multiple module error calls in M365 provider [(#8353)](https://github.com/prowler-cloud/prowler/pull/8353)
- Avoid sending errors to Sentry in M365 provider when user authentication fails [(#8420)](https://github.com/prowler-cloud/prowler/pull/8420)
- Tweaks from Prowler ThreatScore in order to handle the correct reqs [(#8401)](https://github.com/prowler-cloud/prowler/pull/8401)
- Make `setup_assumed_session` static for the AWS provider [(#8419)](https://github.com/prowler-cloud/prowler/pull/8419)
@@ -286,7 +286,7 @@ class M365PowerShell(PowerShellSession):
return True
else:
logger.error(
"Microsoft Teams connection failed: Please check your permissions and try again."
"Microsoft Teams User Auth connection failed: Please check your permissions and try again."
)
return connection
# Application Auth
@@ -398,7 +398,7 @@ class M365PowerShell(PowerShellSession):
return True
else:
logger.error(
"Exchange Online connection failed: Please check your permissions and try again."
"Exchange Online User Auth connection failed: Please check your permissions and try again."
)
return False
# Application Auth