Audit Logs

Load your account’s audit logs for monitoring activities on Talend Cloud applications, ensuring data security and managing regulatory compliance risks.
Contact
TPSVC Team
License
Apache License Version 2.0

Endpoints

Global security

These security schemes apply to the entire API

Security scheme

This scheme can be referenced across the API

Public
Bearer authentication
NameDescription
FormatBearer <TOKEN>
Headers
NameDescriptionTypeAttributes and examples
Authorizationstring Required

Return audit logs for current account with the latest date on top

GET /security/audit/logs
Return audit logs about the events triggered within the hot period defined by your license. With the latest timestamp on top, the results are paginated with the page number and page size parameters. The pagination information is part of the response header. The status codes explained on this page are the codes used by the Audit log API. If you need information about the HTTP status codes that appear in the body of your audit logs, see https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Request

Query parameters
NameDescriptionTypeAttributes and examples
fromDateLower bound of the date window (ISO 8601 datetime format). Specifying this parameter will return audit logs from this date to toDate parameter if present or to current date otherwise. fromDate parameter must be before current date. If format is not as expected, if fromDate is after current date or if fromDate is after toDate, status 400 BAD REQUEST is returned. If fromDate is before current date minus hot period duration, current date minus hot period duration is used instead. If fromDate is not specified and fromId is specified, fromId is used to define the oldest log to return. Otherwise, current date minus hot period duration is used.datetime Optional
fromIdLower bound of the log window (UUID). Specifying this parameter will return audit logs from a specific id to toDate if present, or current date otherwise. If the id doesn’t exist, an empty array is returned. If format is not as expected, status 400 BAD REQUEST is returned. If fromDate and fromId are both specified with valid values, fromId is ignored and fromDate is used to define the oldest log to return.string Optional
pagePage number starting from 1.string Optional
1
sizeNumber of logs returned per page. The maximum value is 1000.string Optional
100
toDateUpper bound of the date window (ISO 8601 datetime format). Specifying this parameter will return audit logs from fromDate if present, or from fromId if present, or from current date minus period hot duration otherwise, to toDate. If format is not as expected or if toDate is before fromDate, status 400 BAD REQUEST si returned. If toDate if after current date, current date is used instead.datetime Optional
Headers
NameDescriptionTypeAttributes and examples
AuthorizationBearer {your personal access token}string Required
[Bb]earer .+

Response

200Status 200
Logs have been retrieved for the current account
Headers
NameDescriptionTypeAttributes and examples
page-firstWhether the current page is the first page: “true” if it is and “false” if it is not.boolean Optional
page-numberCurrent page numberinteger Optional
INT32
total-elementsTotal number of audit logs retrievable using the APIinteger Optional
INT32
total-pagesNumber of pagesinteger Optional
INT32
page-lastWhether the current page is the last page: “true” if it is and “false” if it is not.boolean Optional
page-total-elementsNumber of audit logs in the current pageinteger Optional
INT32
Body
details
NameDescriptionTypeAttributes and examples
array of AuditLog
Datatype details
TypeDescriptionAttributes and examples
array
AuditLog
400Status 400
Wrong parameter format
401Status 401
Not authenticated
403Status 403
User has insufficient permission (Security Administrator role is required) or support level is too low (Platinum or Mission Critical are required)
404Status 404
Not Found
429Status 429
Too many requests within a certain timeframe
500Status 500
Internal server error

AuditLog

Object
NameDescriptionTypeAttributes and examples
timestampDatetime when the log has been registered (Iso 8601 datetime)datetime Optional
logIdUnique log id (UUID)string Optional
requestIdUnique request id (UUID)string Optional
applicationIdApplication idstring Optional
eventCategoryEvent categorystring Optional
eventTypeEvent typestring Optional
eventOperationEvent operationstring Optional
clientIpIp address of the client. The field can contain multiple IPs in case of forgery attempt or multiple public proxiesstring Optional
userIdTechnical user idstring Optional
usernameUsernamestring Optional
emailUser emailstring Optional
requestAuditLogRequest Optional
responseAuditLogResponse Optional

AuditLogRequest

Object
NameDescriptionTypeAttributes and examples
urlRequest URLstring Optional
methodRequest methodstring Optional
userAgentRequest user agentstring Optional
bodyRequest bodystring Optional

AuditLogResponse

Object
NameDescriptionTypeAttributes and examples
codeResponse HTTP status code. For more information, see https://en.wikipedia.org/wiki/List_of_HTTP_status_codesstring Optional
bodyResponse bodystring Optional
back to top↑