Hegseth unveiled new restrictions on building access for Pentagon reporters that prompted worries among media outlets.