Leakage of sensitive data to AppSignal

  • Rule ID: ruby_third_parties_appsignal
  • Languages: ruby
  • Source: appsignal.yml

Description

Leaking sensitive data to third-party loggers is a common cause of data leaks and can lead to data breaches. This rule looks for instances of sensitive data sent to AppSignal.

Remediations

✅ When logging errors or events, ensure all sensitive data is removed.

Appsignal.tag_request(user: current_user.email)

❌ Do not send sensitive data to AppSignal

Appsignal.tag_request(user_id: current_user.id)

References

Associated CWE

OWASP Top 10

Configuration

To skip this rule during a scan, use the following flag

bearer scan /path/to/your-project/ --skip-rule=ruby_third_parties_appsignal

To run only this rule during a scan, use the following flag

bearer scan /path/to/your-project/ --only-rule=ruby_third_parties_appsignal