A public interest litigation (PIL) petition has been filed before the Karnataka High Court seeking directions to the State to provide adequate security to High Court judge Justice HP Sandesh who had recently revealed in open court that he was threatened with transfer for monitoring a case.