The quality of being indiscreet. (Cambridge Dictionary)
Something, especially a sexual relationship, that is considered embarrassing or morally wrong. (Cambridge Dictionary)
If you talk about someone’s indiscretion, you mean that they have done or said something that is risky, careless, or likely to upset people. (Collins Dictionary)
Indiscretion with food scraps behind increase in pet illness during holidays, vets say.
The difference between a youthful indiscretion and a serious crime.