Before they were approved by then-Defense Secretary Donald H. Rumsfeld , such harsh techniques had drawn warnings from military lawyers that they could be illegal , an investigation by the Senate Armed Services Committee has found .