---
title: Inaccessible Aura Enabled Getter
description: "**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…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/pmd-rules/inaccessible-aura-enabled-getter/"
updated: "2025-03-21"
category: PMD Rules
---

# 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](https://pmd.github.io/pmd/pmd_rules_apex_errorprone.html#inaccessibleauraenabledgetter)
