Autonomous Identity 2022.11.11

Applications

The following are Autonomous Identity applications view endpoints:

GET /api/applications

GET /api/applications

Get a list of applications and stats for an Application Owner. [App Owner, Admin]

Endpoint

/api/applications

Authorization

<Bearer Token JWT-value>

Params

ownerId (optional)  derick.hui
cursor (optional)   string (Indicator on where to start a 2+ page list)

Example Request

curl --request GET "https://autoid-api.forgerock.com/api/applications?ownerId=derick.hui" \
--header "Content-Type: application/json"

Example Response

{
  "cursor": "string",
  "total_applications": 0,
  "total_entitlements": 0,
  "total_assignments": 0,
  "applications": [
    {
      "app_id": "string",
      "app_name": "string",
      "high": 0,
      "medium": 0,
      "low": 0,
      "avg": 0
    }
  ]
}

POST /api/applications/{appId}

POST /api/applications/{appId}

Get a list of entitlements and stats for a selected application. [App Owner, Admin]

Endpoint

/api/applications/{appId}

Authorization

<Bearer Token JWT-value>

Params

appId  (required)   app_1
cursor (optional)   string (Indicator on where to start a 2+ page list)

Body

{
  "filters": [
    {
      "type": "user",
      "attribute": "city",
      "value": ["Seattle", "Denver"]
    },
    {
      "type": "user",
      "attribute": "line_of_business",
      "value": ["Distribution Operations"]
    }
  ]
}

Example Request

curl --request POST "https://autoid-api.forgerock.com/api/applications/app_1" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data-raw '{
  "filters": [
    {
      "type": "user",
      "attribute": "city",
      "value": ["Seattle", "Denver"]
    },
    {
      "type": "user",
      "attribute": "line_of_business",
      "value": ["Distribution Operations"]
    }
  ]
}'

Example Response

{
  "cursor": "string",
  "total_entitlements": 0,
  "total_users": 0,
  "total_rules": 0,
  "entitlements": [
    {
      "ent": "string",
      "ent_name": "string",
      "high": 0,
      "medium": 0,
      "low": 0,
      "avg": 0
    }
  ]
}

POST /api/applications/{appId}/assignments

POST /api/applications/{appId}/assignments

Get filterable user-entitlement assignment and decision data for a specific application. [App Owner, Admin]

Endpoint

api/applications/{appId}/assignments

Authorization

<Bearer Token JWT-value>

Params

appId  (required)   app_1
user                string
cursor (optional)   string (Indicator on where to start a 2+ page list)
sortBy              string
sortDir             string

Body

{
  "filters": [
    {
      "type": "user",
      "attribute": "city",
      "value": [
        "Seattle",
        "Denver"
      ]
    },
    {
      "type": "user",
      "attribute": "line_of_business",
      "value": [
        "Distribution Operations"
      ]
    }
  ]
}

Example Request

curl --request POST "https://autoid-api.forgerock.com/api/applications/app_1/assignments" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data-raw '{
   "filters": [
       {
         "type": "user",
         "attribute": "city",
         "value": [
           "Seattle",
           "Denver"
         ]
       },
       {
         "type": "user",
         "attribute": "line_of_business",
         "value": [
           "Distribution Operations"
         ]
       }
     ]
}'

Example Response

{
  "cursor": "string",
  "total_users": 0,
  "total_entitlements": 0,
  "total_assignments": 0,
  "assignments": [
    {
      "ent": "string",
      "ent_name": "string",
      "confidence": 0,
      "user_id": "string",
      "user_name": "string",
      "isCertified": true,
      "dateCertified": "2021-04-14T19:10:39.178Z",
      "isRevoked": true,
      "dateRevoked": "2021-04-14T19:10:39.178Z",
      "isRequested": true,
      "dateRequested": "2021-04-14T19:10:39.178Z",
      "isProcessed": true,
      "approvalAuthor": {
        "id": "string",
        "name": "string"
      }
    }
  ]
}

GET /api/applications/search

GET /api/applications/search

Search all applications. [App Owner, Admin]

Endpoint

/api/applications/search

Authorization

<Bearer Token JWT-value>

Params

by	     appOwner or enttOwner
user     user ID
q        Search query string

Example Request

curl --request GET "https://autoid-api.forgerock.com/api/applications/search" \
--header "Content-Type: application/json"

Example Response

{
  "values": [
    {
      "app_id": "string",
      "app_name": "string"
    }
  ]
}