2018 Subaru Outback - Multiple lights

My check engine light came on along with Eyesight and all assist technology lights, brake light also came on. Checked the gas cap. Seems fine.
My car has been driven 18,000 miles

Under warranty. Take it into the dealer and they will fix it for free.