Inaccessible Aura Enabled Getter

Impact area

Security

Severity

Medium

Affected element

Apex Class

Rule ID #

SF-INACC-AURA

Impact #

In the Summer ‘21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup. The update prevents access to private or protected Apex getters from Aura and Lightning Web Components.

Remediation

Change Private or Protected Getter with Public.

Time to fix #

10 min

References #

This rule is linked to InaccessibleAuraEnabledGetter

Was it helpful ?

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!