mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-09 12:49:27 +00:00
- Move certificate kwargs behind `*,` in `validate_arguments`, `setup_session` and `verify_client` so pre-existing positional callers keep binding `tenant_id`/`client_id`/`azure_credentials`/`region_config` correctly. - Hoist the transient `RequestsTransport` in `verify_client` to a local so `finally` can close it even when `CertificateCredential.__init__` raises before the credential is bound. - Drop the unused `client_id` parameter from `check_certificate_creds_env_vars` (no caller propagates it) and always require `AZURE_CLIENT_ID` on the pure env-var flow. - Update `_normalize_pem_bundle` to iterate every private-key block so a bundle whose leaf pairs with a non-first key is normalized correctly; preserve the encrypted-key `TypeError` for single-key bundles. - Add `inspect.signature(...).bind(...)` regressions for the restored signatures and a multi-key PEM regression.