The parties in Downing Street, which have caused outrage and sparked calls for Boris Johnson to resign, are already being investigated by a senior civil servant.