Get Enclaves

GET /1.3/enclaves

Description

Returns the list of all enclaves that the user has access to, as well as whether they can read, create, and update reports in that enclave.

Response (200)

A list of Enclave objects.

Example Usage

Request

curl -k -X GET -H "Authorization: Bearer {access_token}" \
   "https://api.trustar.co/api/1.3/enclaves"

Response

[
    {
        "id": "e27b914b-b1ee-4d25-b4b2-d50db5208b4d",
        "name": "Bambenek",
        "read": true,
        "create": false,
        "update": false,
        "type": "OPEN"
    },
    {
        "id": "ac6a0d17-7350-4410-bc57-9699521db992",
        "name": "My Private Enclave",
        "read": true,
        "create": true,
        "update": true,
        "type": "INTERNAL"
    },
    {
        "id": "291af346-dbd1-4bc0-9c69-be20af157fb0",
        "name": "My Crowdstrike Enclave",
        "read": true,
        "create": false,
        "update": false,
        "type": "CLOSED"
    }
]