Skip to main content
GET
/
accounts
/
{account_id}
/
identities
List Identities
curl --request GET \
  --url https://api.prd.rad.security/accounts/{account_id}/identities \
  --header 'Authorization: <api-key>'
{
  "entries": [
    {
      "account_id": "<string>",
      "actions": [
        "<string>"
      ],
      "created_at": "<string>",
      "deleted_at": "<string>",
      "id": "<string>",
      "last_used_at": "<string>",
      "linked_resources": 123,
      "name": "<string>",
      "namespace": "<string>",
      "original_id": "<string>",
      "raw_rbac_objects": {
        "cluster_role_bindings": [
          {
            "annotations": {},
            "apiVersion": "<string>",
            "creationTimestamp": "<string>",
            "deletionGracePeriodSeconds": 123,
            "deletionTimestamp": "<string>",
            "finalizers": [
              "<string>"
            ],
            "generateName": "<string>",
            "generation": 123,
            "kind": "<string>",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "<string>",
                "fieldsType": "<string>",
                "fieldsV1": {},
                "manager": "<string>",
                "operation": "<string>",
                "subresource": "<string>",
                "time": "<string>"
              }
            ],
            "name": "<string>",
            "namespace": "<string>",
            "ownerReferences": [
              {
                "apiVersion": "<string>",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "<string>",
                "name": "<string>",
                "uid": "<string>"
              }
            ],
            "resourceVersion": "<string>",
            "roleRef": {
              "apiGroup": "<string>",
              "kind": "<string>",
              "name": "<string>"
            },
            "selfLink": "<string>",
            "subjects": [
              {
                "apiGroup": "<string>",
                "kind": "<string>",
                "name": "<string>",
                "namespace": "<string>"
              }
            ],
            "uid": "<string>"
          }
        ],
        "cluster_roles": [
          {
            "aggregationRule": {
              "clusterRoleSelectors": [
                {
                  "matchExpressions": [
                    {
                      "key": "<any>",
                      "operator": "<any>",
                      "values": "<any>"
                    }
                  ],
                  "matchLabels": {}
                }
              ]
            },
            "annotations": {},
            "apiVersion": "<string>",
            "creationTimestamp": "<string>",
            "deletionGracePeriodSeconds": 123,
            "deletionTimestamp": "<string>",
            "finalizers": [
              "<string>"
            ],
            "generateName": "<string>",
            "generation": 123,
            "kind": "<string>",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "<string>",
                "fieldsType": "<string>",
                "fieldsV1": {},
                "manager": "<string>",
                "operation": "<string>",
                "subresource": "<string>",
                "time": "<string>"
              }
            ],
            "name": "<string>",
            "namespace": "<string>",
            "ownerReferences": [
              {
                "apiVersion": "<string>",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "<string>",
                "name": "<string>",
                "uid": "<string>"
              }
            ],
            "resourceVersion": "<string>",
            "rules": [
              {
                "apiGroups": [
                  "<string>"
                ],
                "nonResourceURLs": [
                  "<string>"
                ],
                "resourceNames": [
                  "<string>"
                ],
                "resources": [
                  "<string>"
                ],
                "verbs": [
                  "<string>"
                ]
              }
            ],
            "selfLink": "<string>",
            "uid": "<string>"
          }
        ],
        "role_bindings": [
          {
            "annotations": {},
            "apiVersion": "<string>",
            "creationTimestamp": "<string>",
            "deletionGracePeriodSeconds": 123,
            "deletionTimestamp": "<string>",
            "finalizers": [
              "<string>"
            ],
            "generateName": "<string>",
            "generation": 123,
            "kind": "<string>",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "<string>",
                "fieldsType": "<string>",
                "fieldsV1": {},
                "manager": "<string>",
                "operation": "<string>",
                "subresource": "<string>",
                "time": "<string>"
              }
            ],
            "name": "<string>",
            "namespace": "<string>",
            "ownerReferences": [
              {
                "apiVersion": "<string>",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "<string>",
                "name": "<string>",
                "uid": "<string>"
              }
            ],
            "resourceVersion": "<string>",
            "roleRef": {
              "apiGroup": "<string>",
              "kind": "<string>",
              "name": "<string>"
            },
            "selfLink": "<string>",
            "subjects": [
              {
                "apiGroup": "<string>",
                "kind": "<string>",
                "name": "<string>",
                "namespace": "<string>"
              }
            ],
            "uid": "<string>"
          }
        ],
        "roles": [
          {
            "annotations": {},
            "apiVersion": "<string>",
            "creationTimestamp": "<string>",
            "deletionGracePeriodSeconds": 123,
            "deletionTimestamp": "<string>",
            "finalizers": [
              "<string>"
            ],
            "generateName": "<string>",
            "generation": 123,
            "kind": "<string>",
            "labels": {},
            "managedFields": [
              {
                "apiVersion": "<string>",
                "fieldsType": "<string>",
                "fieldsV1": {},
                "manager": "<string>",
                "operation": "<string>",
                "subresource": "<string>",
                "time": "<string>"
              }
            ],
            "name": "<string>",
            "namespace": "<string>",
            "ownerReferences": [
              {
                "apiVersion": "<string>",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "<string>",
                "name": "<string>",
                "uid": "<string>"
              }
            ],
            "resourceVersion": "<string>",
            "rules": [
              {
                "apiGroups": [
                  "<string>"
                ],
                "nonResourceURLs": [
                  "<string>"
                ],
                "resourceNames": [
                  "<string>"
                ],
                "resources": [
                  "<string>"
                ],
                "verbs": [
                  "<string>"
                ]
              }
            ],
            "selfLink": "<string>",
            "uid": "<string>"
          }
        ]
      },
      "rbac_objects": {
        "assigned_roles": [
          {
            "kind": "<string>",
            "name": "<string>",
            "namespace": "<string>",
            "uid": "<string>",
            "account_id": "<string>",
            "cluster_id": "<string>",
            "created_at": "<string>",
            "id": "<string>",
            "updated_at": "<string>"
          }
        ],
        "created_at": "<string>",
        "graph": {
          "edges": [
            {
              "from_id": "<string>",
              "id": "<string>",
              "to_id": "<string>",
              "type": "<string>"
            }
          ],
          "nodes": [
            {
              "id": "<string>",
              "properties": {},
              "type": "<string>"
            }
          ]
        },
        "permissions": [
          {
            "api_groups": [
              "<string>"
            ],
            "namespace": "<string>",
            "resource_names": [
              "<string>"
            ],
            "resources": [
              "<string>"
            ],
            "verbs": [
              "<string>"
            ]
          }
        ]
      },
      "resolved_at": "<string>",
      "resolved_reason": "<string>",
      "rightsizeable": true,
      "risk_detectors": {},
      "risk_level": "Unspecified",
      "risk_score": 123,
      "risk_types": [
        "<string>"
      ],
      "risks": [
        {
          "associated_resources": [
            {
              "id": "<string>",
              "name": "<string>",
              "severity": "<string>"
            }
          ],
          "deleted_at": "<string>",
          "description": "<string>",
          "fingerprint": "<string>",
          "first_detected_at": "<string>",
          "id": "<string>",
          "identity_id": "<string>",
          "last_detected_at": "<string>",
          "name": "<string>",
          "risk_counter": 123,
          "score": 123,
          "type": "<string>",
          "weight": 123
        }
      ],
      "risks_summary": {
        "risks": [
          {
            "count": 123,
            "normalized_weight": 123,
            "score": 123,
            "type": "<string>",
            "weight": 123
          }
        ],
        "total_risk_score": 123,
        "total_weight": 123
      },
      "source_id": "<string>",
      "source_name": "<string>",
      "source_type": "<string>",
      "status": "open",
      "tenant_id": "<string>",
      "type": "<string>",
      "updated_at": "<string>"
    }
  ],
  "page": 123,
  "page_count": 123,
  "page_size": 123,
  "total_count": 123
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string
required

Account id

Query Parameters

from
string

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

from_last_used_at
string

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

page
integer

Page number starting from 1

page_size
integer

Page size. Default: 20

q
string

Search query

resources
string

List of resource ids to filter by, comma separated

risks
string

List of risks to filter by, comma separated

usages
string

List of usages to filter by, comma separated

risk_levels
string

List of risk levels to filter by, comma separated

identity_types
string

List of identity types to filter by, comma separated

identity_sources
string

List of identity sources to filter by, comma separated

actions
string

List of actions to filter by, comma separated

sort
string

Sort by field. Default: risk_score:desc

statuses
string

List of statuses to filter by, comma separated

to
string

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

to_last_detected_at
string

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

Response

OK

entries
object[]
page
integer
page_count
integer
page_size
integer
total_count
integer