Leakage of sensitive data to Datadog

  • Rule ID: java_third_parties_datadog
  • Languages: java
  • Source: datadog.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 Datadog.

Remediations

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

Resources

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=java_third_parties_datadog

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

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