Files
prowler/tests
Andoni A. a7dc172cd3 fix(image): route bare registry hostnames to OCI catalog in test_connection
The API passes provider.uid (a bare hostname) to test_connection(),
which misclassified it as a Docker Hub image reference and failed auth
against Docker Hub instead of the target registry.

Add _is_registry_url() to detect bare hostnames (dots in host, no
slash) and _test_registry_connection() to test connectivity via the
OCI catalog endpoint. Also fix the UI placeholder to show a valid
example without https://.
2026-02-24 16:12:29 +01:00
..