The defense secretary previously underwent a minimally invasive surgical procedure for prostate cancer.