OTTAWA - A judge has revoked bail for a senior RCMP official awaiting trial on charges of breaking Canada's secrets law.

Under terms of bail set last month, Cameron Jay Ortis is living with his parents in Abbotsford, B.C., must report to the RCMP once a week and is forbidden from using any device that connects to the internet.

Ontario Superior Court Justice Marc Labrosse today says Ortis will be returned to custody following a review requested by the Crown.

Details of the Crown's review application, heard last week, are covered by a publication ban.

Ortis, 47, faces charges for allegedly disclosing secrets to an unknown recipient and planning to reveal additional classified information to an unspecified foreign entity.

He faces a total of seven counts under various provisions, dating from as early as Jan. 1, 2015, to Sept. 12 of this year.