Leakage of sensitive data to ElasticSearch

  • Rule ID: javascript_third_parties_elasticsearch
  • Languages: javascript
  • Source: elasticsearch.yml

Description

Leaking sensitive data to database is a common cause of data leaks and can lead to data breaches. This rule looks for instances of sensitive data sent to elasticsearch.

Remediations

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

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

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