Phytoalexins are only one component of the complex mechanisms for disease resistance in plants caused by fungi and bacteria (Kuc, 1995).
Easy to find the antimicrobial mechanism of phytoalexins on fungi, but I do not find very precise information on Enterobacteriaceae.