San Francisco (CNN Business) California officials proposed legislation that, if passed, would set stricter guidelines for when companies need to inform customers of a data breach.

The bill would require companies to notify California residents when their passport, passport card or green card numbers are compromised in data breaches. It would also require customers be notified of compromised biometric information such as fingerprints.

The legislation goes further than the state's current consumer protections, which require companies to inform their customers of data breaches but provides an exception if only passport numbers were accessed.

Attorney General Xavier Becerra and State Assemblymember Marc Levine unveiled the new legislation at a press conference on Thursday.

"America doesn't need a wall at our southern border," Levine said. "What America needs is a firewall to protect American consumers from identify theft and fraud."

Read More