GET
/
api
/
v1
/
workspace
/
{workspaceId}
/
audit-logs

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

workspaceId
string
required

The ID of the project to export audit logs from.

Query Parameters

eventType
enum<string>

The type of the event to export.

Available options:
get-secrets,
get-secret,
reveal-secret,
create-secret,
create-secrets,
update-secret,
update-secrets,
delete-secret,
delete-secrets,
get-workspace-key,
authorize-integration,
unauthorize-integration,
create-integration,
delete-integration,
manual-sync-integration,
add-trusted-ip,
update-trusted-ip,
delete-trusted-ip,
create-service-token,
delete-service-token,
create-identity,
update-identity,
delete-identity,
login-identity-universal-auth,
add-identity-universal-auth,
update-identity-universal-auth,
get-identity-universal-auth,
login-identity-kubernetes-auth,
add-identity-kubernetes-auth,
update-identity-kubernetes-auth,
get-identity-kubernetes-auth,
create-identity-universal-auth-client-secret,
revoke-identity-universal-auth-client-secret,
get-identity-universal-auth-client-secret,
login-identity-gcp-auth,
add-identity-gcp-auth,
update-identity-gcp-auth,
get-identity-gcp-auth,
login-identity-aws-auth,
add-identity-aws-auth,
update-identity-aws-auth,
get-identity-aws-auth,
login-identity-azure-auth,
add-identity-azure-auth,
update-identity-azure-auth,
get-identity-azure-auth,
create-environment,
update-environment,
delete-environment,
add-workspace-member,
add-workspace-members,
remove-workspace-member,
create-folder,
update-folder,
delete-folder,
create-webhook,
update-webhook-status,
delete-webhook,
get-secret-imports,
create-secret-import,
update-secret-import,
delete-secret-import,
update-user-workspace-role,
update-user-workspace-denied-permissions,
secret-approval-merged,
secret-approval-request,
secret-approval-closed,
secret-approval-reopened,
create-certificate-authority,
get-certificate-authority,
update-certificate-authority,
delete-certificate-authority,
get-certificate-authority-csr,
get-certificate-authority-cert,
sign-intermediate,
import-certificate-authority-cert,
get-certificate-authority-crl,
issue-cert,
get-cert,
delete-cert,
revoke-cert,
get-cert-body
userAgentType
enum<string>

Choose which consuming application to export audit logs for.

Available options:
web,
cli,
k8-operator,
terraform,
other,
InfisicalPythonSDK,
InfisicalNodeSDK
startDate
string

The date to start the export from.

endDate
string

The date to end the export at.

offset
number
default: 0

The offset to start from. If you enter 10, it will start from the 10th audit log.

limit
number
default: 20

The number of audit logs to return.

actor
string

The actor to filter the audit logs by.

Response

200 - application/json
auditLogs
object[]
required

Was this page helpful?