It has been known for decades that IDO1 is induced during infections and displays antimicrobial activity. Here, IDO1 is linked to infection.