Loss of either GBP2 or GBP5 alone was sufficient to render bone marrow-derived macrophages (BMDMs) and mice highly susceptible to infection by B. thailandensis. Here, GBP2 is linked to infection.