Get All Report Tags

GET /1.3/reports/tags

Description

Returns the list of all tags used on any report in the requested enclaves.

Parameters

Parameter Required Default Description
enclaveIds   all enclaves the user has READ access to list of ids of enclaves to find tags in

Response (200)

A list of Tag objects.

Example Usage

Request

curl -k -H "Authorization: Bearer {access_token}" \
   "https://api.trustar.co/api/1.3/tags?enclaveIds=2884f4b2-1781-4641-aa54-8911d32bd323"

Response

[
    {
        "guid": "malware",
        "name": "malware",
        "enclaveId": "2884f4b2-1781-4641-aa54-8911d32bd323"
    },
    {
        "guid": "spearphish",
        "name": "spearphish",
        "enclaveId": "2884f4b2-1781-4641-aa54-8911d32bd323"
    },
    {
        "guid": "investigating",
        "name": "investigating",
        "enclaveId": "f653d928-13e7-400f-be84-1cc317242ecb"
    }
]