Skip to main content

Roles not used

The Roles not used screen lists every role that exists in the source system but has no row in the assignments table. One line per (Application, Role) pair. These roles are the cleanup backlog: they widen the catalog without contributing to any active access.

Eliminating unused roles is what keeps the security model readable, and it shrinks the attack surface: a role that nobody holds today can be assigned to a service account tomorrow without anyone noticing.


At a glance​

Security - Roles not usedSELECTnomasx1.security_roles_not_used_get14 rows · 4.2 ms▦ Table▥ Chart⌕ Search…▷ RunMax rows defaultViewsFiltersGroupColumnsExport ▾APPLICATION ID (ID)APPLICATION IDROLE ID (ID)ROLE ID1ERP-PRODAP_OLDAP (old)1ERP-PRODBREAKGLASSEmergency access1ERP-PRODPRJ_2019Project 20192ERP-TESTQA_TEMPQA temporaryRows per page50 ▾Showing 1–14 of 14«‹1›Searchnarrows the loaded rowsRoles held by nobodyone line per application × roleExportthe cleanup list

Goal of the view​

For each role known to any connected application, surface those with zero active assignment:

  • What should be retired? Roles with zero holders are the obvious cleanup target. The data is precomputed via a LEFT JOIN against SECURITY_ASSIGNMENTS filtered on NULL — no double counting, no false positives.
  • What was the role originally meant for? Use the Roles screen to recall the original purpose before deleting — a role with no current holder may simply be a break-glass role kept ready for an incident.
  • Is the same role repeated under several names? Listing unused roles often reveals naming drift (e.g. ACCT_AP_OLD next to the live ACCT_AP).

The screen is one of the deliverables auditors expect at every quarterly access review.


Columns​

ColumnSourceWhat it tells you
Application IDAPPS_ID — application identifier from the source system. Joined to SETTINGS_APPLICATIONS to also show the application name.Which application the unused role belongs to.
Role IDROL_ID — role identifier (technical name). Filtered down by the chosen application.The role that has zero assignment.

The screen has no advanced filter: it opens on the full list. The search box filters the rows loaded; Views, Filters, Group, Columns and Export (CSV or Excel) work as on every grid.


Tips & best practices​

  • Sort by Application ID to review one source at a time — the cleanup decision is usually owned by the security administrator of that application.
  • Cross-reference with the Roles screen to read the original description before deleting — some unused roles are intentional reserves.
  • Confirm with the source system before removing: the row will disappear from the Roles catalog on the next scan, but the underlying role definition must be deleted in the source itself.
  • Re-run the screen after the next scan to confirm the cleanup landed — the row should drop out automatically.