def set_scanner_strength(zap_helper, scanners, strength):
    """Set the attack strength for scanners."""
    if not scanners or 'all' in scanners:
        scanners = _get_all_scanner_ids(zap_helper)

    with zap_error_handler():
        zap_helper.set_scanner_attack_strength(scanners, strength)

    console.info('Set attack strength to {0}.'.format(strength))
def set_scanner_strength ( zap_helper , scanners , strength ) : if not scanners or 'all' in scanners : scanners = _get_all_scanner_ids ( zap_helper ) with zap_error_handler ( ) : zap_helper . set_scanner_attack_strength ( scanners , strength ) console . info ( 'Set attack strength to {0}.' . format ( strength ) )
Set the attack strength for scanners.