Depends, of course, on how much you weigh - but you'd have to eat A LOT of green beans in one sitting to fall out of ketosis (assuming that is your only carb source).
But let's say a cup or two would be no problem at all (in one meal).
As with all things diet-related.....really depends on the individual.