Get audit logs
GET/v1/audit-log
This route allows you to fetch audit logs from your Port account. Your audit logs can also be viewed via Port's UI.
This route will perform a logical AND
between all query parameters below, and return all logs that match the criteria.
Requestโ
Query Parameters
An identifier of the log event you want to fetch.
Fetch all audit logs related to the specified entity.
Fetch all audit logs related to the specified blueprint.
Fetch all audit logs related to the specified action run.
Fetch all audit logs related to the specified webhook.
Fetch all audit logs related to the specified webhook event.
Fetch all audit logs coming from the specified origin/s. This refers to the integration/s that triggered the log. For operations performed via Port's UI, the origin will be UI
.
Fetch all audit logs related to the specified integration.
Possible values: [blueprint
, entity
, run
, webhook
, scorecard
, action
]
Fetch all audit logs related to the specified resource type/s.
Possible values: [action
, context
, diff
, identifier
, resourceType
, status
, trigger
, additionalData
, message
]
The fields you want to include in the response. If used, only the specified fields will be included in the response.
The starting timestamp of the audit logs you want to fetch, in the ISO format 2022-04-23T18:25:43.511Z
.
The ending timestamp of the audit logs you want to fetch, in the ISO format 2022-04-23T18:25:43.511Z
.
Fetch all audit logs with the specified action type - CREATE
, UPDATE
, or DELETE
.
Possible values: [SUCCESS
, FAILURE
]
Fetch all audit logs with the specified status.
The maximum number of logs to fetch.
Responsesโ
- 200
Default Response