mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-09 12:49:27 +00:00
Move `provider_id` back to its original positional slot in `AzureProvider.test_connection`; the keyword-only barrier introduced by the certificate kwargs was breaking external callers passing it positionally. Add the regression coverage Hugo asked for in the SDK PR review: - `verify_client` translates `FuturesTimeoutError` to `AzureCredentialsUnavailableError` for both certificate_content and certificate_path (the background token-request path) - `test_connection(..., raise_on_exception=False)` returns `Connection(error=AzureCredentialsUnavailableError)` for both certificate variants - End-to-end leaf-first assertions for the remaining `CertificateCredential` call sites: `setup_session` azure_credentials certificate_path branch, `verify_client` with content and with path, and `validate_static_credentials` re-encoded output