Apart from secret scanning, you can also protect your data with these key factors: Secure Development Practices, Monitoring and Alerting, Audit Trails, Regular Security Audits, Rotation Policies, Access Control.