Avoid using UserInfo.GetSessionId()

Impact Area

Security

 

Severity

High

 

Affected Element

Apex Class (APPCL)

 

Rule ID #

SF-AVOID-USERINFO-GETSESSIONID

Impact #

Security-sensitive information may be exposed.

Remediation #

Ensure that its use is needed or remove it.

Time to fix

30 min

Was it helpful ?
Table of contents

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!