The goal of the legislation is provide legal cover for companies to share threat intelligence with law enforcement and government agencies.