Sensitive data sent to Google Analytics detected.
- Rule ID: ruby_third_parties_google_analytics
- Languages: ruby
- Source: google_analytics.yml
Leaking sensitive data to third-party analytics tools is a common cause of data leaks and can lead to data breaches. This rule looks for instances of sensitive data sent to Google Analytics.
When sending data to analytics libraries, ensure all sensitive data is removed.
OWASP Top 10
To skip this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --skip-rule=ruby_third_parties_google_analytics
To run only this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --only-rule=ruby_third_parties_google_analytics
Ready to take the next step? Learn more about Bearer Cloud.