This section describes the pre-configuration steps for required for enabling SSO reports tasks.
Set the Registry for the Policy Server
HKLM\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Reports\LogCloudMinder.
The default location of this file is Siteminder_home\registry.
HKLM\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Reports\LogCloudMinder
You can use the XPSConfig utility to set this registry.
Set Logging to a Database or text file
The same setting which exists in smconsole for the access log is needed for CA CloudMinder access data. In the smconsole data tab, select either the database or a text file.
If the audit logging is to a text file, the CA CloudMinder access data is redirected to smaccess.log.
Enable Logging
Select items to log and choose Log All Events.
Push Data offline from smaccess.log to a Database
Using smauditimport data, you can push data from smaccess.log to a configured Database. Run this command to push the data:
Smauditimport <full path of the file need to import> <Data source name> <Database user name> <Database password>
Add the SSO Reporting Tasks for PostgreSQL
/opt/jboss-eap-5.1.2/jboss-as/server/all/deploy/iam_im.ear/user_console.war/reports
im-postgresql-audit_start_date.sql
im-postgresql-audit_end_date.sql
<?xml version="1.0"?> <biconfig version="1.0"> <!-- Import BIAR file --> <step priority="1"> <add> <biar-file name="cam-sso-postgresql-reports.biar"/> </add> </step> </biconfig>
./biconfig.sh -h "hostname" -u "administrator_name" -p "administrator_password" -f "cam-sso-postgres-reports.xml"
Add the SSO Reporting Tasks for Oracle
create or replace FUNCTION IM_Audit_Start_Date (rangeVal int, multiplier int, startdatetime DATE) RETURN DATE is tempid1 DATE; BEGIN if rangeVal = -1 then tempid1 := startdatetime; else case rangeVal when 1 then tempid1 := sysdate - multiplier; --Last N days when 2 then tempid1 := trunc(sysdate, 'DAY') - (7 * multiplier); --weekly when 3 then tempid1 := add_months(trunc(sysdate, 'month'), -multiplier); -- first day of the month when 4 then tempid1 := add_months(trunc(sysdate, 'month'), -(3 * multiplier)); -- quarter of the month when 5 then tempid1 := add_months(trunc(sysdate,'y'), -(12 * multiplier)); --Yearly else tempid1 := sysdate; end case; end if; return tempid1; END; create or replace FUNCTION IM_Audit_End_Date (rangeVal int, enddatetime DATE) RETURN DATE is tempid1 DATE; BEGIN if rangeVal = -1 then tempid1 := enddatetime; else case rangeVal when 1 then tempid1 := sysdate; --Last N days when 2 then tempid1 := trunc(sysdate, 'day') -1 + (1439/1440); --weekly when 3 then tempid1 := trunc(sysdate, 'month') - 1 + (1439/1440); -- last day of the month when 4 then tempid1 := trunc(sysdate, 'month') - 1 + (1439/1440); -- quarter of the month when 5 then tempid1 := trunc(sysdate,'y')-1 + (1439/1440); --Yearly else tempid1 := sysdate; end case; end if; return tempid1; END;
Note: The previous commands are also found in the datefunctions.sql script. If you have access to this script, simply run the datefunctions.sql script file.
<?xml version="1.0"?> <biconfig version="1.0"> <!-- Import BIAR file --> <step priority="1"> <add> <biar-file name="cam-sso-oracle-reports.biar"/> </add> </step> </biconfig>
./biconfig.sh -h "hostname" -u "administrator_name" -p "administrator_password" -f "cam-sso-oracle-reports.xml"
Add JDBC Connections for Siteminder database
As you select each task, the task appears in the table of tasks that are assigned to the CSP Administrator role.
Enable the Single Sign On Manager Role
The system enables the Single Sign On Manager role.
Configure Reporting
The pre-configuration steps for SSO reports are complete. You now perform the steps in the Reporting Chapter of the Identity Management Administration Guide. The following procedure summarizes that chapter.
After you complete both pre-configuration and configuration steps for reporting, the tenant administrator can request SSO reports in the User Console.
|
Copyright © 2014 CA.
All rights reserved.
|
|