You can try this:
mongo ATA --eval " db.UniqueEntity.find({'IsSensitive' : true}, {'DistinguishedName': 1}) "
Note: this will work for current version, might not work for others, the DB is often changed,
and is not designed officially for customer custom queries.