Avoid System.debug and Configuration.disableTriggerCRUDSecurity()

Impact area

Security

Severity

High

Affected element

Apex Class

Rule ID

SF-0025

Impact

Calling System.debug could lead to exposure of private data. Disabling CRUD security opens the door to several attacks and requires manual validation, which is unreliable.


Remediation

Avoid using these methods.

Time to fix

60 min




Last modified on Jun 10, 2020