IdentitiesList Identities

List Identities

List Identities

curl -X GET "https://api.prd.rad.security/accounts/example_string/identities?from=example_string&from_last_used_at=example_string&page=25&page_size=25&q=example_string&resources=example_string&risks=example_string&usages=example_string&risk_levels=example_string&identity_types=example_string&identity_sources=example_string&actions=example_string&sort=example_string&statuses=example_string&to=example_string&to_last_detected_at=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
{
  "entries": [
    {
      "account_id": "example_string",
      "actions": [
        "example_string"
      ],
      "created_at": "example_string",
      "deleted_at": "example_string",
      "id": "example_string",
      "last_used_at": "example_string",
      "linked_resources": 42,
      "name": "John Doe",
      "namespace": "John Doe",
      "original_id": "example_string",
      "raw_rbac_objects": {
        "cluster_role_bindings": [
          {
            "annotations": {},
            "apiVersion": "example_string",
            "creationTimestamp": "example_string",
            "deletionGracePeriodSeconds": 42,
            "deletionTimestamp": "example_string",
            "finalizers": [
              "example_string"
            ],
            "generateName": "John Doe",
            "generation": 42,
            "kind": "example_string",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "example_string",
                "fieldsType": "example_string",
                "fieldsV1": {},
                "manager": "example_string",
                "operation": "example_string",
                "subresource": "example_string",
                "time": "example_string"
              }
            ],
            "name": "John Doe",
            "namespace": "John Doe",
            "ownerReferences": [
              {
                "apiVersion": "example_string",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "example_string",
                "name": "John Doe",
                "uid": "example_string"
              }
            ],
            "resourceVersion": "example_string",
            "roleRef": {
              "apiGroup": "example_string",
              "kind": "example_string",
              "name": "John Doe"
            },
            "selfLink": "example_string",
            "subjects": [
              {
                "apiGroup": "example_string",
                "kind": "example_string",
                "name": "John Doe",
                "namespace": "John Doe"
              }
            ],
            "uid": "example_string"
          }
        ],
        "cluster_roles": [
          {
            "aggregationRule": {
              "clusterRoleSelectors": [
                {
                  "matchExpressions": [
                    {
                      "key": "example_string",
                      "operator": "example_string",
                      "values": [
                        "example_string"
                      ]
                    }
                  ],
                  "matchLabels": {}
                }
              ]
            },
            "annotations": {},
            "apiVersion": "example_string",
            "creationTimestamp": "example_string",
            "deletionGracePeriodSeconds": 42,
            "deletionTimestamp": "example_string",
            "finalizers": [
              "example_string"
            ],
            "generateName": "John Doe",
            "generation": 42,
            "kind": "example_string",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "example_string",
                "fieldsType": "example_string",
                "fieldsV1": {},
                "manager": "example_string",
                "operation": "example_string",
                "subresource": "example_string",
                "time": "example_string"
              }
            ],
            "name": "John Doe",
            "namespace": "John Doe",
            "ownerReferences": [
              {
                "apiVersion": "example_string",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "example_string",
                "name": "John Doe",
                "uid": "example_string"
              }
            ],
            "resourceVersion": "example_string",
            "rules": [
              {
                "apiGroups": [
                  "example_string"
                ],
                "nonResourceURLs": [
                  "example_string"
                ],
                "resourceNames": [
                  "John Doe"
                ],
                "resources": [
                  "example_string"
                ],
                "verbs": [
                  "example_string"
                ]
              }
            ],
            "selfLink": "example_string",
            "uid": "example_string"
          }
        ],
        "role_bindings": [
          {
            "annotations": {},
            "apiVersion": "example_string",
            "creationTimestamp": "example_string",
            "deletionGracePeriodSeconds": 42,
            "deletionTimestamp": "example_string",
            "finalizers": [
              "example_string"
            ],
            "generateName": "John Doe",
            "generation": 42,
            "kind": "example_string",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "example_string",
                "fieldsType": "example_string",
                "fieldsV1": {},
                "manager": "example_string",
                "operation": "example_string",
                "subresource": "example_string",
                "time": "example_string"
              }
            ],
            "name": "John Doe",
            "namespace": "John Doe",
            "ownerReferences": [
              {
                "apiVersion": "example_string",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "example_string",
                "name": "John Doe",
                "uid": "example_string"
              }
            ],
            "resourceVersion": "example_string",
            "roleRef": {
              "apiGroup": "example_string",
              "kind": "example_string",
              "name": "John Doe"
            },
            "selfLink": "example_string",
            "subjects": [
              {
                "apiGroup": "example_string",
                "kind": "example_string",
                "name": "John Doe",
                "namespace": "John Doe"
              }
            ],
            "uid": "example_string"
          }
        ],
        "roles": [
          {
            "annotations": {},
            "apiVersion": "example_string",
            "creationTimestamp": "example_string",
            "deletionGracePeriodSeconds": 42,
            "deletionTimestamp": "example_string",
            "finalizers": [
              "example_string"
            ],
            "generateName": "John Doe",
            "generation": 42,
            "kind": "example_string",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "example_string",
                "fieldsType": "example_string",
                "fieldsV1": {},
                "manager": "example_string",
                "operation": "example_string",
                "subresource": "example_string",
                "time": "example_string"
              }
            ],
            "name": "John Doe",
            "namespace": "John Doe",
            "ownerReferences": [
              {
                "apiVersion": "example_string",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "example_string",
                "name": "John Doe",
                "uid": "example_string"
              }
            ],
            "resourceVersion": "example_string",
            "rules": [
              {
                "apiGroups": [
                  "example_string"
                ],
                "nonResourceURLs": [
                  "example_string"
                ],
                "resourceNames": [
                  "John Doe"
                ],
                "resources": [
                  "example_string"
                ],
                "verbs": [
                  "example_string"
                ]
              }
            ],
            "selfLink": "example_string",
            "uid": "example_string"
          }
        ]
      },
      "rbac_objects": {
        "assigned_roles": [
          {
            "kind": "example_string",
            "name": "John Doe",
            "namespace": "John Doe",
            "uid": "example_string",
            "account_id": "example_string",
            "cluster_id": "example_string",
            "created_at": "example_string",
            "id": "example_string",
            "updated_at": "example_string"
          }
        ],
        "created_at": "example_string",
        "graph": {
          "edges": [
            {
              "from_id": "example_string",
              "id": "example_string",
              "to_id": "example_string",
              "type": "example_string"
            }
          ],
          "nodes": [
            {
              "id": "example_string",
              "properties": {},
              "type": "example_string"
            }
          ]
        },
        "permissions": [
          {
            "api_groups": [
              "example_string"
            ],
            "namespace": "John Doe",
            "resource_names": [
              "John Doe"
            ],
            "resources": [
              "example_string"
            ],
            "verbs": [
              "example_string"
            ]
          }
        ]
      },
      "resolved_at": "example_string",
      "resolved_reason": "example_string",
      "rightsizeable": true,
      "risk_detectors": {},
      "risk_level": "Unspecified",
      "risk_score": 3.14,
      "risk_types": [
        "example_string"
      ],
      "risks": [
        {
          "associated_resources": [
            {
              "id": "example_string",
              "name": "John Doe",
              "severity": "example_string"
            }
          ],
          "deleted_at": "example_string",
          "description": "example_string",
          "fingerprint": "example_string",
          "first_detected_at": "example_string",
          "id": "example_string",
          "identity_id": "example_string",
          "last_detected_at": "example_string",
          "name": "John Doe",
          "risk_counter": 10,
          "score": 3.14,
          "type": "example_string",
          "weight": 1.5
        }
      ],
      "risks_summary": {
        "risks": [
          {
            "count": 10,
            "normalized_weight": 1.5,
            "score": 3.14,
            "type": "example_string",
            "weight": 1.5
          }
        ],
        "total_risk_score": 3.14,
        "total_weight": 1.5
      },
      "source_id": "example_string",
      "source_name": "John Doe",
      "source_type": "example_string",
      "status": "open",
      "tenant_id": "example_string",
      "type": "example_string",
      "updated_at": "example_string"
    }
  ],
  "page": 25,
  "page_count": 25,
  "page_size": 25,
  "total_count": 10
}
GET
/accounts/{account_id}/identities
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Authorization)
Authorizationstring
Required

API key (sent in header)

query
fromstring

From created_at timestamp in RFC3339 or relative time format i.e. now-15m

query
from_last_used_atstring

From last_used_at timestamp in RFC3339 or relative time i.e. now-15m

query
pageinteger

Page number starting from 1

query
page_sizeinteger

Page size. Default: 20

query
qstring

Search query

query
resourcesstring

List of resource ids to filter by, comma separated

query
risksstring

List of risks to filter by, comma separated

query
usagesstring

List of usages to filter by, comma separated

query
risk_levelsstring

List of risk levels to filter by, comma separated

query
identity_typesstring

List of identity types to filter by, comma separated

query
identity_sourcesstring

List of identity sources to filter by, comma separated

query
actionsstring

List of actions to filter by, comma separated

query
sortstring

Sort by field. Default: risk_score:desc

query
statusesstring

List of statuses to filter by, comma separated

query
tostring

To created_at timestamp in RFC3339 or relative time format i.e. now-15m

query
to_last_detected_atstring

To last_used_at timestamp in RFC3339 or relative time format i.e. now-15m

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Query Parameters

fromstring

From created_at timestamp in RFC3339 or relative time format i.e. now-15m

from_last_used_atstring

From last_used_at timestamp in RFC3339 or relative time i.e. now-15m

pageinteger

Page number starting from 1

page_sizeinteger

Page size. Default: 20

qstring

Search query

resourcesstring

List of resource ids to filter by, comma separated

risksstring

List of risks to filter by, comma separated

usagesstring

List of usages to filter by, comma separated

risk_levelsstring

List of risk levels to filter by, comma separated

identity_typesstring

List of identity types to filter by, comma separated

identity_sourcesstring

List of identity sources to filter by, comma separated

actionsstring

List of actions to filter by, comma separated

sortstring

Sort by field. Default: risk_score:desc

statusesstring

List of statuses to filter by, comma separated

tostring

To created_at timestamp in RFC3339 or relative time format i.e. now-15m

to_last_detected_atstring

To last_used_at timestamp in RFC3339 or relative time format i.e. now-15m

Responses

entriesarray
pageinteger
page_countinteger
page_sizeinteger
total_countinteger