An agreement reached between a ship and port facility or another ship specifying the security measures to be implemented by both parties.