SailPoint ISC API query filter to fetch access profiles for a specific source

:bangbang: Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.

I am writing a Python scrip to export all access profiles for a specific source including various attributes of the AP and associated entitlements. There are 21M+ access profiles in the environment and I don’t want to scrape through every single profile and create my needed dataset because that’ll take forever.

So I am trying to use this query filter but doesn’t appear to be working. I am still getting all APs and not just for the source I am looking for. What’s wrong with it? Suggestions? Thank you in advance!!

{
  "indices": ["accessprofiles"],
  "query": {
    "query": "*",
    "filters": [
      {
        "field": "source.name",
        "values": ["MY_SOURCE_NAME"]
      }
    ]
  },
  "limit": 100
}

I think this is what you are looking for:

The API spec shows how to filter

Matt

Lovely. This worked. Thank you for prompt response!!

1 Like

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