Get Tags For Report

GET /1.3/reports/{id}/tags

Description

Returns the list of enclave tags that a specified report has been tagged with.

Parameters

Parameter Required Default Description
id X   TruSTAR report id or external tracking id
idType   internal internal or external

Response (200)

A list of Tag objects.

Example Usage

Request

curl -k -H "Authorization: Bearer {access_token}" \
   "https://api.trustar.co/api/1.3/reports/9066ab40-2f3c-45ae-9566-7530403da691/tags"

Response

[
    {
        "guid": "368561e2-81ba-4efa-a46d-a306ad23932e",
        "name": "malware",
        "enclaveId": "2884f4b2-1781-4641-aa54-8911d32bd323"
    },
    {
        "guid": "fe695fc1-068a-4489-9495-f50c509b0532",
        "name": "spearphish",
        "enclaveId": "2884f4b2-1781-4641-aa54-8911d32bd323"
    }
]