Oracle APEX rules
dbLinter checks Oracle APEX applications for security, reliability and maintainability issues. Its 38 APEX rules cover pages, page items, regions, buttons and Interactive Grid columns.
Find missing access protection, unprotected session state, overly long session lifetimes and naming or structural issues that make applications harder to maintain. Browse the rules below for explanations and examples of how to fix each issue.
Most severe APEX rules
Start with these: they carry the highest SonarQube severities among the APEX rules.
- A-0700 Always enable Session State Protection at the application level. Blocker
- A-0720 Always enable Page Access Protection. Blocker
- A-0770 Never allow application pages within an HTML frame. Blocker
- A-1070 Always reload pages with editable Interactive Grids only for success. Blocker
- A-1100 Try to keep hidden page items protected. Blocker
- A-3060 Always define a primary key column for editable Interactive Grids. Blocker
- A-3080 Avoid making Interactive Grid columns read-only with CSS only. Blocker
- A-3110 Always define a primary key item for forms with a DML process. Blocker
APEX rules by quality area
- Maintainability rules (21 for APEX)
- Reliability rules (9 for APEX)
- Security rules (8 for APEX)
All 38 APEX rules
-
A-0700 Always enable Session State Protection at the application level.Blocker Security
-
A-0720 Always enable Page Access Protection.Blocker Security
-
A-0730 Always give an alias to pages.Minor Maintainability
-
A-0770 Never allow application pages within an HTML frame.Blocker Security
-
A-0950 Always follow naming conventions for application items.Minor Maintainability
-
A-0960 Try to give modal dialogs a Cancel button.Minor Maintainability
-
A-0970 Never place branches after an unconditional branch.Major Reliability
-
A-0980 Try to set the compatibility mode to the latest version.Minor Maintainability
-
A-0990 Always name buttons in uppercase.Minor Maintainability
-
A-1060 Try to assign applications to an application group.Minor Maintainability
-
A-1070 Always reload pages with editable Interactive Grids only for success.Blocker Reliability
-
A-1080 Avoid defining CSS inline at page level.Minor Maintainability
-
A-1100 Try to keep hidden page items protected.Blocker Security
-
A-1120 Always define an icon for buttons using an icon template.Minor Maintainability
-
A-1130 Always follow naming conventions for page items.Minor Maintainability
-
A-1140 Try to assign pages to a page group.Minor Maintainability
-
A-1250 Avoid components with the condition type "Never".Minor Maintainability
-
A-1340 Avoid pages without an authorization scheme.Critical Security
-
A-1390 Avoid buttons defined by dynamic action without a dynamic action.Major Reliability
-
A-1400 Never keep the default name New for components.Minor Maintainability
-
A-1410 Never set session lifetime or idle time to 0 (unlimited).Critical Security
-
A-1680 Always define an ordering for reporting regions.Minor Maintainability
-
A-1750 Avoid static lists without entries.Major Reliability
-
A-1860 Avoid NOT NULL validations; use the item's Value Required setting.Minor Maintainability
-
A-2300 Never use the HTML (Unsafe) format on Display-Only items.Critical Security
-
A-2420 Avoid regions without a template.Minor Maintainability
-
A-2430 Avoid page items without a label template.Minor Maintainability
-
A-3060 Always define a primary key column for editable Interactive Grids.Blocker Reliability
-
A-3070 Try to define a default value for Interactive Grid checkbox and switch columns.Minor Maintainability
-
A-3080 Avoid making Interactive Grid columns read-only with CSS only.Blocker Security
-
A-3090 Never mark Interactive Grid columns with the is-readonly class as required.Major Reliability
-
A-3100 Avoid LOV items on single-column Interactive Grid primary keys.Minor Maintainability
-
A-3110 Always define a primary key item for forms with a DML process.Blocker Reliability
-
A-3130 Always define a primary key column for master Interactive Grids.Blocker Reliability
-
A-3150 Avoid a null entry on required LOV items and Interactive Grid columns.Minor Maintainability
-
A-3160 Try to give regions an HTML DOM ID.Minor Maintainability
-
A-3190 Try to use a required label template for required page items.Minor Maintainability
-
A-3220 Avoid regions in the dialogs position without a dialog template.Major Reliability
38 total
Related rule collections
- Trivadis PL/SQL & SQL guideline rules - Rules that implement the Trivadis coding guidelines.
- OWASP-related security rules - Rules that name an OWASP Top 10 risk category.
- PostgreSQL rules - Rules that also apply to PostgreSQL and PL/pgSQL.
- Security rules - All rules in the Security quality area.
- Reliability rules - Rules that prevent bugs and failures at run time.
- Maintainability rules - Rules for code that is easy to read and change.
- Rules by quality area - Security, reliability and maintainability.
- Rules by severity - From Blocker to Info.
- Rule profiles - Essential to Extreme: which rules are checked.
- Rules by tag - Topics such as SQL, performance and naming.
- All rules - Search and filter the complete rule set.