diff --git a/prowler/providers/image/image_provider.py b/prowler/providers/image/image_provider.py index be16580ba1..38ef07a9b0 100644 --- a/prowler/providers/image/image_provider.py +++ b/prowler/providers/image/image_provider.py @@ -929,13 +929,13 @@ class ImageProvider(Provider): elif registry_token: env["TRIVY_REGISTRY_TOKEN"] = registry_token - # Test by running trivy with --skip-update to just test image access + # Test by pulling image metadata without scanning (no DB required) process = subprocess.run( [ "trivy", "image", - "--skip-db-update", - "--download-db-only=false", + "--scanners", + "none", image, ], capture_output=True,