This is the foundation of military ethics and discusses the principles of when it is morally justified to go to war.