In most opinions outside the Law of the Jungle:
GoogleAI Overview:
"International law experts and the United Nations widely view the joint US-Israeli military strikes against Iran as a violation of the UN Charter's prohibition on the use of force, lacking the legal justifications required for self-defense or Security Council authorization. [
1,
2,
3]
"The legality of these military actions hinges on two primary doctrines under international law: the right to resort to force (
jus ad bellum) and the laws of war (
jus in bello"