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
Current status: Kubernetes namespaces are deleting using os library.
$ pipenv run bandit -r handler.py
>> Issue: [B605:start_process_with_a_shell] Starting a process with a shell, possible injection detected, security issue.
Severity: High Confidence: High
Location: handler.py:56
More Info: https://bandit.readthedocs.io/en/latest/plugins/b605_start_process_with_a_shell.html
55 if not DRYRUN:
56 os.system("kubectl delete namespace {}".format(ns_name))
57
Solution:
Use kubernetes client library
The text was updated successfully, but these errors were encountered:
Current status: Kubernetes namespaces are deleting using
os
library.Solution:
The text was updated successfully, but these errors were encountered: