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
-
https://api.eu.cloud.talend.com
URL for the AWS Europe region
-
https://api.ap.cloud.talend.com
URL for the AWS Asia Pacific region
-
https://api.us.cloud.talend.com
URL for the AWS United States East region
-
https://api.au.cloud.talend.com
URL for the AWS Australia region
-
https://api.us-west.cloud.talend.com
URL for the Azure United States West region
Security scheme
This scheme can be referenced across the API
Public
Name | Description |
---|---|
Format | Bearer <TOKEN> |
Name | Description | Type | Attributes and examples |
---|---|---|---|
Authorization | string Required |
Return audit logs for current account with the latest date on top
GET /security/audit/logsReturn 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
Name | Description | Type | Attributes and examples |
---|---|---|---|
fromDate | Lower 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 |
2020-03-02T06:22:57.447Z |
fromId | Lower 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 |
110e8400-e29b-11d4-a716-446655440000 |
page | Page number starting from 1. | string Optional |
1 1 |
size | Number of logs returned per page. The maximum value is 1000. | string Optional |
100 100 |
toDate | Upper 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 |
2020-03-02T06:22:57.447Z |
Name | Description | Type | Attributes and examples |
---|---|---|---|
Authorization | Bearer {your personal access token} | string Required |
[Bb]earer .+ |
Response
200Status 200
Logs have been retrieved for the current account
Name | Description | Type | Attributes and examples |
---|---|---|---|
page-first | Whether the current page is the first page: “true” if it is and “false” if it is not. | boolean Optional |
true |
page-number | Current page number | integer Optional |
INT32 1 |
total-elements | Total number of audit logs retrievable using the API | integer Optional |
INT32 100 |
total-pages | Number of pages | integer Optional |
INT32 2 |
page-last | Whether the current page is the last page: “true” if it is and “false” if it is not. | boolean Optional |
false |
page-total-elements | Number of audit logs in the current page | integer Optional |
INT32 10 |
Body
*/*
Name | Description | Type | Attributes and examples | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
array of 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
Name | Description | Type | Attributes and examples |
---|---|---|---|
timestamp | Datetime when the log has been registered (Iso 8601 datetime) | datetime Optional |
2020-01-13T10:25:40.447Z |
logId | Unique log id (UUID) | string Optional |
110e8400-e29b-11d4-a716-446655440000 |
requestId | Unique request id (UUID) | string Optional |
508c5f4c-d885-4e0b-9052-b3f5b8e27472 |
applicationId | Application id | string Optional |
TMC |
eventCategory | Event category | string Optional |
user account |
eventType | Event type | string Optional |
access management |
eventOperation | Event operation | string Optional |
create |
clientIp | Ip address of the client. The field can contain multiple IPs in case of forgery attempt or multiple public proxies | string Optional |
84.14.92.154, 62.23.50.122 |
userId | Technical user id | string Optional |
25190235-7914-4410-8c1d-c1011f57edfd |
username | Username | string Optional |
admin@test.talend.com |
User email | string Optional |
admin@customer.com |
|
request | AuditLogRequest Optional | ||
response | AuditLogResponse Optional |
AuditLogRequest
Object
Name | Description | Type | Attributes and examples |
---|---|---|---|
url | Request URL | string Optional |
http://service.url/service |
method | Request method | string Optional |
POST |
userAgent | Request user agent | string Optional |
PostmanRuntime/7.24.0 |
body | Request body | string Optional |
AuditLogResponse
Object
Name | Description | Type | Attributes and examples |
---|---|---|---|
code | Response HTTP status code. For more information, see https://en.wikipedia.org/wiki/List_of_HTTP_status_codes | string Optional |
200 |
body | Response body | string Optional |