INNER CODE UNIT · Python

count

vchinnipilli/kubestriker · kubestriker/__main__.py:118

                        count = count + 1
                        if count == 3:
                            cowsay('Maximum retries reached!!')
                            return
                    else:
                        cowsay('Authentication Successful!!')
                        break
                check_choice = None
                user_name = None
                menu.add_choices(["Perform All Checks", "Perform individual Checks"])
                print("")
                checks_status = menu.select("Choose checks option")
                if checks_status == 'Perform individual Checks':
                    menu.add_choices(["Scan IAM misconfigurations", "Scan misconfigured containers", "Scan misconfigured podsecuritypolicies","Scan misconfigured network policies"])
                    check_choice = menu.select("select choice to scan")
                    if check_choice == 'Scan IAM misconfigurations':
                        menu.add_choices(["total check","user check"])
                        check_user_choice = menu.select("select choice to scan")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…