Which IIQ version are you inquiring about?
Version 8.3
Share all details related to your problem, including any error messages you may have received.
Hi All,
We need help with automation script to generate a report with test connection result for all applications onboarded into Sailpoint IIQ.
We are looking for to reduce manual effort to go into sailpoint and redirect to Application β open application β do test connection.
You can create a custom report
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE TaskDefinition PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<TaskDefinition executor="sailpoint.reporting.LiveReportExecutor" name="VISHAL Target Applications Connection Check" progressMode="Percentage" resultAction="Rename" subType="Configured Resource Reports" template="true" type="LiveReport">
<Attributes>
<Map>
<entry key="TaskDefinition.runLengthAverage"/>
<entry key="TaskDefinition.runLengthTotal"/>
<entry key="TaskDefinition.runs"/>
<entry key="report">
<value>
<LiveReport title="Applications Detail Report">
<DataSource objectType="Application" type="Filter">
<QueryParameters>
<Parameter argument="applications" property="id"/>
<Parameter argument="owners" property="owner.id"/>
</QueryParameters>
</DataSource>
<ReportForm>
<Reference class="sailpoint.object.Form" name="Applications Detail Report Form"/>
</ReportForm>
<Columns>
<ReportColumnConfig field="application" header="rept_app_grid_col_app" property="name" sortable="true" width="110"/>
<ReportColumnConfig field="connectionStatus" header="Target System Connection Status" property="id" sortable="true" width="110">
<RenderScript>
<Source>
import sailpoint.connector.Connector;
import sailpoint.connector.ConnectorFactory;
import sailpoint.connector.*;
import sailpoint.object.Application;
import sailpoint.object.TaskItemDefinition;
import sailpoint.object.TaskItemDefinition.ProgressMode;
import sailpoint.tools.GeneralException;
import sailpoint.tools.Message;
import sailpoint.tools.Util;
import sailpoint.api.SailPointContext;
import sailpoint.object.*;
import java.lang.reflect.Constructor;
import java.util.*;
try {
Application app = (Application) context.getObjectById(Application.class, value);
if (app != null) {
try {
Connector connector = ConnectorFactory.getConnector(app, null);
connector.testConfiguration();
return "Test Connection Successful.";
} catch (Exception e) {
return e.getMessage();
log.error(e);
}
}
} catch (Exception e) {
log.error(e);
throw(e);
}
</Source>
</RenderScript>
</ReportColumnConfig>
</Columns>
</LiveReport>
</value>
</entry>
</Map>
</Attributes>
<Description>Displays configured applications Test Connection</Description>
<RequiredRights>
<Reference class="sailpoint.object.SPRight" name="FullAccessApplicationReport"/>
</RequiredRights>
<Signature>
<Inputs>
<Argument multi="true" name="applications" type="Application">
<Description>rept_input_app_report_apps</Description>
</Argument>
<Argument filterString="capabilitiesString != "null"" multi="true" name="owners" type="Identity">
<Description>rept_input_app_report_owners</Description>
</Argument>
</Inputs>
</Signature>
</TaskDefinition>
check
https://community.sailpoint.com/t5/IdentityIQ-Forum/Test-connection/m-p/235962
1 Like
Also you can create a custom task using report as a sample code.
1 Like
kjakubiak
(Kamil Jakubiak)
May 9, 2024, 4:04am
4
Thereβs a community plygin called Application Health Plugin which does exactly what you need.
See here:
https://community.sailpoint.com/t5/Plugin-Framework/Application-Health-Plugin/ta-p/76239
1 Like
system
(system)
Closed
July 8, 2024, 4:05am
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.