Star Trek: Strange New Worlds
Ad Astra per Aspera
S2 E2:
Commander Una faces court-martial along with possible imprisonment and dishonorable dismissal from Starfleet, and her defence is in the hands of a lawyer who's also a childhood friend with whom she had a terrible falling out.