Upon infection of macrophages by Mtb, indoleamine 2,3-dioxygenase (IDO) is activated, promoting the conversion of tryptophan to kynurenine. Here, IDO1 is linked to infection.