Why would it be set on Earth?I think an Earth security officer could be an interesting focus for a mini-series that explores what living on 23rd/24th/25th century Earth is actually like.
What even is "crime" in a post-scarcity world where everyone has everything they need at the push of a button, and self-actualisation is the main driver?
Why not set it on a parallel Earth where crime is more prevalent? And Starfleet has set up a starbase on the planet.