naming and shaming
noun [ U ]
ukusthe activity of saying publicly that a person, company, etc. has behaved in a bad or illegal way:
He readily backed the naming and shaming of underperforming schools.
a naming and shaming policy/campaign/approach