Get notes for a threat
GET {{cb_url}}/api/alerts/v7/orgs/{{cb_org_key}}/threats/{{cb_threat_id}}/notes?sort_field=create_timestamp&sort_order=ASC
Get the notes associated with a threat.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
org.alerts.notes | READ |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sort_field | string | The field to sort the notes by | |
sort_order | string | Whether to sort the fields ascending (ASC) or descending (DESC) |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"num_found":2,"num_available":2,"results":[{"author":"demouser@demoorg.com","create_timestamp":"2023-04-18T03:30:55.408Z","last_update_timestamp":"2023-04-18T03:30:55.408Z","id":"21471599-f528-4ecf-b4cf-85db9811e5f1","source":"CUSTOMER","note":"A second note to test sorting"},{"author":"demouser@demoorg.com","create_timestamp":"2023-04-18T03:25:44.397Z","last_update_timestamp":"2023-04-18T03:25:44.397Z","id":"321e5c6a-d55e-4687-82a3-769a34d1adef","source":"CUSTOMER","note":"My first note"}]}