Autonomous Identity 2021.8.1

Rules

The following are Autonomous Identity rules endpoints (Updated APIs in this release are marked with :

GET /api/rules/info

GET /api/rules/info

List information and statistics regarding available rules. [Ent Owner, App Owner, Admin]

Endpoint

/api/rules/info

Authorization

<Bearer Token JWT-value>

Params

by       enttowner, appOwner
user     patrick.murphy

Example Request

curl --request GET "https://autoid-api.forgerock.com/api/rules/info?by=appOwner&user=patrick.murphy" \
--header "Content-Type: application/json"

Example Response

{
  "countRules": 0,
  "countAssignments": 0,
  "countApplications": 0,
  "applications": [
    {
      "app_id": "string",
      "app_name": "string",
      "countAssignments": 0,
      "low": 0,
      "medium": 0,
      "high": 0
    }
  ]
}

GET /api/rules

GET /api/rules

List the available rules for a user [Ent Owner, App Owner, Admin]. You can filter by time period by using greater than and/or less than date-times.

Endpoint

/api/rules/

Authorization

<Bearer Token JWT-value>
Query Parameters
Parameter Type Description

by

string

User type to apply when searching rules: enttOwner, appOwner

user

string

User ID when applying by filters.

cursor

string

Position to start a 2+ page list.

pageSize

string

Number of records per page to retrieve.

filter

object

Additional filters to apply (see properties below).

Example Request

curl --request GET "lowConfidence=true&filter[medConfidence]=true&filter[highConfidence]=true&filter[autoCertify]=true&filter[autoRequest]=true&filter[entitlement]=string" \
--header "Content-Type: application/json"

Example Response

{
  "cursor": "string",
  "totalRulesCount": 0,
  "rules": [
    {
      "entitlement": {
        "owner": "string",
        "ent": "string",
        "ent_name": "string"
      },
      "app": {
        "app_id": "string",
        "app_name": "string",
        "ent": "string"
      },
      "justification": [
        {
          "id": "string",
          "title": "string",
          "value": "string"
        }
      ],
      "assignees": [
        {
          "id": "string",
          "name": "string",
          "properties": [
            {
              "id": "string",
              "title": "string",
              "value": "string"
            }
          ],
          "last_usage": "2021-04-14T19:40:27.740Z"
        }
      ],
      "confidence": 0,
      "countUnassigned": 0,
      "countAssigned": 0,
      "isAutoCertify": true,
      "autoCertifyDate": "2021-04-14T19:40:27.740Z",
      "isAutoRequest": true,
      "autoRequestDate": "2021-04-14T19:40:27.740Z",
      "approvalAuthor": {
        "id": "string",
        "name": "string"
      },
      "requestApprovalReason": "string",
      "certifyApprovalReason": "string"
    }
  ]
}
Copyright © 2010-2022 ForgeRock, all rights reserved.