ResourcesGet cluster role details

Get cluster role details

Get cluster role details

curl -X GET "https://api.prd.rad.security/accounts/example_string/resources/rbac/clusterroles/example_string" \
  -H "Content-Type: application/json"
{
  "account_id": "example_string",
  "assigned_subjects": [
    {
      "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"
    }
  ],
  "cluster_id": "example_string",
  "cluster_role_bindings": [
    {
      "account_id": "example_string",
      "cluster_id": "example_string",
      "cluster_role": {},
      "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"
          }
        ]
      },
      "groups": [
        {
          "account_id": "example_string",
          "api_group": "example_string",
          "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"
            }
          ],
          "cluster_id": "example_string",
          "cluster_role_bindings": [
            {}
          ],
          "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"
              }
            ]
          },
          "id": "example_string",
          "name": "John Doe",
          "namespace": "John Doe",
          "permissions": [
            {
              "category": "example_string",
              "content": "null",
              "created_at": "example_string",
              "deleted_at": "example_string",
              "description": "example_string",
              "id": "example_string",
              "severity": "example_string",
              "status": "example_string",
              "tags": [
                {
                  "key": "example_string",
                  "source": "example_string",
                  "value": "example_string"
                }
              ],
              "title": "example_string",
              "type": "example_string",
              "updated_at": "example_string",
              "version": "example_string",
              "api_groups": [
                "example_string"
              ],
              "cluster_role_uid": "example_string",
              "namespace": "John Doe",
              "resource_names": [
                "John Doe"
              ],
              "resources": [
                "example_string"
              ],
              "role_uid": "example_string",
              "verbs": [
                "example_string"
              ]
            }
          ],
          "role_bindings": [
            {
              "account_id": "example_string",
              "cluster_id": "example_string",
              "cluster_role": {},
              "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"
                  }
                ]
              },
              "groups": [
                {}
              ],
              "name": "John Doe",
              "namespace": "John Doe",
              "resource_version": "example_string",
              "role": {
                "account_id": "example_string",
                "assigned_subjects": [
                  {
                    "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"
                  }
                ],
                "cluster_id": "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"
                    }
                  ]
                },
                "name": "John Doe",
                "namespace": "John Doe",
                "resource_version": "example_string",
                "role_bindings": [
                  {}
                ],
                "rules": [
                  {
                    "category": "example_string",
                    "content": "null",
                    "created_at": "example_string",
                    "deleted_at": "example_string",
                    "description": "example_string",
                    "id": "example_string",
                    "severity": "example_string",
                    "status": "example_string",
                    "tags": [
                      {
                        "key": "example_string",
                        "source": "example_string",
                        "value": "example_string"
                      }
                    ],
                    "title": "example_string",
                    "type": "example_string",
                    "updated_at": "example_string",
                    "version": "example_string",
                    "api_groups": [
                      "example_string"
                    ],
                    "cluster_role_uid": "example_string",
                    "namespace": "John Doe",
                    "resource_names": [
                      "John Doe"
                    ],
                    "resources": [
                      "example_string"
                    ],
                    "role_uid": "example_string",
                    "verbs": [
                      "example_string"
                    ]
                  }
                ],
                "uid": "example_string",
                "updated_at": "example_string"
              },
              "role_ref_api_group": "example_string",
              "role_ref_kind": "example_string",
              "role_ref_name": "John Doe",
              "service_accounts": [
                {
                  "account_id": "example_string",
                  "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"
                    }
                  ],
                  "cluster_id": "example_string",
                  "cluster_role_bindings": [
                    {}
                  ],
                  "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"
                      }
                    ]
                  },
                  "name": "John Doe",
                  "namespace": "John Doe",
                  "permissions": [
                    {
                      "category": "example_string",
                      "content": "null",
                      "created_at": "example_string",
                      "deleted_at": "example_string",
                      "description": "example_string",
                      "id": "example_string",
                      "severity": "example_string",
                      "status": "example_string",
                      "tags": [
                        {
                          "key": "example_string",
                          "source": "example_string",
                          "value": "example_string"
                        }
                      ],
                      "title": "example_string",
                      "type": "example_string",
                      "updated_at": "example_string",
                      "version": "example_string",
                      "api_groups": [
                        "example_string"
                      ],
                      "cluster_role_uid": "example_string",
                      "namespace": "John Doe",
                      "resource_names": [
                        "John Doe"
                      ],
                      "resources": [
                        "example_string"
                      ],
                      "role_uid": "example_string",
                      "verbs": [
                        "example_string"
                      ]
                    }
                  ],
                  "resource_version": "example_string",
                  "role_bindings": [
                    {}
                  ],
                  "uid": "example_string",
                  "updated_at": "example_string"
                }
              ],
              "uid": "example_string",
              "updated_at": "example_string",
              "users": [
                {
                  "account_id": "example_string",
                  "api_group": "example_string",
                  "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"
                    }
                  ],
                  "cluster_id": "example_string",
                  "cluster_role_bindings": [
                    {}
                  ],
                  "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"
                      }
                    ]
                  },
                  "id": "example_string",
                  "name": "John Doe",
                  "namespace": "John Doe",
                  "permissions": [
                    {
                      "category": "example_string",
                      "content": "null",
                      "created_at": "example_string",
                      "deleted_at": "example_string",
                      "description": "example_string",
                      "id": "example_string",
                      "severity": "example_string",
                      "status": "example_string",
                      "tags": [
                        {
                          "key": "example_string",
                          "source": "example_string",
                          "value": "example_string"
                        }
                      ],
                      "title": "example_string",
                      "type": "example_string",
                      "updated_at": "example_string",
                      "version": "example_string",
                      "api_groups": [
                        "example_string"
                      ],
                      "cluster_role_uid": "example_string",
                      "namespace": "John Doe",
                      "resource_names": [
                        "John Doe"
                      ],
                      "resources": [
                        "example_string"
                      ],
                      "role_uid": "example_string",
                      "verbs": [
                        "example_string"
                      ]
                    }
                  ],
                  "role_bindings": [
                    {}
                  ],
                  "updated_at": "example_string"
                }
              ]
            }
          ],
          "updated_at": "example_string"
        }
      ],
      "name": "John Doe",
      "resource_version": "example_string",
      "role_ref_api_group": "example_string",
      "role_ref_kind": "example_string",
      "role_ref_name": "John Doe",
      "service_accounts": [
        {
          "account_id": "example_string",
          "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"
            }
          ],
          "cluster_id": "example_string",
          "cluster_role_bindings": [
            {}
          ],
          "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"
              }
            ]
          },
          "name": "John Doe",
          "namespace": "John Doe",
          "permissions": [
            {
              "category": "example_string",
              "content": "null",
              "created_at": "example_string",
              "deleted_at": "example_string",
              "description": "example_string",
              "id": "example_string",
              "severity": "example_string",
              "status": "example_string",
              "tags": [
                {
                  "key": "example_string",
                  "source": "example_string",
                  "value": "example_string"
                }
              ],
              "title": "example_string",
              "type": "example_string",
              "updated_at": "example_string",
              "version": "example_string",
              "api_groups": [
                "example_string"
              ],
              "cluster_role_uid": "example_string",
              "namespace": "John Doe",
              "resource_names": [
                "John Doe"
              ],
              "resources": [
                "example_string"
              ],
              "role_uid": "example_string",
              "verbs": [
                "example_string"
              ]
            }
          ],
          "resource_version": "example_string",
          "role_bindings": [
            {}
          ],
          "uid": "example_string",
          "updated_at": "example_string"
        }
      ],
      "uid": "example_string",
      "updated_at": "example_string",
      "users": [
        {
          "account_id": "example_string",
          "api_group": "example_string",
          "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"
            }
          ],
          "cluster_id": "example_string",
          "cluster_role_bindings": [
            {}
          ],
          "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"
              }
            ]
          },
          "id": "example_string",
          "name": "John Doe",
          "namespace": "John Doe",
          "permissions": [
            {
              "category": "example_string",
              "content": "null",
              "created_at": "example_string",
              "deleted_at": "example_string",
              "description": "example_string",
              "id": "example_string",
              "severity": "example_string",
              "status": "example_string",
              "tags": [
                {
                  "key": "example_string",
                  "source": "example_string",
                  "value": "example_string"
                }
              ],
              "title": "example_string",
              "type": "example_string",
              "updated_at": "example_string",
              "version": "example_string",
              "api_groups": [
                "example_string"
              ],
              "cluster_role_uid": "example_string",
              "namespace": "John Doe",
              "resource_names": [
                "John Doe"
              ],
              "resources": [
                "example_string"
              ],
              "role_uid": "example_string",
              "verbs": [
                "example_string"
              ]
            }
          ],
          "role_bindings": [
            {}
          ],
          "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"
      }
    ]
  },
  "name": "John Doe",
  "resource_version": "example_string",
  "role_bindings": [
    {
      "account_id": "example_string",
      "cluster_id": "example_string",
      "cluster_role": {},
      "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"
          }
        ]
      },
      "groups": [
        {}
      ],
      "name": "John Doe",
      "namespace": "John Doe",
      "resource_version": "example_string",
      "role": {
        "account_id": "example_string",
        "assigned_subjects": [
          {
            "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"
          }
        ],
        "cluster_id": "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"
            }
          ]
        },
        "name": "John Doe",
        "namespace": "John Doe",
        "resource_version": "example_string",
        "role_bindings": [
          {}
        ],
        "rules": [
          {
            "category": "example_string",
            "content": "null",
            "created_at": "example_string",
            "deleted_at": "example_string",
            "description": "example_string",
            "id": "example_string",
            "severity": "example_string",
            "status": "example_string",
            "tags": [
              {
                "key": "example_string",
                "source": "example_string",
                "value": "example_string"
              }
            ],
            "title": "example_string",
            "type": "example_string",
            "updated_at": "example_string",
            "version": "example_string",
            "api_groups": [
              "example_string"
            ],
            "cluster_role_uid": "example_string",
            "namespace": "John Doe",
            "resource_names": [
              "John Doe"
            ],
            "resources": [
              "example_string"
            ],
            "role_uid": "example_string",
            "verbs": [
              "example_string"
            ]
          }
        ],
        "uid": "example_string",
        "updated_at": "example_string"
      },
      "role_ref_api_group": "example_string",
      "role_ref_kind": "example_string",
      "role_ref_name": "John Doe",
      "service_accounts": [
        {
          "account_id": "example_string",
          "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"
            }
          ],
          "cluster_id": "example_string",
          "cluster_role_bindings": [
            {}
          ],
          "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"
              }
            ]
          },
          "name": "John Doe",
          "namespace": "John Doe",
          "permissions": [
            {
              "category": "example_string",
              "content": "null",
              "created_at": "example_string",
              "deleted_at": "example_string",
              "description": "example_string",
              "id": "example_string",
              "severity": "example_string",
              "status": "example_string",
              "tags": [
                {
                  "key": "example_string",
                  "source": "example_string",
                  "value": "example_string"
                }
              ],
              "title": "example_string",
              "type": "example_string",
              "updated_at": "example_string",
              "version": "example_string",
              "api_groups": [
                "example_string"
              ],
              "cluster_role_uid": "example_string",
              "namespace": "John Doe",
              "resource_names": [
                "John Doe"
              ],
              "resources": [
                "example_string"
              ],
              "role_uid": "example_string",
              "verbs": [
                "example_string"
              ]
            }
          ],
          "resource_version": "example_string",
          "role_bindings": [
            {}
          ],
          "uid": "example_string",
          "updated_at": "example_string"
        }
      ],
      "uid": "example_string",
      "updated_at": "example_string",
      "users": [
        {
          "account_id": "example_string",
          "api_group": "example_string",
          "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"
            }
          ],
          "cluster_id": "example_string",
          "cluster_role_bindings": [
            {}
          ],
          "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"
              }
            ]
          },
          "id": "example_string",
          "name": "John Doe",
          "namespace": "John Doe",
          "permissions": [
            {
              "category": "example_string",
              "content": "null",
              "created_at": "example_string",
              "deleted_at": "example_string",
              "description": "example_string",
              "id": "example_string",
              "severity": "example_string",
              "status": "example_string",
              "tags": [
                {
                  "key": "example_string",
                  "source": "example_string",
                  "value": "example_string"
                }
              ],
              "title": "example_string",
              "type": "example_string",
              "updated_at": "example_string",
              "version": "example_string",
              "api_groups": [
                "example_string"
              ],
              "cluster_role_uid": "example_string",
              "namespace": "John Doe",
              "resource_names": [
                "John Doe"
              ],
              "resources": [
                "example_string"
              ],
              "role_uid": "example_string",
              "verbs": [
                "example_string"
              ]
            }
          ],
          "role_bindings": [
            {}
          ],
          "updated_at": "example_string"
        }
      ]
    }
  ],
  "rules": [
    {
      "category": "example_string",
      "content": "null",
      "created_at": "example_string",
      "deleted_at": "example_string",
      "description": "example_string",
      "id": "example_string",
      "severity": "example_string",
      "status": "example_string",
      "tags": [
        {
          "key": "example_string",
          "source": "example_string",
          "value": "example_string"
        }
      ],
      "title": "example_string",
      "type": "example_string",
      "updated_at": "example_string",
      "version": "example_string",
      "api_groups": [
        "example_string"
      ],
      "cluster_role_uid": "example_string",
      "namespace": "John Doe",
      "resource_names": [
        "John Doe"
      ],
      "resources": [
        "example_string"
      ],
      "role_uid": "example_string",
      "verbs": [
        "example_string"
      ]
    }
  ],
  "uid": "example_string",
  "updated_at": "example_string"
}
GET
/accounts/{account_id}/resources/rbac/clusterroles/{uid}
GET
Base URLstring

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

Request Preview
Response

Response will appear here after sending the request

Path Parameters

uidstring
Required

Cluster role uid

Responses

account_idstring
assigned_subjectsarray
cluster_idstring
cluster_role_bindingsarray
created_atstring
graphobject
namestring
resource_versionstring
role_bindingsarray
rulesarray
uidstring
updated_atstring