We use SailPoint ISC, and have configured a Before Provisioning Rule on our Active Directory source.
Now, we want to change this BP Rule, and probably disable it (not removing it as we may need it later).
The problem is that we can’t find an API endpoint that allows us to view/edit the rule. We’ve also check the SailPoint ISC VSCode extension, we were sure that there was a “BP Rules” section, but it seems to be gone now.
Any idea on how to do?
Thanks for helping.
hi @khalilgahbiche use below api , you can change the operation
PATCH /beta/sources/{id}
Content-Type: application/json-patch+json
[
{
“op”:“add”,
“path”:“/beforeProvisioningRule”,
“value”:{
“type”:“RULE”,
“id”:“{ruleID}”,
“name”:“{Rule Name}”
}
}
]
Hi @khalilgahbiche,
Can you export rule object using SP-Config and check whether this BP rule exists in source.
Then you may disable it by just removing it from source using ISC VS code
-Vasant
Hi @khalilgahbiche ,
Have a look at the below post, to get rules. I think its easy to get rules via API.
- Use the export-sp-config | SailPoint Developer Community endpoint to initiate the configuration export.
{
"description": "Export all available rules",
"excludeTypes": [],
"includeTypes": [
"RULE"
],
"objectOptions": {
"RULE": {
"includedIds": ["provide the rule id", "only the rule which matches the provided rule id will be exported"],
"includedNames": ["provide the rule name", "only the rule which matches the provided rule name will be exported"]
}
}
}
includedIds or includedNames any one of this an be given to get a specific rule.
- Use this get-sp-config-export-status | SailPoint Developer Community endpoint to check the status of export job.
You will need to provide thejobIdfrom the last step in the URL of this endpoint. API response should return status ascompleted. - use this https://developer.sailpoint.com/idn/api/beta/get-sp-config-export endpoint to download the results.
You will need to provide thejobIdfrom the last step in the URL of this endpoint.
Thanks!!
Thank you for your reply. The thing is the BP rules don’t show up anymore in the VS code extension.
@vasanthrajsp29 , my bad, you’re right
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
