Lock down public code repositories, monitor those repos for secrets, and if they get exposed, have a well-tested incident response playbook at the ready. See Also: Surviving an M365 Identity Breach ...
After a contractor exposed sensitive credentials in a public GitHub repository earlier this year, CISA is outlining how it responded and the security changes it says are needed to prevent similar ...