Honeytoken Activity Logs
List activity logs of a honeytoken
List every activity log entry of a honeytoken in chronological order. Entries include both user-written notes and system-generated actions.
To list only user notes, use the /notes endpoint instead.
get/v1/honeytokens/{honeytoken_id}/activity-logs
Path parameters
honeytoken_idstring uuid required
The id of the honeytoken to retrieve
Query parameters
cursorstring
Pagination cursor.
per_pageinteger
Number of items to list per page.
ordering'created_at' | '-created_at' | 'updated_at' | '-updated_at'
Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
member_idinteger
Example:1
Filter by member id.
api_token_idstring uuid
Example:fdf075f9-1662-4cf1-9171-af50568158a8
Filter by the API token id at the origin of the entry.
content_keystring
Example:REVOKE
Filter entries by their system action key. User notes have no action key and are excluded when this filter is set.
searchstring
Search entries based on the note comment content.
Example:I revoked this
Response
Honeytoken Activity Log List
Example response
[
{
"id": "1b99892e-6254-4f8a-9e98-559ed810b7da",
"honeytoken_id": "d45a123f-b15d-4fea-abf6-ff2a8479de5b",
"member": {
"id": 3252,
"name": "John Smith",
"email": "john.smith@example.org",
"access_level": "owner"
},
"api_token_id": "37d5b0d7-9f89-4b80-9070-261e26637836",
"created_at": "2019-08-22T14:15:22Z",
"content": {
"type": "note",
"comment": "I revoked this secret"
}
}
]