Skip to main content
GET
/
accounts
/
{account_id}
/
resources
/
rbac
/
clusterrolebindings
/
{uid}
Get cluster role binding details
curl --request GET \
  --url https://api.prd.rad.security/accounts/{account_id}/resources/rbac/clusterrolebindings/{uid}
{
  "account_id": "<string>",
  "cluster_id": "<string>",
  "cluster_role": {
    "account_id": "<string>",
    "assigned_subjects": [
      {
        "kind": "<string>",
        "name": "<string>",
        "namespace": "<string>",
        "uid": "<string>",
        "account_id": "<string>",
        "cluster_id": "<string>",
        "created_at": "<string>",
        "id": "<string>",
        "updated_at": "<string>"
      }
    ],
    "cluster_id": "<string>",
    "cluster_role_bindings": [
      {}
    ],
    "created_at": "<string>",
    "graph": {
      "edges": [
        {
          "from_id": "<any>",
          "id": "<any>",
          "to_id": "<any>",
          "type": "<any>"
        }
      ],
      "nodes": [
        {
          "id": "<any>",
          "properties": "<any>",
          "type": "<any>"
        }
      ]
    },
    "name": "<string>",
    "resource_version": "<string>",
    "role_bindings": [
      {
        "account_id": "<string>",
        "cluster_id": "<string>",
        "cluster_role": {},
        "created_at": "<string>",
        "graph": {
          "edges": [
            {
              "from_id": "<any>",
              "id": "<any>",
              "to_id": "<any>",
              "type": "<any>"
            }
          ],
          "nodes": [
            {
              "id": "<any>",
              "properties": "<any>",
              "type": "<any>"
            }
          ]
        },
        "groups": [
          {
            "account_id": "<string>",
            "api_group": "<string>",
            "assigned_roles": [
              {
                "kind": "<string>",
                "name": "<string>",
                "namespace": "<string>",
                "uid": "<string>",
                "account_id": "<string>",
                "cluster_id": "<string>",
                "created_at": "<string>",
                "id": "<string>",
                "updated_at": "<string>"
              }
            ],
            "cluster_id": "<string>",
            "cluster_role_bindings": [
              {}
            ],
            "created_at": "<string>",
            "graph": {
              "edges": [
                {
                  "from_id": "<any>",
                  "id": "<any>",
                  "to_id": "<any>",
                  "type": "<any>"
                }
              ],
              "nodes": [
                {
                  "id": "<any>",
                  "properties": "<any>",
                  "type": "<any>"
                }
              ]
            },
            "id": "<string>",
            "name": "<string>",
            "namespace": "<string>",
            "permissions": [
              {
                "category": "<string>",
                "content": "<any>",
                "created_at": "<string>",
                "deleted_at": "<string>",
                "description": "<string>",
                "id": "<string>",
                "severity": "<string>",
                "status": "<string>",
                "tags": [
                  {}
                ],
                "title": "<string>",
                "type": "<string>",
                "updated_at": "<string>",
                "version": "<string>",
                "api_groups": [
                  "<string>"
                ],
                "cluster_role_uid": "<string>",
                "namespace": "<string>",
                "resource_names": [
                  "<string>"
                ],
                "resources": [
                  "<string>"
                ],
                "role_uid": "<string>",
                "verbs": [
                  "<string>"
                ]
              }
            ],
            "role_bindings": [
              {}
            ],
            "updated_at": "<string>"
          }
        ],
        "name": "<string>",
        "namespace": "<string>",
        "resource_version": "<string>",
        "role": {
          "account_id": "<string>",
          "assigned_subjects": [
            {
              "kind": "<string>",
              "name": "<string>",
              "namespace": "<string>",
              "uid": "<string>",
              "account_id": "<string>",
              "cluster_id": "<string>",
              "created_at": "<string>",
              "id": "<string>",
              "updated_at": "<string>"
            }
          ],
          "cluster_id": "<string>",
          "created_at": "<string>",
          "graph": {
            "edges": [
              {
                "from_id": "<any>",
                "id": "<any>",
                "to_id": "<any>",
                "type": "<any>"
              }
            ],
            "nodes": [
              {
                "id": "<any>",
                "properties": "<any>",
                "type": "<any>"
              }
            ]
          },
          "name": "<string>",
          "namespace": "<string>",
          "resource_version": "<string>",
          "role_bindings": [
            {}
          ],
          "rules": [
            {
              "category": "<string>",
              "content": "<any>",
              "created_at": "<string>",
              "deleted_at": "<string>",
              "description": "<string>",
              "id": "<string>",
              "severity": "<string>",
              "status": "<string>",
              "tags": [
                {}
              ],
              "title": "<string>",
              "type": "<string>",
              "updated_at": "<string>",
              "version": "<string>",
              "api_groups": [
                "<string>"
              ],
              "cluster_role_uid": "<string>",
              "namespace": "<string>",
              "resource_names": [
                "<string>"
              ],
              "resources": [
                "<string>"
              ],
              "role_uid": "<string>",
              "verbs": [
                "<string>"
              ]
            }
          ],
          "uid": "<string>",
          "updated_at": "<string>"
        },
        "role_ref_api_group": "<string>",
        "role_ref_kind": "<string>",
        "role_ref_name": "<string>",
        "service_accounts": [
          {
            "account_id": "<string>",
            "assigned_roles": [
              {
                "kind": "<string>",
                "name": "<string>",
                "namespace": "<string>",
                "uid": "<string>",
                "account_id": "<string>",
                "cluster_id": "<string>",
                "created_at": "<string>",
                "id": "<string>",
                "updated_at": "<string>"
              }
            ],
            "cluster_id": "<string>",
            "cluster_role_bindings": [
              {}
            ],
            "created_at": "<string>",
            "graph": {
              "edges": [
                {
                  "from_id": "<any>",
                  "id": "<any>",
                  "to_id": "<any>",
                  "type": "<any>"
                }
              ],
              "nodes": [
                {
                  "id": "<any>",
                  "properties": "<any>",
                  "type": "<any>"
                }
              ]
            },
            "name": "<string>",
            "namespace": "<string>",
            "permissions": [
              {
                "category": "<string>",
                "content": "<any>",
                "created_at": "<string>",
                "deleted_at": "<string>",
                "description": "<string>",
                "id": "<string>",
                "severity": "<string>",
                "status": "<string>",
                "tags": [
                  {}
                ],
                "title": "<string>",
                "type": "<string>",
                "updated_at": "<string>",
                "version": "<string>",
                "api_groups": [
                  "<string>"
                ],
                "cluster_role_uid": "<string>",
                "namespace": "<string>",
                "resource_names": [
                  "<string>"
                ],
                "resources": [
                  "<string>"
                ],
                "role_uid": "<string>",
                "verbs": [
                  "<string>"
                ]
              }
            ],
            "resource_version": "<string>",
            "role_bindings": [
              {}
            ],
            "uid": "<string>",
            "updated_at": "<string>"
          }
        ],
        "uid": "<string>",
        "updated_at": "<string>",
        "users": [
          {
            "account_id": "<string>",
            "api_group": "<string>",
            "assigned_roles": [
              {
                "kind": "<string>",
                "name": "<string>",
                "namespace": "<string>",
                "uid": "<string>",
                "account_id": "<string>",
                "cluster_id": "<string>",
                "created_at": "<string>",
                "id": "<string>",
                "updated_at": "<string>"
              }
            ],
            "cluster_id": "<string>",
            "cluster_role_bindings": [
              {}
            ],
            "created_at": "<string>",
            "graph": {
              "edges": [
                {
                  "from_id": "<any>",
                  "id": "<any>",
                  "to_id": "<any>",
                  "type": "<any>"
                }
              ],
              "nodes": [
                {
                  "id": "<any>",
                  "properties": "<any>",
                  "type": "<any>"
                }
              ]
            },
            "id": "<string>",
            "name": "<string>",
            "namespace": "<string>",
            "permissions": [
              {
                "category": "<string>",
                "content": "<any>",
                "created_at": "<string>",
                "deleted_at": "<string>",
                "description": "<string>",
                "id": "<string>",
                "severity": "<string>",
                "status": "<string>",
                "tags": [
                  {}
                ],
                "title": "<string>",
                "type": "<string>",
                "updated_at": "<string>",
                "version": "<string>",
                "api_groups": [
                  "<string>"
                ],
                "cluster_role_uid": "<string>",
                "namespace": "<string>",
                "resource_names": [
                  "<string>"
                ],
                "resources": [
                  "<string>"
                ],
                "role_uid": "<string>",
                "verbs": [
                  "<string>"
                ]
              }
            ],
            "role_bindings": [
              {}
            ],
            "updated_at": "<string>"
          }
        ]
      }
    ],
    "rules": [
      {
        "category": "<string>",
        "content": "<any>",
        "created_at": "<string>",
        "deleted_at": "<string>",
        "description": "<string>",
        "id": "<string>",
        "severity": "<string>",
        "status": "<string>",
        "tags": [
          {}
        ],
        "title": "<string>",
        "type": "<string>",
        "updated_at": "<string>",
        "version": "<string>",
        "api_groups": [
          "<string>"
        ],
        "cluster_role_uid": "<string>",
        "namespace": "<string>",
        "resource_names": [
          "<string>"
        ],
        "resources": [
          "<string>"
        ],
        "role_uid": "<string>",
        "verbs": [
          "<string>"
        ]
      }
    ],
    "uid": "<string>",
    "updated_at": "<string>"
  },
  "created_at": "<string>",
  "graph": {
    "edges": [
      {
        "from_id": "<any>",
        "id": "<any>",
        "to_id": "<any>",
        "type": "<any>"
      }
    ],
    "nodes": [
      {
        "id": "<any>",
        "properties": "<any>",
        "type": "<any>"
      }
    ]
  },
  "groups": [
    {
      "account_id": "<string>",
      "api_group": "<string>",
      "assigned_roles": [
        {
          "kind": "<string>",
          "name": "<string>",
          "namespace": "<string>",
          "uid": "<string>",
          "account_id": "<string>",
          "cluster_id": "<string>",
          "created_at": "<string>",
          "id": "<string>",
          "updated_at": "<string>"
        }
      ],
      "cluster_id": "<string>",
      "cluster_role_bindings": [
        {}
      ],
      "created_at": "<string>",
      "graph": {
        "edges": [
          {
            "from_id": "<any>",
            "id": "<any>",
            "to_id": "<any>",
            "type": "<any>"
          }
        ],
        "nodes": [
          {
            "id": "<any>",
            "properties": "<any>",
            "type": "<any>"
          }
        ]
      },
      "id": "<string>",
      "name": "<string>",
      "namespace": "<string>",
      "permissions": [
        {
          "category": "<string>",
          "content": "<any>",
          "created_at": "<string>",
          "deleted_at": "<string>",
          "description": "<string>",
          "id": "<string>",
          "severity": "<string>",
          "status": "<string>",
          "tags": [
            {}
          ],
          "title": "<string>",
          "type": "<string>",
          "updated_at": "<string>",
          "version": "<string>",
          "api_groups": [
            "<string>"
          ],
          "cluster_role_uid": "<string>",
          "namespace": "<string>",
          "resource_names": [
            "<string>"
          ],
          "resources": [
            "<string>"
          ],
          "role_uid": "<string>",
          "verbs": [
            "<string>"
          ]
        }
      ],
      "role_bindings": [
        {}
      ],
      "updated_at": "<string>"
    }
  ],
  "name": "<string>",
  "resource_version": "<string>",
  "role_ref_api_group": "<string>",
  "role_ref_kind": "<string>",
  "role_ref_name": "<string>",
  "service_accounts": [
    {
      "account_id": "<string>",
      "assigned_roles": [
        {
          "kind": "<string>",
          "name": "<string>",
          "namespace": "<string>",
          "uid": "<string>",
          "account_id": "<string>",
          "cluster_id": "<string>",
          "created_at": "<string>",
          "id": "<string>",
          "updated_at": "<string>"
        }
      ],
      "cluster_id": "<string>",
      "cluster_role_bindings": [
        {}
      ],
      "created_at": "<string>",
      "graph": {
        "edges": [
          {
            "from_id": "<any>",
            "id": "<any>",
            "to_id": "<any>",
            "type": "<any>"
          }
        ],
        "nodes": [
          {
            "id": "<any>",
            "properties": "<any>",
            "type": "<any>"
          }
        ]
      },
      "name": "<string>",
      "namespace": "<string>",
      "permissions": [
        {
          "category": "<string>",
          "content": "<any>",
          "created_at": "<string>",
          "deleted_at": "<string>",
          "description": "<string>",
          "id": "<string>",
          "severity": "<string>",
          "status": "<string>",
          "tags": [
            {}
          ],
          "title": "<string>",
          "type": "<string>",
          "updated_at": "<string>",
          "version": "<string>",
          "api_groups": [
            "<string>"
          ],
          "cluster_role_uid": "<string>",
          "namespace": "<string>",
          "resource_names": [
            "<string>"
          ],
          "resources": [
            "<string>"
          ],
          "role_uid": "<string>",
          "verbs": [
            "<string>"
          ]
        }
      ],
      "resource_version": "<string>",
      "role_bindings": [
        {}
      ],
      "uid": "<string>",
      "updated_at": "<string>"
    }
  ],
  "uid": "<string>",
  "updated_at": "<string>",
  "users": [
    {
      "account_id": "<string>",
      "api_group": "<string>",
      "assigned_roles": [
        {
          "kind": "<string>",
          "name": "<string>",
          "namespace": "<string>",
          "uid": "<string>",
          "account_id": "<string>",
          "cluster_id": "<string>",
          "created_at": "<string>",
          "id": "<string>",
          "updated_at": "<string>"
        }
      ],
      "cluster_id": "<string>",
      "cluster_role_bindings": [
        {}
      ],
      "created_at": "<string>",
      "graph": {
        "edges": [
          {
            "from_id": "<any>",
            "id": "<any>",
            "to_id": "<any>",
            "type": "<any>"
          }
        ],
        "nodes": [
          {
            "id": "<any>",
            "properties": "<any>",
            "type": "<any>"
          }
        ]
      },
      "id": "<string>",
      "name": "<string>",
      "namespace": "<string>",
      "permissions": [
        {
          "category": "<string>",
          "content": "<any>",
          "created_at": "<string>",
          "deleted_at": "<string>",
          "description": "<string>",
          "id": "<string>",
          "severity": "<string>",
          "status": "<string>",
          "tags": [
            {}
          ],
          "title": "<string>",
          "type": "<string>",
          "updated_at": "<string>",
          "version": "<string>",
          "api_groups": [
            "<string>"
          ],
          "cluster_role_uid": "<string>",
          "namespace": "<string>",
          "resource_names": [
            "<string>"
          ],
          "resources": [
            "<string>"
          ],
          "role_uid": "<string>",
          "verbs": [
            "<string>"
          ]
        }
      ],
      "role_bindings": [
        {}
      ],
      "updated_at": "<string>"
    }
  ]
}

Path Parameters

account_id
string
required

Account id

uid
string
required

Cluster role binding uid

Response

OK

account_id
string
cluster_id
string
cluster_role
object
created_at
string
graph
object
groups
object[]
name
string
resource_version
string
role_ref_api_group
string
role_ref_kind
string
role_ref_name
string
service_accounts
object[]
uid
string
updated_at
string
users
object[]