def get_login_failed_count(name):
    ret = _get_account_policy_data_value(name, 'failedLoginCount')

    return salt.utils.mac_utils.parse_return(ret)
Get the the number of failed login attempts
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_shadow.py/get_login_failed_count