Can we find the sources list those have been mapped to the cloud rule id

Hi All,

I have multiple cloud rules and i need to find the source details to which these rules have been mapped.

Do we have an API or any other way to pull details.

Sorry, I wasn’t able to find any dedicated API that takes a rule ID & returns the sources using it.

Interested to know if anyone has come across the correct API for this.

@nandiniks1 If you have VS Code then look it to each source and find the rule name which you have created. It is the only way you can do that. I think there is no API for this.

Hi @nandiniks1 ,

Please check with Sailpoint expert services.

Kind regards,

Aayush

Hi @nandiniks1

I think you can just read all the sources using api endpoint and then look for the key beforeProvisioningRule.
You should be able to find this information there.

use : https://tenant.api.identitynow.com/v2025/sources

and iterate over all sources or query the response to find if the rule is attached :

if its a before provisioning rule :

query for “$.[*].beforeProvisioningRule.id” :

“beforeProvisioningRule”: {

        "type": "RULE",

        "id": "1234567",

        "name": "myBeforeProvRule"

}