https://memory-alpha.fandom.com/wiki/Starfleet_General_Orders_and_Regulations Directive 010 Before engaging alien species in battle, any and all attempts to make first contact and achieve non-military resolution must be made.