SecurID® Governance & Lifecycle Recipes

SecurID Governance & Lifecycle recipes is a collection of items, to help you get the most out of your product deployment. For example, a useful report with the SQL to implement or a way to achieve some advanced rule processing.

RSA IGL Recipes: Chart - AD Days Since Last Logon

RSA IGL Version: V 7.2.x

Modules: Governance

Product Area: Charts, Single Series (Applied to Active Directory Summary Dashboard)

Associated Dashboard & Report:

Time to apply: ~20 minutes


This chart provides key information about AD last logon's. 

The goal of this chart is to understand any risk associated to AD accounts, which have not been used for a long time. 

The chart can be used by Admin/AD Teams to be get better visibility into the risk of accounts that have not logged on. 

This chart requires the key word: "addashboard" to be added within the description of the AD Account Collector. 
This key word can be added to more than one Account Collector if required.


Other useful links


Example Image (Click to enlarge)



Key Notes

  • This chart/report/dashboard is supplied "as is" - any modification of this item is done at your own risk. 
  • This chart assumes that you are collecting the "lastLogonTimestamp" in the AD Account Collector
  • If you have issues applying this chart/report/dashboard, please comment below for help, DO NOT contact the RSA Support team.
  • If you would like more assistance with this chart/report/dashboard or for help in creating other chart/report/dashboards, then RSA Professional Services (RSA PS) is available to help.
    • Please contact your RSA Account Manager or local RSA Sales Rep or reply below for further assistance.



This chart looks at the last logon timestamp for all AD accounts and then groups this information together, based on the following:

  • Never (eg. no login timestamp has been recorded within AD)
  • 0-29 days
  • 30 - 89 Days
  • 90-364 days
  • 365+ days

The value are shown as a percentage, however if you move over the Pie chart, it will also show the exact value.


Chart SQL

First test this in your query tool (SQLDeveloper, Toad etc..)


When DaysSinceLogin < 30 then ' 0-30 Days'
When DaysSinceLogin >= 30 and DaysSinceLogin < 90 then ' 30-90 Days'
When DaysSinceLogin >= 90 and DaysSinceLogin <= 365 then ' 90-365 Days'
When DaysSinceLogin >= 365 then '365 > Days'
else 'Never'
end as DayGrouping
from (
select distinct
TRUNC(SYSDATE) - trunc(pA.LAST_LOGIN_DATE) as DaysSinceLogin
from avuser.PV_ACCOUNT pA, avuser.V_DATA_COLLECTORS vDC
where pA.IS_DISABLED = 0
and pA.ADC_ID = vDC.ID
and LOWER(vDC.DESCRIPTION) LIKE '%addashboard%')
group by DayGrouping)‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍


Example of the results:



Chart Implementation

  1. Log into RSA IGL as a user who can create charts. In my example, im using AveksaAdmin
  2. Go to "Reports" / "Charts"
  3. Select "+ Create Chart" button
  4. Under the "General Tab" add the following details:
    • Name: AD Days Since Last Logon
    • Description:

      From RSA IGL Link Community. This chart displays a summary of the account "days since last logon" for all accounts within Active Directory.

      Note: This chart requires the key word: "addashboard" to be added within the description of the Account Collector.

    • Type = Single Series Chart

  5. Under the "Query" Tab, copy the SQL from above.
  6. "Press the "Preview" button, you should see some results, as per the example image below.
    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. DO NOT contact RSA Support 
  7. Under the "Columns" Tab, please use the configuration shown in the image below

  8. Under the "Display Attributes" tab, you should select "PIE 2D". Please also apply these settings, however you can update the wording with what is best for you.
    • Under "Title and Axis Names"
      • Caption: AD - Days Since Last Logon
      • Sub Caption: NOTE: Run Tabular Report 'AD Days Since Last Logon' for full list of accounts with a last logon date greater than 30 days.

    • Under "Functional attributes"
      • Palette: 1
      • Select "Show percent values" = Ticked
      • Select "Animation" = Ticked

        There are MANY other "display attributes" you can play with on this screen, so please update and make changes as you see fit. 

  9. Save the new chart


Next Steps

  • Please "hit reply" and share your feedback - we would love to see an image of this working in your environment!
  • Check out the other content found on the RSA IGL Recipes page: RSA Identity Governance &amp; Lifecycle Recipes 

    Thank you! 


Dont forget:

Please login, then "Like"  and "Actions/Follow" this page (Top Right), so as to receive updates and be notified if we modify/change items found here, in future.


Labels (1)
No ratings
Version history
Last update:
‎2020-12-07 10:13 AM
Updated by:
Article Dashboard