Former Gen. David Petraeus is reportedly one of President-elect Donald TrumpDonald TrumpKaine: ‘We have to be at the table’ for recounts Dem senator to meet with Trump Michigan legislature debating voter ID bill MORE‘s finalists to be secretary of State.

If he’s chosen, he’ll have three days to notify his probation officer.

Petraeus was sentenced to two years of probation on April 23, 2015, for giving his mistress classified information.

“The defendant shall not leave the Western District of North Carolina without the permission of the Court or probation officer. Travel allowed for work as approved by U.S. probation office,” says a court judgdment, reported first by Brad Heath of USA Today.

“The defendant shall notify the probation officer within 72 hours of any change in residence or employment,” the document adds.

In addition to those guidelines, Petraeus could also be subject to warrantless searches if he was appointed to Trump’s cabinet. His probation officer would be able to access and review his computer and phone data at any point in time until the end of his sentence.

“The defendant shall submit his person, residence, office, vehicle and/or any computer system including computer data storage media, or any electronic device capable of storing, retrieving, and/or accessing data to which they have access or control, to a search, from time to time, conducted by any U.S. Probation Officer and such other law enforcement personnel as the probation officer may deem advisable, without a warrant,” the judgment says.

Trump could hypothetically absolve Petraeus of these guidelines by either pardoning him or commuting his sentence. But he’s unlikely to take such an action, which would only highlight Petraeus’s legal trouble.

In April 2015, Petraeus was sentenced to two years of probation and a $100,000 fine for giving his mistress classified information.

Petraeus pleaded guilty to one count of unauthorized removal and retention of classified material.

The charges against Petraeus stemmed from his decision to give author Paula Broadwell diaries containing classified information, including the identities of covert officers, while she worked on a book about the former military commander.

Prior to his legal trouble, Petraeus was the CIA director, commander of United States Central Command and commanding general of the International Security Assistance Force in Afghanistan.