Know the tenant or environment in transforms

Is it possible to read tenant information in Transforms without hardcoding?

We have three environments: Development, Staging, and Production. In one of our transformations, we need to determine which environment we’re in without hardcoding the information.

I need to know if we can retrieve URL or tenant details in a rule and use the rule transform to read tenant information. (Rule | SailPoint Developer Community)

Could you suggest any alternative approaches, if there are any?

Thanks in Advance!

I’ve always just created one hard-coded Static transform that returns the environment, then referenced that using a “reference” transform.

Doesn’t get you 100% of the way there, but if you can get by with this one transform being out of synch, then you don’t need a rule.

Hi! Besides Kevin recommendation, sometimes I reference environment on source names, for example AD HML, AD PROD… etc. Then I try always to make rules generic. When needed, I can check substring after "AD " (for example for treating some domain), and when something applies to every environment, just ask if the name of the source contains(“AD”).

If you tell more detail about the problem to solve perhaps more ideas can be used.

@KevinHarrington

Thank you for the input! We are also following the same approach of having one centralized transform. We can break our production if we mistakenly synchronize the transform. So, exploring other options on how can we dynamically know which environment we are in without using static transform.

@jsosa Thank you! I will investigate if we have any opportunities to calculate the environment based on source names generically.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.