The best word to replace "judgment" in the sentence without changing its meaning is "discretion."
So the sentence would read:
"I'll leave it up to your discretion whether to tell Anya about what you saw."
"Discretion" conveys the idea of having the authority to make a decision, which aligns closely with "judgment."