You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of checks is using not supported method. Log reports following line:
2025-06-05 12:37:50,411 [File: check.py:613] [Module: check] ERROR: apiserver_strong_ciphers_only -- AttributeError[29]: 'list' object has no attribute 'issubset'
How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
Pod in on-prem kubernetes cluster
OS used
Debian 12 (as in image)
Prowler version
Prowler 5.7.1
Pip version
pip 25.1.1 from /home/prowler/.local/lib/python3.12/site-packages/pip (python 3.12)
Context
How to fix:
Edit prowler/providers/kubernetes/services/apiserver/apiserver_strong_ciphers_only/apiserver_strong_ciphers_only.py file , change type from list to set to use issubset method:
if command.startswith("--tls-cipher-suites"):
if (
- command.split("=")[1]- .split(",")+ set(command.split("=")[1]+ .split(","))
.issubset(
apiserver_client.audit_config.get(
"apiserver_strong_ciphers",
default_apiserver_strong_ciphers,
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
In kubernetes cluster run command:
Expected behavior
All checks are executed with no errors in parsing
Actual Result with Screenshots or Logs
One of checks is using not supported method. Log reports following line:
How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
Pod in on-prem kubernetes cluster
OS used
Debian 12 (as in image)
Prowler version
Prowler 5.7.1
Pip version
pip 25.1.1 from /home/prowler/.local/lib/python3.12/site-packages/pip (python 3.12)
Context
How to fix:
Edit
prowler/providers/kubernetes/services/apiserver/apiserver_strong_ciphers_only/apiserver_strong_ciphers_only.py
file , change type fromlist
toset
to useissubset
method:The text was updated successfully, but these errors were encountered: