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 thejobId
from 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 thejobId
from the last step in the URL of this endpoint.
Thanks!!