Skip to main content
GET
/
grc
/
controls
/
{control_id}
Get GRC Control
curl --request GET \
  --url https://api.leen.dev/v1/grc/controls/{control_id} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "control_objective": "<string>",
  "type": "<string>",
  "category": "<string>",
  "status": "NEW",
  "entity": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "type": "<string>",
    "vendor_attributes": {
      "id": "<string>",
      "vendor": "<string>",
      "data": {}
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "template_id": "<string>",
  "vendor_attributes": {
    "id": "<string>",
    "vendor": "<string>",
    "data": {}
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Path Parameters

control_id
string<uuid>
required

Query Parameters

use_pool
boolean
default:true

Response

Successful Response

Response model for returning GRC control details via an API endpoint.

id
string<uuid>
required

Leen's UUID for the GRC control

name
string
required

Control name

control_objective
string
required

The objective this control aims to achieve

status
enum<string>
required

Current status of the control

Available options:
NEW,
PENDING,
REVIEW,
NOT APPLICABLE,
RETIRED,
IMPLEMENTED
vendor_attributes
object
required

Vendor-specific attributes and identifiers

description
string | null

Detailed description of the control

type
string | null

Type or classification of the control

category
string | null

Category grouping for the control

entity
object | null

Associated GRC entity details Response model for returning GRC entity details via an API endpoint.

template_id
string | null

Template identifier for the control

created_at
string<date-time> | null

Timestamp when the control was created

updated_at
string<date-time> | null

Timestamp when the control was last updated

I