
View audit logs
Anyone with the Read permission on Audit Logs has access to view audit logs. For more information, check out Role-based access controls.For an organization
To view all events in an organization across every product:- Infisical UI
- API
For a product
To view all events scoped to a single product:- Infisical UI
- API
Log structure
Each log contains the following fields:web, cli, k8-operator, terraform, InfisicalPythonSDK, InfisicalNodeSDK, remote-mcp (the Infisical MCP server), or other.Example payload
Event classes
Every event type belongs to one of four classes, based on the kind of activity the event records.Choose which classes to record
You can turn authentication and authorization events on or off. Management and data access events are always recorded, so the log always has every configuration change and every read of secret material.- For an organization
- For a project
- API
Permission denials
If you turn authorization events on, Infisical records apermission-denied event whenever a user or machine identity tries an action its role doesn’t allow. The event’s metadata includes:
suppressedRepeats. The summary’s suppressedFrom and suppressedUntil fields give the start and end of the interval covered by that count.Filtering audit logs
You can filter audit logs to find events more easily. When you set more than one filter, an event needs to match all of them to appear in the results.* aren’t supported.By date
- Infisical UI
- API
Advanced filters
- Infisical UI
- API
user, identity, service, kmipClient, kmipServer, gateway, relay, agentVaultProxy, acmeProfile, acmeAccount, estAccount, scepAccount, and microsoftAutoenrollmentAccount.platform, scimClient, and unknownUser don’t have an ID field and can only be filtered by type.Special characters
Every filter compares the raw string value as-is, so filter values that contain$, ., /, @, or any other special character work without escaping.
For example, to filter for a secret key named $DB/PROD.URL:
\$ is only there to stop the shell from expanding $DB as a variable. The filter itself takes $DB/PROD.URL as-is.
Filtering by event metadata
The API accepts aneventMetadata query parameter that matches key/value pairs inside event.metadata. Pass it as key1=value1,key2=value2. Every pair has to match on the same event.
Use it for queries the built-in filters can’t express, like every login for a specific identity, or every secret sync run for a specific destination:
, can’t be filtered this way, because , separates the pairs. Values with = work: only the first = in each pair is treated as the separator, so the rest of the string passes through.Common filters
Here are a few common patterns for filtering audit logs, grouped by product.Secrets Management
Who read a specific secret
Who read a specific secret
DATABASE_URL in the prod environment.- Infisical UI
- API
event:get-secretproject: the project holding the secretenvironment:prodsecret_key:DATABASE_URL
Who opened a folder
Who opened a folder
/db folder — for example, by opening it in the web UI, running infisical secrets-manager secrets, or having an app fetch it at startup. Each event records the folder, the actor, and how many secrets came back.- Infisical UI
- API
event:get-secretsproject: the project holding the folderenvironment:prodsecret_path:/db
All writes to production
All writes to production
prod environment over the last 7 days.- Infisical UI
- API
event:create-secret,update-secret,delete-secret,create-secrets,update-secrets,delete-secretsproject: the project you want to auditenvironment:prod
create-secrets, update-secrets, delete-secrets) so that bulk changes from the CLI or SDKs aren’t missed. The environment filter only applies when a project is set.Who deleted a secret
Who deleted a secret
- Infisical UI
- API
event:delete-secret,delete-secretsproject: the project holding the secretsecret_key: the key that was deleted
secret_key filter only applies when a project is set.Certificate Management
Recent certificate issuance
Recent certificate issuance
order-certificate-from-profile event captures the request at submit time (typically with event.metadata.status = pending), and Infisical doesn’t update the audit row later. To confirm which orders resulted in issued certificates, check the certificate list in Certificate Manager.- Infisical UI
- API
event:issue-cert,issue-pki-subscriber-cert,issue-certificate-from-profile
event.metadata varies by issuance path:issue-certrecords the certificate authority (CA), its distinguished name (DN), and serial number- Subscriber and profile events record the subscriber or profile ID and common name, with the serial number added once the certificate is issued
Why a certificate failed to issue
Why a certificate failed to issue
certificate-issuance-failed event for certificates requested from a certificate profile through the API or the Infisical UI, ACME, EST, SCEP, and Microsoft Autoenrollment, including renewals and certificates issued after an approval.automated-renew-certificate-failed event instead. Infisical doesn’t record certificate-issuance-failed for EST enrollment through a certificate template, for EST requests rejected before Infisical reads the CSR (such as a failed sign-in or a rejected client certificate), or for requests the actor’s role doesn’t allow, which are recorded as permission-denied events. Microsoft Autoenrollment requests refused before issuance, such as a failed Kerberos sign-in or a computer outside the allowed groups, are recorded as microsoft-autoenrollment-request-refused events.- Infisical UI
- API
event:certificate-issuance-failed
event.metadata of each result records which certificate failed and why:operation: what was requested (issue,sign,order, orrenew)enrollmentType: how the certificate was requested (api,acme,est,scep, ormicrosoft-autoenrollment)erroranderrorName: why issuance failed, such as a TTL longer than the certificate policy allows or an error from the CAcertificateProfileId,profileName,caId,caName,commonName,applicationId, andapplicationName: the certificate the request was for, where Infisical knows themcertificateRequestId: the certificate request that failed, if Infisical had already created oneoriginalCertificateId: on a failed renewal, the certificate being renewedapprovalRequestId,approvalPolicyName,requesterName, andrequesterEmail: on a request that needed approval, the approval request, its policy (while the policy exists), and who requested it (requesterEmailonly if the requester has an email address)suppressedRepeats,suppressedFrom, andsuppressedUntil: on a summary event, how many identical failures Infisical counted instead of recording, and the minute they fell in
platform if issuance fails after the original request has returned. That happens in two cases: an external CA, such as DigiCert or AWS Private CA, fails the order in the background, or issuance fails once an approver approves the request. An approved request for an external CA goes through the same background step. If the request didn’t need approval, find who requested the certificate through the API or the Infisical UI by filtering by the original event, such as order-certificate-from-profile, and matching the certificateRequestId.Infisical counts identical failures the same way it counts repeated denials. In each minute, it records the first failure with a given actor, operation, certificate, and error, then writes one summary event when the minute ends.Who revoked a certificate
Who revoked a certificate
- Infisical UI
- API
event:revoke-cert,request-cert-revocation,cert-revocation-failed
event.metadata.revoke-cert event shows how the certificate was revoked:- A user or machine identity: that actor revoked the certificate right away
platform, with the approval request’s ID inevent.metadata.approvalRequestId: Infisical revoked the certificate once the request was approvedplatform, withevent.metadata.sourceset tomicrosoft-intune: Microsoft Intune asked Infisical to revoke the certificateplatform, withevent.metadata.sourceset tosame-certificate: Infisical revoked the certificate because another copy of it was revoked, such as the certificate you imported again after deleting this one, with that copy’s ID and name inevent.metadata.revokedThroughCertIdandevent.metadata.revokedThroughCertNameplatform, with neither field: the certificate’s DigiCert CA revoked it, and Infisical recorded the revocation
cert-revocation-failed event instead, with platform as the actor and the reason in event.metadata.error.To find who requested and who reviewed an approved revocation, look for events with the same approvalRequestId:request-cert-revocation: the actor requested the revocationapproval-request-approveandapproval-request-reject: the actor approved or rejected the request
eventMetadata to return every event for one approval request:Who approved a certificate renewal
Who approved a certificate renewal
- Infisical UI
- API
event:renew-certificate,automated-renew-certificate,approval-request-approve,approval-request-reject,certificate-issuance-failed
event.metadata.renew-certificateorautomated-renew-certificatewith the statuspending_approval: the actor, or automatic renewal, requested the renewalapproval-request-approveandapproval-request-rejectwith thepolicyTypecert-request: the actor approved or rejected the request, with these fields:event.metadata.certificateIdis the certificate being renewedevent.metadata.certificateName, when present, is that certificate’s common name, or its first SAN if it has no common nameevent.metadata.commonName, when present, is the common name the renewal requests
renew-certificatewithplatformas the actor: after the approvers approved the request, Infisical renewed the certificate (the status isissued) or sent the renewal to an external CA (the status ispending)- A second
renew-certificatewithplatformas the actor and the statusissued, for an external CA such as ACME or Microsoft ADCS: the CA issued the renewed certificate, andevent.metadata.newCertificateIdis the new certificate certificate-issuance-failedwithplatformas the actor and the operationrenew: the approved renewal failed, andevent.metadata.errorholds the reason- For an EST, SCEP, or Microsoft Autoenrollment renewal, Infisical records
approval-request-approveorapproval-request-reject, andcertificate-issuance-failedif the approved renewal fails, but notrenew-certificate
event.metadata.approvalRequestId and the requester’s name in requesterName. If the requester has an email address, the event also includes it in requesterEmail. If the approval policy still exists, the event also includes the policy’s name in approvalPolicyName.Through the API, add eventMetadata to return the decisions and the outcome for one approval request:Who deleted a certificate
Who deleted a certificate
delete-cert event for each certificate it deletes. It records certificate-cleanup-completed events instead, which list the deleted certificates’ serial numbers in event.metadata.certificateSerialNumbers.- Infisical UI
- API
event:delete-cert,request-cert-deletion,cert-deletion-failed,certificate-cleanup-completed
event.metadata.delete-cert event shows how the certificate was deleted:- A user or machine identity: that actor deleted the certificate right away
platform, with the approval request’s ID inevent.metadata.approvalRequestId: Infisical deleted the certificate once the request was approved, andrequesterNamenames the requester
platform as the actor:cert-deletion-failed: the request was approved but the deletion failed, with the reason inevent.metadata.errorapproval-request-cancel: a new deletion request replaced this one because too few of its approvers could still approve it
delete-cert and cert-deletion-failed events that Infisical records after the approval also include the requester’s email in requesterEmail if they have one, and the policy’s name in approvalPolicyName if the policy still exists.If the certificate was already deleted when the request was approved, Infisical records neither delete-cert nor cert-deletion-failed for the request.To find who requested and who reviewed a deletion request, look for events with the same approvalRequestId:request-cert-deletion: the actor requested the deletion, andapprovalPolicyNamenames the policy that required approvalapproval-request-approveandapproval-request-reject: the actor approved or rejected the request
eventMetadata to return every event for one approval request:Key Management Service (KMS)
Recent key use
Recent key use
- Infisical UI
- API
event:cmek-encrypt,cmek-decrypt,cmek-sign,cmek-verify
event.metadata.keyId on each row.Key lifecycle changes
Key lifecycle changes
- Infisical UI
- API
event:create-cmek,update-cmek,delete-cmek
Secret Scanning
Recent scan runs
Recent scan runs
event.metadata records the data source, the scan type, and the status. Successful runs also include numberOfSecretsDetected.- Infisical UI
- API
event:secret-scanning-data-source-scan
secret-scanning-data-source-trigger-scan to the event filter. On-demand scans then appear twice: once as a trigger and once as a completed run.Finding updates
Finding updates
- Infisical UI
- API
event:secret-scanning-finding-update
Privileged Access Management (PAM)
All privileged sessions this week
All privileged sessions this week
- Infisical UI
- API
event:pam-session-start,pam-session-end,pam-session-terminate
Who accessed a specific PAM account
Who accessed a specific PAM account
- Infisical UI
- API
event:pam-account-access,pam-account-credentials-view
event.metadata.accountId names the account and actor names the accessor.Agent Vault
Sessions issued this week
Sessions issued this week
- Infisical UI
- API
event:agent-vault-session-mint,agent-vault-session-revoke
Proxy lifecycle events
Proxy lifecycle events
- Infisical UI
- API
event:agent-vault-proxy-register,agent-vault-proxy-token-rotate,agent-vault-proxy-revoke,agent-vault-proxy-delete
Identities and authentication
Everything a specific identity did
Everything a specific identity did
- Infisical UI
- API
actor:identityactor_id: the identity’s ID
Failed login attempts for an identity
Failed login attempts for an identity
- Infisical UI
- API
event:login-identity-universal-auth-failed,login-identity-kubernetes-auth-failed,login-identity-oidc-auth-failed,login-identity-gcp-auth-failed,login-identity-aws-auth-failed,login-identity-jwt-auth-failedactor:identityactor_id: the identity’s ID
event list to include any other *-failed variants your organization uses (SPIFFE, LDAP, AliCloud, and so on).Event types
Infisical emits hundreds of event types. Here are some of the most common ones you’ll encounter.Secrets
Secrets
Identities and authentication
Identities and authentication
Projects and access
Projects and access
Integrations and secret sync
Integrations and secret sync
Approvals
Approvals
Audit logs
Audit logs