Skip to main content
GET
/
grc
/
controls
List GRC Controls
curl --request GET \
  --url https://api.leen.dev/v1/grc/controls \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "items": [
    {
      "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"
    }
  ],
  "next_cursor": "<string>",
  "previous_cursor": "<string>"
}

Authorizations

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

Query Parameters

sort
string | null

Sort by field

updatedSince
string<date-time> | null

Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00

cursor
string | null

Skip token to continue from the last item in the previous page

limit
integer
default:100

Limit size (page size)

Required range: x >= 0
name
string | null

Filter controls by name with partial matching

type
string | null

Filter controls by type (comma-separated values supported)

category
string | null

Filter controls by category (comma-separated values supported)

status
string | null

Filter controls by status (comma-separated values supported)

entity_id
string<uuid> | null

Filter controls by associated entity ID

use_pool
boolean
default:true

Response

Successful Response

items
Control · object[]
required

List of items returned in the response

next_cursor
string | null

Skip token to continue from the last item in the previous page

previous_cursor
string | null

Skip token to continue from the first item in the previous page

I