Missing application-level encryption of sensitive data

Description

Application-level encryption greatly reduces the risk of a data breach or data leak by making data unreadable. This rule checks if sensitive data types found in records are encrypted.

Remediations

Whenever storing sensitive data to a datastore, make sure to encrypt the entire record, or the field itself.

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

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

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

Ready to take the next step? Learn more about Bearer Cloud.