Idiom
get the goods onget the goods on (someone)
to get or have proof that someone has done something wrong.For months, the cops were trying to get the goods on a drug dealer who lives down the street.
Usage notes: sometimes used in the form have the goods on someone:
Look, Stan, you may think you have the goods on me, but you don't.