When it comes to doing the right thing, sometimes it takes rules and sometimes it takes learning from others’ mistakes. In the end, it’s all about accountability.

In the wake of the Equifax breach and news about Uber paying hackers to keep its data breach secret, senators have introduced a new cybersecurity bill that would require organizations to act quickly to disclose data breaches; implement processes to assess vulnerabilities; and eliminate sensitive data no longer in use. Those who don’t comply could end up paying fines and serving time in jail.

In the meantime, until legislation is approved, we can look to the mistakes of others as lessons to guide us. In his article on CSO, Josh Fruhlinger takes a look at eight security breaches that ended in the dismissal of an executive.

As Fruhlinger points out, when security is going right, it’s not noticeable because things are status quo. On the flip side, though, brands and personal reputations can be scarred when hackers come knocking. With stakes that high, maybe that’s why there’s a profound dearth of cybersecurity talent to fill vacant roles.

Read the full story at CSO.