BEDMINSTER TOWNSHIP, NJ - NOVEMBER 20: President-elect Donald Trump waves as he arrives at Trump International Golf Club for a day of meetings, November 20, 2016 in Bedminster Township, New Jersey. Trump and his transition team are in the process of filling cabinet and other high level positions for the new administration.  (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images
BEDMINSTER TOWNSHIP, NJ - NOVEMBER 20: President-elect Donald Trump waves as he arrives at Trump International Golf Club for a day of meetings, November 20, 2016 in Bedminster Township, New Jersey. Trump and his transition team are in the process of filling cabinet and other high level positions for the new administration. (Photo by Drew Angerer/Getty Images)
Now playing
02:02
Billionaires, millionaires in Trump's cabinet
Pat Cipollone close up
PHOTO: Stein Mitchell Cipollone Beato & Missner LLP
Pat Cipollone close up
Now playing
02:10
Meet Trump's new White House counsel
John Bolton and John Kelly
PHOTO: Getty Images
John Bolton and John Kelly
Now playing
02:12
Bolton, Kelly get into heated shouting match
US President Donald Trump prepares to board Air Force One at Andrews Air Force Base in Maryland on October 1, 2018.
PHOTO: MANDEL NGAN/Getty Images
US President Donald Trump prepares to board Air Force One at Andrews Air Force Base in Maryland on October 1, 2018.
Now playing
02:35
Trump administration dismisses EPA scientists
Donald Trump welcomes retired United States Marine Corps general James Mattis as they pose for a photo before their meeting at Trump International Golf Club, November 19, 2016 in Bedminster Township, New Jersey.
PHOTO: Drew Angerer/Getty Images
Donald Trump welcomes retired United States Marine Corps general James Mattis as they pose for a photo before their meeting at Trump International Golf Club, November 19, 2016 in Bedminster Township, New Jersey.
Now playing
02:44
Trump: James Mattis is 'sort of a Democrat'
Now playing
01:27
Sanders: 'Sad' that op-ed is getting attention
Sonny Perdue, President TrumpÕs nominee to lead the Agriculture Department, takes his seat as he arrives for his confirmation hearing before the Senate Committee on Agriculture, Nutrition, and Forestry on Capitol Hill, March 23, 2017 in Washington. Previously, Perdue served as the governor of Gerogia from 2003 to 2011. (Photo by Drew Angerer/Getty Images)
Sonny Perdue, President TrumpÕs nominee to lead the Agriculture Department, takes his seat as he arrives for his confirmation hearing before the Senate Committee on Agriculture, Nutrition, and Forestry on Capitol Hill, March 23, 2017 in Washington. Previously, Perdue served as the governor of Gerogia from 2003 to 2011. (Photo by Drew Angerer/Getty Images)
Now playing
02:02
Emails reveal food lobbyist influence on USDA
US.President Donald Trump departs the White House July 31, 2018 in Washington, DC (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
US.President Donald Trump departs the White House July 31, 2018 in Washington, DC (Photo by Win McNamee/Getty Images)
Now playing
02:03
Trump team suggests ACLU find deported parents
President Donald Trump speaks during a rally, Thursday, Aug. 2, 2018, at Mohegan Sun Arena at Casey Plaza in Wilkes Barre, Pa. (AP Photo/Matt Rourke)
PHOTO: Matt Rourke/AP
President Donald Trump speaks during a rally, Thursday, Aug. 2, 2018, at Mohegan Sun Arena at Casey Plaza in Wilkes Barre, Pa. (AP Photo/Matt Rourke)
Now playing
02:16
Trump slams probe 'hoax' despite intel warning
John Kelly answers questions during a press conference related to President Donald Trump
PHOTO: Drew Angerer/Getty Images
John Kelly answers questions during a press conference related to President Donald Trump's recent executive order concerning travel and refugees, January 31, 2017 in Washington, DC.
Now playing
00:57
Trump asked John Kelly to stay through 2020
US candidate to the head of International Organization for Migration (IOM) Ken Isaacs looks on during a press briefing on March 19, 2018 in Geneva.
PHOTO: Fabrice Coffrini/AFP/Getty Images
US candidate to the head of International Organization for Migration (IOM) Ken Isaacs looks on during a press briefing on March 19, 2018 in Geneva.
Now playing
00:32
Trump's pick for UN migration job voted down
PHOTO: Nicholas Kamm/AFP/Getty Images/File
Now playing
01:59
Trump appointee guts UN document on racism
Bill Shine, left, and President Donald Trump
PHOTO: Getty Images
Bill Shine, left, and President Donald Trump
Now playing
00:51
Former Fox News executive takes White House job
Vice President Mike Pence speaks at Las Vegas City Hall on October 7, 2017.
PHOTO: Ethan Miller/Getty
Vice President Mike Pence speaks at Las Vegas City Hall on October 7, 2017.
Now playing
02:34
Genealogist: Chain migration helped Pence family
PHOTO: getty images/dpa/ap
Now playing
02:57
Vets call on WH to fire aide over crude joke
White House Chief of Staff John Kelly awaits fthe start of a jobs creation pledge event in the East Room of the White House July 19, 2018 in Washington, DC. (BRENDAN SMIALOWSKI/AFP/Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/Getty Images
White House Chief of Staff John Kelly awaits fthe start of a jobs creation pledge event in the East Room of the White House July 19, 2018 in Washington, DC. (BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:08
Kelly retracts comment Trump is 'embarrassed'

Story highlights

Petraeus is on probation for two years

He needs to notify his probation officer of all his moves

(CNN) —  

If President-elect Donald Trump taps former Gen. David Petraeus to be his secretary of state, Petraeus has three days to notify his probation officer about his new job. He also needs to tell the probation officer before he leaves North Carolina – and his work travel would have to be approved by his probation officer, too.

Petraeus, once a widely celebrated military leader who oversaw operations in Afghanistan and Iraq, was sentenced on April 23, 2015, to serve two years of probation and pay a $100,000 fine for sharing classified information with his biographer and lover, Paula Broadwell.

“The defendant shall notify the probation officer within 72 hours of any change in residence or employment,” read a court judgment, which was reported first by USA Today.

David Petraeus shared classified info. Now can he be secretary of state?

“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 US probation office,” the document also said.

Additionally, if Petraeus were to become secretary of state, he would be subject to warrantless searches by his probation officer – including the possibility of searching a work device such as a laptop or a phone.

“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 US Probation Officer and such other law enforcement personnel as the probation officer may deem advisable, without a warrant,” the document read.

Trump met with Petraeus to talk about the position on Monday, tweeting about the meeting immediately afterward, saying he “was very impressed” with the retired general.

Other names being floated for the position include 2012 Republican nominee Mitt Romney, former New York City Mayor Rudy Giuliani and former US ambassador to the United Nations John Bolton.

CORRECTION: This story has been updated to use the term “probation officer” in all instances.