Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions docs/api-reference/get-audit-logs.api.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
id: get-audit-logs
title: "Get audit logs"
description: "This route allows you to fetch audit logs from your Port account. Your audit logs can also be viewed via [Port's UI](https://app.getport.io/settings/AuditLog).<br/><br/>This route will perform a logical `AND` between all query parameters below, and return all logs that match the criteria.<br/><br/>:::warning Beta integration value<br/>The `integration` value in the `resources` parameter is **experimental**. Its behavior may change in future versions of the API.<br/>:::"
description: "This route allows you to fetch audit logs from your Port account. Your audit logs can also be viewed via [Port's UI](https://app.getport.io/settings/AuditLog).<br/><br/>This route will perform a logical `AND` between all query parameters below, and return all logs that match the criteria.<br/><br/>:::warning Beta integration value<br/>The `integration` value in the `resources` parameter is **experimental**. Its behavior may change in future versions of the API.<br/>:::<br/><br/>**Note:** Non-admin users have limited access to the audit logs API. They may:<br/>- Pass an `identifier` to access a specific audit log.<br/>- Pass an `entity` to retrieve audit logs of entities they have access to.<br/>Non-admin users **cannot** view audit logs of deleted entities."
sidebar_label: "Get audit logs"
hide_title: true
hide_table_of_contents: true
api: eJztWW2PGjcQ/ivWfmmLODguF6lCVSWaIxFq1Jxydx9ahIrZ9YKb3fXG9kII4r93xt4XA8ce4QiJqn45dr32+JnxzDPjuZWn6VR53aHXywKuvVHTC5jyJU81F4nX9e5nXBEpMs0IjSKxUGQpMqIFCZn2Z4TiKhKJqSKhFDF+lORWSE2o74ss0S3yJw4583yagCglyISROWcLFsAPJUNc9YMiD4PRjzOtU9Vtt2matqZMp/ClxUVbMa15MlVtg/WtmP7U+mUi27+aPw7QBY8ikjIZChkTirtyn0Zk3PvjZgy76gVjCCEiHzMmlySlksZMM6ngI6jYJDQJiGQ6k3aaga1nVJOYotJ6xgiYCFZw6iDodrsLKhN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7zsX77ovjw///ORQPY5fGnxNK5YGn5VnvbAr9zikKC85Hr+cJWCd5MO8V99GA5uhui7t+Mr+wQZyL8avh3Cy2NaKH33+vbVq+H1Nay8Hoze3n4YevuCYOWvR2LH0tuDE9BNISTsgWKan6fZRkI/8SRPiCWIlmH7xicV67WYaK5FQgt9KhZHHehbFjxge8VltVXEuh2gmwkSCXKJmQqT6JRRCezCRZLRsG8E1wGgmJNM4DQRwwTdy7Nz/Nnm9IpFNI81+VDsLGMxZERM1lkWQ69t6pe/FR5wWc4kVi3YV+EbpEr4C4eVLsGCFKQU8kG7LwP0g9VdzfWdZ1KwpTNxA/3Yud1et8Gjl2eX97kc1BmxsidAv+AmutY92pIqAs0kuHWeht+0KJwM1yiUez3pQZLYWNlC2zwXgMSbMW06aT2Hl97ivFfbHdqnXJTddS5j2FHPf3i3GP4Y77n/Fdy62uCY+jUK2sq2NPi6uMj478xxn0EOICX/l1aFGt4BzoFRwbhcJMxxrk2SN9OtwXgEW4v5Ciyed89QM5lQOqFG1wX1N0w70cnbEe+6tpjvk7bvk7b/+aStcFAs7HtZTMERwaWMz6+L2HHnLc6xeq+zVtubC4yad956PaWK3cp4s8FlmyQxpoRcUWhi9uRu1wU/fwC3B/RHCDA7sz9je7BoAtnTIR02hmuEVfWtJ4HkTOEaUbmd9UmAuaO4RmTVJPAksKpJXCMmdxB4SljlGO4p4OqB4DERftuTtUa5VPPGk2hsa6bWiOvebO8k+L7ezKnZ250J3IFy+CojnuZMVA+vnsHTaWY6jYwUA6hnMHGKEU4jC2bWdEwPe/4ApxFvNVz6wpjLKU0jmGo09AwLeHRQ04ignAg1A3BFV0xm6gMTfIGOZor95B2OdYp2E6tVe3IAtXXmXnNvnIBUqv76zfDGlMVYI7uN7kfT6BYP7v9QUrf+2+2ALQT86/wrZPvIem3baKi1y/32094TBYt1RAIONpvNfzy/6YQ=
sidebar_class_name: "get api-method"
info_path: api-reference/port-api
custom_edit_url: null
Expand Down Expand Up @@ -36,12 +36,18 @@ import Heading from "@theme/Heading";



This route allows you to fetch audit logs from your Port account. Your audit logs can also be viewed via [Port's UI](https://app.getport.io/settings/AuditLog).<br/><br/>This route will perform a logical `AND` between all query parameters below, and return all logs that match the criteria.<br/><br/>
This route allows you to fetch audit logs from your Port account. Your audit logs can also be viewed via [Port's UI](https://app.getport.io/settings/AuditLog).<br/><br/>This route will perform a logical `AND` between all query parameters below, and return all logs that match the criteria.

**Note:** Non-admin users have limited access to the audit logs API. They may:<br/>
- Pass an `identifier` to access a specific audit log.
- Pass an `entity` to retrieve audit logs of entities they have access to.

Non-admin users **cannot** view audit logs of deleted entities.

:::warning Beta integration value
The `integration` value in the `resources` parameter is **experimental**. Its behavior may change in future versions of the API.
:::


<Heading
id={"request"}
as={"h2"}
Expand Down
9 changes: 1 addition & 8 deletions static/apispec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28212,14 +28212,7 @@ paths:
summary: Get audit logs
tags:
- Audit
description: "This route allows you to fetch audit logs from your Port account.
Your audit logs can also be viewed via [Port's
UI](https://app.getport.io/settings/AuditLog).<br/><br/>This route will
perform a logical `AND` between all query parameters below, and return
all logs that match the criteria.<br/><br/>:::warning Beta integration
value<br/>The `integration` value in the `resources` parameter is
**experimental**. Its behavior may change in future versions of the
API.<br/>:::"
description: "This route allows you to fetch audit logs from your Port account. Your audit logs can also be viewed via [Port's UI](https://app.getport.io/settings/AuditLog).<br/><br/>This route will perform a logical `AND` between all query parameters below, and return all logs that match the criteria.<br/><br/>**Note:** Non-admin users have limited access to the audit logs API. They may:<br/>- Pass an `identifier` to access a specific audit log.<br/>- Pass an `entity` to retrieve audit logs of entities they have access to.<br/>Non-admin users **cannot** view audit logs of deleted entities.<br/><br/>:::warning Beta integration value<br/>The `integration` value in the `resources` parameter is **experimental**. Its behavior may change in future versions of the API.<br/>:::"
parameters:
- schema:
type: string
Expand Down