Avoid spraying the buds. You don't want to risk smoking bug spray.

What is the active ingredient?

Depending on the insect problem, spraying the soil heavily with pyrethrins is a good idea.