The SNP’s Justice Secretary has kept her job despite an official investigation finding she twice broke the ministerial code ...