Api for configure and enable/disable source aggregation schedules

I am developing an automation for creating sources automatically.
Using the available endpoints, I was able to create and configure them, but the configuration of account and entlitements aggregation was still pending.
I was unable to find any endpoint where I could enable and configure the aggregation schedule.
Can anyone help me with this?

@raibom you can use load accounts API for account aggregation.

For entitlement aggregation

2 Likes

Hi Bruno,

If you are looking to configure and save the actual aggregation schedule, I don’t believe this is possible through the ISC APIs at the moment. You can trigger account & entitlement aggregations like Shekhar mentioned above.

It appears ISC uses internal APIs when you set the aggregation schedule through the UI. I get a 401 Unauthorized error when attempting to hit the same endpoint in Postman.

Thanks,

Liam

1 Like

@shekhardas1825
What I need is to configure the schedule part:

I can already start accounts and entitlements aggregations.

1 Like

I do not think that is possible.

You can try looking partial source update API. If you see that flag in the source JSON try updating it.

Hi

You can check below workflow to start aggregation automatically by using API’s in the workflows

Best Regards,
Siva.K

hi @raibom,

You can use the below endpoint and the payload to schedule account aggregation

POST: {{baseUrl}}
/diana/sources/sources/<longsourceid>/accountAggregationSchedules
Payload: {"enable":true,"cronExp":"0 0 7 * * ?"}

This schedule runs everyday at 1 AM CST

Thanks,
Uday

@udayputta
Have you performed any tests on this endpoint?
Here I got the 401 error, with the body:

{
    "error": "Unable to route request"
}

Yes used it long time back as there was a use case to set up schedule for 800+ apps. Did not try recently. Will check it once.

@angelo_mekenkamp Are there any plans to include these APIs in the Beta version?
This is the only action that I cannot automate when creating the source code.

Hi @raibom,

This sounds like a question for an actual SailPoint employee :wink:

@colin_mckibben, could you please take a look at this question?

There is not an API today that will allow you to get/set the aggregation schedules, but engineering just started working on public endpoints last week. This is a work in progress and may be released in Q4, but no firm timeline yet.

2 Likes

Colin, is it safe to assume that the responses will look similar to what the private endpoints look like now and it will be a cron string?

Or is that not something you can comment on yet? :smile:

There will be a CRON string, but the endpoint will be modernized since we may add more scheduled tasks to sources.

1 Like

cool thank you! looking forward to this being made public. I’d be happy to beta test this one for you :slight_smile:

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