Version: V7.1x & V7.2x
Modules: Governance
Product Area: Charts, Single Series
Note: A summary of all RSA IGL recipes can be found here: (TBC)
Time to apply: ~20 minutes
Summary:
This recipe shows you how to create a very simple chart, displaying the total number of leavers you have had each week, over the previous 10 weeks.
You can use this data to understand trending within your organisation and potentially look into how automation of the leavers process, could save you time/money.
Prerequisites:
- RSA IGL v7.1x or v7.2x
- Identity data collections running, with some leavers in the environment
Make sure you thoroughly test any changes in lower environments first before promoting them to Production.
Optional Changes to the Chart
If you want to change this chart to display more/less than 10 weeks, you need to update 2 key values in the SQL.
- "CONNECT BY LEVEL <= 10" - the 10 here, is the number of weeks you want to display, so you could change this to be 8 or 15
- "where deletion_date > sysdate - 70 " - the 70 here, is the number of total days, depending on how many weeks you have selected.
- So if you have 8 weeks, you would have 8weeks * 7 days = 56
- So if you have 12 weeks, you would have 12weeks * 7 = 84
I would strongly recommended you do not have too many weeks, otherwise it will not display very well in the UI.
The SQL to use:
Please test this works first, within your environment.
(select * from
(select
T1.tmpWeek as "Week",
CASE WHEN T2.TotalPerWeek IS NULL THEN CAST(('0') AS NUMBER(20)) ELSE CAST(T2.TotalPerWeek AS NUMBER(20)) END AS "# Leavers"
from
(
SELECT
to_char(sysdate - (7 * level) +7,'YYYYMMDD') as FullDate,
to_char(sysdate - (7 * level) +7,'WW') as tmpWeek
FROM dual
CONNECT BY LEVEL <= 10
) t1
left join
(
select
'Leavers' as AppAction,
tmpWeek,
count(deletion_date) as TotalPerWeek
from
(
select distinct
ID,
deletion_date,
to_char(deletion_date,'WW') as tmpWeek
from avuser.pv_users
where deletion_date > sysdate - 70
)
group by tmpWeek
) t2
ON t2.tmpWeek = t1.tmpWeek
order by FullDate asc)
)
The output looks like this in my environment. Showing that there were 41 leavers in week 27
Steps to create within the RSA IGL UI
- Log into RSA IGL as a user who can create charts. In my example, im using AveksaAdmin
- Go to "Reports" / "Charts"
- Select "+ Create Chart" button
- Under the "General Tab" add the following details:
- Name
- Description
- Type = Single Series Chart
- Under the "Query" Tab, copy the SQL from above and hit "Preview", you should see some results.
If you get an error at this stage, please test your SQL in a Query tool, like "SQL Developer" or "SQL Squirrel" to ensure it works first. If it still doesn't work, please share your SQL and a screen shot of the issue below. - Under the "Columns" Tab, please use the configuration shown in the image below
- Under the "Display Attributes" tab, you should select "Style = Line". Please also apply these settings:
- Under "Title and Axis Names"
- Caption: "Total Leavers Per Week"
- Sub Caption: "For the Previous 10 Weeks"
- X Axis Name: "Week #"
- Y Axis Name: Total Leavers
- Under "Functional attributes"
- Select "Animation" checkbox (ticked)
- Select "Show Labels" (Ticked)
- Select "Show Values" (Ticked)
- Under "Title and Axis Names"
There are MANY other "display attributes" you can play with on this screen, so please update and make changes as you see fit.
Final Result
Next Steps
Add this chart to a dashboard, so you can easily see the data.
Related Articles
RSA Governance & Lifecycle Recipes: Weekly Trending Multi Series Chart - Joiners & Leavers 14Number of Views Change Requests Do not Include Indirect Entitlements When Users Are Removed From Roles via Rules, Reviews, or User Access … 44Number of Views New feature for RSA Identity Governance & Lifecycle 7.1: Workflow System Status 308Number of Views What Audit traces need to be started for IBM DB2? 10Number of Views Understanding RSA Authentication Manager logging fields when they are forwarded to syslog 603Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third … RSA Authentication Manager 8.9 Release Notes (January 2026)