So I did a post couple of days ago that now we are allowed to upload some rule types via API Here is a quick guide on how to do so. In this example, I will take a very basic BuildMap rule.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd"> <Rule name="Example Rule" type="BuildMap"> <Description>This basic rule performs the combines 2 values into a single attribute.</Description> <Source><![CDATA[ import sailpoint.connector.DelimitedFileConnector; Map map = DelimitedFileConnector.defaultBuildMap( cols, record ); String access = (String) map.get( "access" ); String permission = (String) map.get( "permission" ); if ( access != null && permission != null ) { map.remove("access"); map.remove("permission"); map.put("access", access + " - " + permission); } return map; ]]></Source> </Rule> |
Previously we would submit the rule like above to ES team to …
How to upload Connector Rules into IDN via API Read More »
Like this:
Like Loading...