Rule Development Kit Overview and Setup
The SailPoint Rule Development Kit is a development tool that enables developers to write, test, and validate cloud rules locally before uploading them to production tenants. The kit requires Java and Apache Maven, and is available as an open-source project on GitHub. The presenter demonstrates the complete setup process, including cloning the repository, configuring IntelliJ for development, and using the SailPoint CLI to download existing cloud rules from tenants. A key feature highlighted is the ability to inject language references in XML files to enable IntelliSense code completion, significantly improving the development experience when writing BeanShell rules.
Building a Date Processing Rule
The tutorial walks through creating a generic rule that processes date arrays with two primary functions: identifying the farthest future date and finding the nearest date to today. The rule accepts comma-separated date values, input format specifications, and output format requirements. The presenter demonstrates test-driven development by creating JUnit tests that mock data using the BeanShell interpreter, setting variables, and validating rule logic before deployment. The implementation includes proper error handling, null checking, and uses Java's SimpleDateFormat for date parsing and comparison operations.
Testing and Integration with Identity Security Cloud
The session concludes with end-to-end testing of the developed rule within Identity Security Cloud. The presenter demonstrates how to create a transform that calls the custom rule, passing in account attributes from a delimited file source as parameters. Using a Python-based transform testing tool, the rule is validated against real identity data, confirming that it correctly identifies and returns the farthest date from a set of three dates in the specified output format. The presenter emphasizes that custom cloud rules must be submitted to SailPoint professional services for deployment to production tenants.