Avoid Hardcoded Credentials Used In Requests To An Endpoint

< 1 min read

Impact Area

Security

Severity

High

Affected Element

Apex Class

Rule ID #

SF-0026

Impact #

Hardcoded credentials are a security risk.

Remediation #

Do not hard code credentials in your code. Use Named Credentials and a callout endpoint.

Time to fix #

60 min

References #

This rule is linked to Common Weakness Enumeration CWE-259 Use of Hard-coded Password.

Updated on March 21, 2025
Was it helpful ?