//Build// Code on Weekend // Reach out if any one want to share cool FIM/MIM, IAM related Project. Mail : Any.Singha@gmail.com
Wednesday, 13 May 2020
Sunday, 29 March 2020
Null Object in Sailpoint IIQ
Time for me to go sleep, after working for almost 8 longs hours in Rules :) Stay Healthy and Safe.Covid - 19
Some time in Sailpoint IIQ we have to handle the Null object. It take sometime for me, how to handle the Null and it was always throwing the error message while running the Identity refresh.
Below is the example how to manage the Null object in Rule
import sailpoint.object.Identity;
String a = identity.getAttribute("Department");
if(a == null)
{
return "Null";
}
else if( a == "onepass") {
return "onepass";
}
else
{
return "Not one pass";
}
Java if..else..if statement.
Some time in Sailpoint IIQ we have to handle the Null object. It take sometime for me, how to handle the Null and it was always throwing the error message while running the Identity refresh.
Below is the example how to manage the Null object in Rule
import sailpoint.object.Identity;
String a = identity.getAttribute("Department");
if(a == null)
{
return "Null";
}
else if( a == "onepass") {
return "onepass";
}
else
{
return "Not one pass";
}
Java if..else..if statement.
if (expression1) { // codes } else if(expression2) { // codes } else if (expression3) { // codes } . . else { // codes }
Thursday, 19 March 2020
Monday, 16 March 2020
How to add Owner to FIM Group (Powershell)
How to add display Owner to FIM Group (Powershell) , when the requirement is to add multiple owner from a txt file, the below is sample script which can be tweak.
<#-----------------------------------------------
Author : Anirban
----------------------------------------------- #>
If(@(Get-PSSnapin | Where-Object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {Add-PSSnapin FIMAutomation}
$groupObject = Export-FIMConfig -customConfig "/Group[DisplayName = 'DisplayNameoftheGroup']" -Uri "http://localhost:5725" -OnlyBaseResources
$userObject = Export-FIMConfig -Uri http://localhost:5725 -onlyBaseResources -customConfig "/Person[DisplayName = 'DisplayNameoftheOwner']"
$importChange = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportChange
$importChange.Operation = 0
$importChange.AttributeName = "Owner"
$importChange.AttributeValue = $userObject.ResourceManagementObject.ObjectIdentifier
$importChange.FullyResolved = 0
$importChange.Locale = "Invariant"
$importObject = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportObject
$importObject.ObjectType = "Group"
$importObject.TargetObjectIdentifier = $groupObject.ResourceManagementObject.ObjectIdentifier
$importObject.SourceObjectIdentifier = $groupObject.ResourceManagementObject.ObjectIdentifier
$importObject.State = 1
$ImportObject.Changes = (,$ImportChange)
$importObject | Import-FIMConfig -Uri http://localhost:5725
<#-----------------------------------------------
Author : Anirban
----------------------------------------------- #>
If(@(Get-PSSnapin | Where-Object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {Add-PSSnapin FIMAutomation}
$groupObject = Export-FIMConfig -customConfig "/Group[DisplayName = 'DisplayNameoftheGroup']" -Uri "http://localhost:5725" -OnlyBaseResources
$userObject = Export-FIMConfig -Uri http://localhost:5725 -onlyBaseResources -customConfig "/Person[DisplayName = 'DisplayNameoftheOwner']"
$importChange = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportChange
$importChange.Operation = 0
$importChange.AttributeName = "Owner"
$importChange.AttributeValue = $userObject.ResourceManagementObject.ObjectIdentifier
$importChange.FullyResolved = 0
$importChange.Locale = "Invariant"
$importObject = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportObject
$importObject.ObjectType = "Group"
$importObject.TargetObjectIdentifier = $groupObject.ResourceManagementObject.ObjectIdentifier
$importObject.SourceObjectIdentifier = $groupObject.ResourceManagementObject.ObjectIdentifier
$importObject.State = 1
$ImportObject.Changes = (,$ImportChange)
$importObject | Import-FIMConfig -Uri http://localhost:5725
Friday, 18 October 2019
Query by Context !!
In Sailpoint we can test our query rule in Sailpoint IIQ console.
Use the below template and create a new rule in Sailpoint IIQ in debug option.
The name of the rule is query and the other parameter created, id, modified will take by default after we create the rule.
In Sailpoint IIQ Console run the rule , rule "Query"
The below is querying all the last name of the identity in identity warehouse.
Thanks,
Anirban
Use the below template and create a new rule in Sailpoint IIQ in debug option.
The name of the rule is query and the other parameter created, id, modified will take by default after we create the rule.
In Sailpoint IIQ Console run the rule , rule "Query"
The below is querying all the last name of the identity in identity warehouse.
Thanks,
Anirban
Tuesday, 1 January 2019
Sailpoint Application Rule
Application Rule : The data in the source is not always in proper format and there is always a need how to have the data in the format in which the business want. In Identity IQ we can manipulate the data while doing the aggregation from the source with the help of Application Rule.
In Source Mapping, Add Source, Select the Application Rule, From the Application drop down select the Application and create the Rule.
To give an example, the ABC company want the Xlocation attribute in IQ to have the format firstname,lastname append with Microsoft.
Global Settings --> Identity Mapping , Select the attribute
In Source Mapping, Add Source, Select the Application Rule, From the Application drop down select the Application and create the Rule.
1. Give the Name of the Rule
2.The bean code which append "Microsoft" to firstname,lastname
Run the Aggregation task and do a IdentityCube Refresh and verify the Xlocation attribute in Identity Warehouse.
Sunday, 26 August 2018
SailPoint : Branding
I was going through a demo and architect of SailPoint IQ having login page with company logo.
It is not difficult to customized the UI in Sailpoint if you have the access to compass.
I was wondering how to do it without having a compass account.
Here is how you can do it
Place your image in folder apache-tomcat-8.5.24\webapps\identityiq\ui\images
I have placed my own photo :)
I have placed my own photo :)
Subscribe to:
Posts (Atom)
-
Note : This series is for the Beginner and trouble shooting the Error With Sync Engine, Based on Test Lab, Highly advice do not do Full Syn...
-
This article can be refer as reference only, how can you build your first Management Agent connect to Service Now. The samples code show...
-
Rules are the construct through which IdentityIQ allows the addition of custom business logic at specific points within the execution fl...