Get Tags For Report¶
GET /1.3/reports/{id}/tags
Description¶
Returns the list of tags that a specified report has been tagged with. The enclave ID of each tag is simply the enclave ID of the report.
Parameters¶
| Parameter | Required | Default | Description |
|---|---|---|---|
| id | X | TruSTAR report id or external tracking id | |
| idType | internal |
internal or external (ID type of the report ID) |
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": "malware",
"name": "malware",
"enclaveId": "2884f4b2-1781-4641-aa54-8911d32bd323"
},
{
"guid": "spearphish",
"name": "spearphish",
"enclaveId": "2884f4b2-1781-4641-aa54-8911d32bd323"
}
]