Audit logging in promptfoo Enterprise

Audit logging in promptfoo Enterprise gives security and compliance teams a record of who did what in the platform. This page explains what to confirm in the logs, what they may omit, and how to use them in access reviews.

On this page

Audit logging in promptfoo Enterprise: what it is for and when access reviews need it

If you are a security or compliance lead, your question is usually simple to state and harder to answer: who can run red team scans, who can view findings, and who changed the settings that decide both. In a team-shared LLM testing platform, those answers come from more than one place. Audit logging is the Enterprise capability meant to record this kind of activity, and it sits alongside team sharing, teams-based access control, SSO, and custom roles and permissions. The pricing page lists those features together for the Enterprise tier, and the same tier is the one that carries over to On-Premise deployments. Audit logging is not part of the free Community edition, so a team relying on it needs an Enterprise agreement before the question even arises.

The public pricing and documentation pages supplied for this topic do not itemize the audit events. They do not say which actions are recorded, what fields each entry holds, how long entries are kept, or whether they can be exported to a SIEM. Before you plan an access review around them, ask promptfoo for the written event catalog, the log schema, the retention period, the export method, and whether entries cover changes to SSO mappings, role assignments, shared targets and API keys. Ask who can read the logs and whether that access is itself logged. Those answers decide whether the logs can serve as evidence or only as a starting point for your own investigation.

Teams usually need this evidence at specific moments: a periodic access review, an internal audit or assessment that asks who can reach AI testing results, a change to who administers the platform, or an incident where you must show whether a scan or a settings change happened and by whom. Confirm in a pilot that a test change, such as moving a user to a different team, produces an entry you can find and explain. If the entry is missing or ambiguous, treat the Enterprise tier as insufficient evidence on its own and document a compensating control, such as a quarterly manual review of role assignments in your identity provider.

Which audit log settings and review methods fit each situation

This table compares the ways a reviewer can use promptfoo Enterprise audit logs, from periodic exports to direct review and central forwarding, alongside the hosted and On-Premise deployment choices that shape them. Read each row against your own review cadence and tooling, then confirm the open points with promptfoo before you rely on a method.

OptionWhen it fitsConfirm with promptfoo firstMain trade-off
Direct review in the Enterprise interfaceSmall review scope where a named owner checks access changes on a fixed schedule and keeps their own notesWhich events appear in the interface, how far back the view reaches, and who can view or filter logs by roleFast to start, but evidence lives in one tool and depends on someone recording each review
Periodic export to a GRC toolAssessors expect evidence in your GRC platform and reviews run on a fixed cycleExport options and formats, whether exports can be scheduled or must be pulled by hand, and whether exported records are completeAdds a manual or scripted step, and gaps appear if the export window misses a period
Forwarding to a central log storeSecurity operations already collect logs centrally and want alerts on administrative changesWhether forwarding is supported, the transport and delivery guarantees, and which event fields are includedStrongest continuity of evidence, but you own the pipeline, storage and retention in your own log store
Hosted Enterprise platformYour team wants promptfoo to run the service and accepts vendor-managed hosting for the platformWhere the hosted data is stored, which audit events are retained and for how long, and how you request recordsLess infrastructure to run, but log retention and access to raw records depend on the vendor's terms
Enterprise On-PremiseData must stay inside your own infrastructure and your team can run the log pipelineWhich log outputs exist on your infrastructure, the retention controls you can set, and the role of the dedicated deployment engineerFull data isolation, but your team takes on storage, backup and review operations for the logs
Identity provider sign-in recordsYou need to show who signed in and which group or role mapping applied to themWhether SSO events are written to the promptfoo audit trail or only to your identity providerYour identity provider may hold the sign-in evidence while promptfoo holds the in-app actions, so reviews need both

What promptfoo audit logs capture and what they leave out

Start by building a verified list of captured events, because an access review is only as good as the list of actions it can see. Ask the vendor for a written inventory of the audit events that promptfoo Enterprise records, and check each category against the product documentation: user sign-ins and the SSO assertions behind them, team and role changes, membership changes, changes to shared targets and plugin collections, and administrative settings. For each category, confirm whether the event records the actor, the target object, the time, the previous value and the outcome. An event that shows a role changed but not who changed it, or when, proves less than it appears to. Treat the vendor's answer as the reference for your review, and keep it with the evidence you collect.

The gaps are where reviewers most often get caught out. Confirm in writing whether audit logs record LLM prompt and response content, red team scan payloads, or the contents of target configurations that hold endpoint details. Ask whether API key use from CI pipelines appears as an identifiable event tied to a specific key or service account, and whether actions taken through the CLI are logged with the same detail as actions in the web UI. If the answers differ by channel, your access review must cover both paths. Also confirm how long events are retained and how you export them, since an access review that cannot reach the period in question is not a review.

Frame the log as evidence for an access review, meaning it shows who had access, who changed it and whether those changes followed your approval process. It does not, by itself, show that a control meets a framework requirement, and a logged event does not establish compliance on its own. Use the log to answer specific questions: did each sign-in map to an active user, did each role change have an approver, and did any shared target change without a matching ticket. Where the log cannot answer a question, record that gap and decide whether to close it through configuration, process or a request to the vendor before the review date.

How an access event moves from promptfoo Enterprise to your review

The diagram starts with a user or CI service account acting in promptfoo Enterprise. The platform records that action as an audit event. In an On-Premise deployment, the event store and the export or admin interface sit inside your environment, so the trust boundary is yours to control. A reviewer reaches the events through one of those paths. Before you rely on the trail, confirm where events are stored and who can read them, including whether actions taken by a CI service account are attributed to a named owner. Get both answers in writing from promptfoo for your deployment.

Event flow from account action to reviewer, with the two points to confirm marked.

How to set up audit log reviews for promptfoo Enterprise access

This sequence turns promptfoo Enterprise audit events into a repeatable access review, with named identities, a defined scope, clear owners and a retained evidence package that a security or compliance reviewer can follow.

  1. Confirm the event list and retention in writing

    Ask promptfoo, in writing, which audit events the Enterprise edition records, which fields each event carries (actor, action, target, timestamp, outcome), how long events are kept, how they are exported, and whether the On-Prem deployment stores them inside your environment. Record the answers in the review file with the date and the name of the person who gave them. Done when you hold a written answer for each question and can point to any gap, such as an event type you need that is not listed.

  2. Verify SSO and teams-based access control

    Confirm that promptfoo Enterprise is configured with single sign-on and teams-based access control, so that logged actions are tied to named people rather than shared accounts or generic admin logins. Check whether any shared or local accounts still exist and whether they are disabled or documented as exceptions. Done when a sample of recent events shows individual identities, and you can list every account that can perform administrative actions.

  3. Map roles and teams to the review scope

    List the teams, custom roles and permissions that exist in your deployment and decide which of them fall inside the review: administrators, owners of shared targets, people who manage plugin collections, and service accounts used by pipelines. Write each role next to the access it grants and the people or groups assigned to it. Done when every in-scope role has a named owner and an expected member list that the reviewer can compare against the log.

  4. Define the review cadence and owners

    Agree who runs the review, who approves exceptions and who receives the results, and set the cadence in your own governance calendar rather than relying on a default. Name a primary reviewer and a backup, and state what triggers an out-of-cycle review, such as a departure, a role change or an incident. Done when the cadence, owners and escalation path are written into your access review procedure and signed off by the system owner.

  5. Run a test action and confirm it is logged

    Use a non-production test account to make a controlled change, such as adding a user to a team, changing a role and removing the user again. Then search the audit log for each action and check that the actor, action, target and time match what you did. Record any event that is missing or unclear and raise it with promptfoo before relying on the log. Done when every test action appears with the expected fields and the test record is saved in the evidence package.

  6. Run the first access review

    Export or open the audit events for the review period, compare the recorded role and team changes with the expected member lists from the previous step, and investigate anything that does not match an approved change. Mark each access as confirmed, changed or removed, and log the reason. Done when every in-scope role has a recorded decision from the reviewer and each discrepancy has a ticket or an explanation.

  7. Document the evidence package

    Assemble the artifacts an auditor or internal reviewer will ask for: the written event and retention answers, the SSO and access control configuration summary, the role and owner map, the cadence and approval records, the test action results, and the completed review with its exceptions. Store them under version control or in your records system with dates. Done when a reviewer who has not been involved can trace one account from its approval to its logged actions and its review decision.

Security considerations for audit data itself

An audit log is only as useful as its integrity, and it can hold sensitive material of its own. The cards below cover the risks in the audit trail itself: who can read or change it, what it records about prompts and targets, how it is protected, whether timestamps and identities line up, and how shared credentials show up in events. Verify each one before you rely on the log in an access review.

Read and delete access to logs

Audit records are only evidence if the people they describe cannot edit or remove them. Confirm which Enterprise roles can view audit logs, which can export them, and whether any role can delete or modify entries. Ask promptfoo whether audit records are append-only and whether deletion is possible through the UI, API or database. Then confirm the same restriction holds for your own log forwarding or archive, where a platform administrator might otherwise have unrestricted rights.

Sensitive content in event payloads

Red team and eval activity involves prompts, target endpoints, system prompts and sometimes sample customer data. Ask which of these are written into audit events in full, which are summarized, and which are omitted. A log that copies prompt text can become a second store of regulated data with its own retention and access problems. Check whether your data handling rules for evaluations also cover the audit trail, and document the answer for your privacy reviewers.

Protection in transit and at rest

Audit events travel from the platform to your SIEM, object store or export file, and they sit in the platform database in the meantime. For On-Prem deployments, confirm that TLS protects traffic between the web UI, API, identity service and any log destination, and that the database holding events is encrypted or sits on encrypted storage under your control. Ask who holds the keys and how backups of audit data are encrypted and restricted.

Clock and identity consistency

Access reviews depend on matching a timestamp to one person. Check the time source used by the platform and its identity service, and confirm that events record the time in a single consistent format. Then test how a user signed in through SSO appears compared with a local account, including whether the same person can produce two identities after a provider change. Ask promptfoo how user identifiers are assigned and whether they stay stable when an email address changes.

Service accounts and shared API keys

CI pipelines and automation act through service accounts and API keys, so their events can look like those of a person. Confirm that each event records which key or service account acted, the team it was scoped to, and the user who created it. Shared keys that several pipelines use make it impossible to attribute an action to one job. Ask whether revoked keys remain visible in history and whether events show key creation, rotation and deletion.

Log retention and export

An audit trail that rolls off after a fixed period may not cover the window your access review needs. Ask promptfoo what retention applies to audit events in Enterprise and On-Prem, whether it can be changed, and how older records are exported before deletion. Confirm that your own archive meets the retention your auditors request, and test a full export and import before the first review so that gaps are found early.

Who owns the audit trail in hosted and On-Premise deployments

In the hosted model, promptfoo operates the Enterprise platform, including the service that records activity from your organization. Your team administers the controls it can reach: organizations, teams, custom roles, SSO configuration and the users who hold admin rights. Because the platform is vendor-operated, questions about where audit records are stored, how long they are kept and how they can be exported are answered by the vendor and the agreement, not by settings your team can inspect directly.

  • Vendor operates the store: promptfoo runs the service that holds audit records, so your team does not patch, back up or scale the database behind it.
  • Your team operates access: team membership, custom roles and SSO mappings determine who can review the log, so review those assignments as part of any access review.
  • Confirm retention in writing: ask how long events are kept, whether older records are deleted, and whether that period matches your own policy.
  • Confirm export and backup: ask whether you can export the full log, in what format and on what schedule, and whether a copy can be kept in your own records system.
  • Confirm vendor access: ask which promptfoo staff can read tenant audit data, under what approval, and whether that access is itself logged.

Get these answers in writing before you rely on the hosted log for an access review.

Limits to confirm before relying on audit logs for compliance evidence

Audit logs only count as compliance evidence if you know what they record, how long they live, and whether they can be trusted and exported. The supplied product facts do not settle these points, so each card below names a question to close and who should answer it before an access review depends on the logs.

Event catalog and field coverage

Ask the vendor for the complete list of audited events in promptfoo Enterprise, including logins, role and team changes, target and plugin edits, red team runs, exports and deletions. For each event, confirm which fields are recorded, such as actor, target object, source address and outcome. An access review needs every privilege change to appear, so a missing event type is a gap you must document before the review starts. Vendor (product documentation or written answer).

Retention period and deletion

Confirm how long audit records are kept in Enterprise and in On-Prem, whether the period is configurable, and who can delete or truncate them. Also confirm what happens to records after a user is removed or an organization is closed. If your evidence window is longer than the retention period, you need an export process before the window ends. Owner: promptfoo account team in the written scope, checked by your records management lead.

Export and API access

Confirm whether audit records can be exported in bulk, in what format, and through which API or interface. Check whether the export includes the same fields as the console view and whether it can be scheduled. Test one full export against a known set of actions before you depend on it for a review. Owner: promptfoo account team, verified by your platform engineer during the pilot.

Timestamps and time zone behavior

Confirm that every record carries a timestamp, the time standard it uses (typically UTC), and the precision of that timestamp. Mixed time zones or coarse precision can make sequence reconstruction during an incident unreliable. Compare a few events against your identity provider and host clocks during testing. Owner: promptfoo account team for the format, your infrastructure team for the clock comparison.

Tamper resistance and integrity checks

Ask whether audit records can be edited or deleted by administrators, whether they are append-only, and whether any hashing or signing lets you prove a record has not changed. Without this, an auditor may treat the log as a convenience record rather than primary evidence. Ask the vendor in writing, and for On-Prem, confirm which database administrator actions remain possible on your side. Owner: promptfoo account team and your security architect.

Forwarding to a SIEM

Confirm whether audit events can be streamed or pushed to your SIEM or log platform, which transport and format are supported, and whether delivery is retried if the receiver is down. If forwarding is not supported, decide how you will collect the records and how often. Owner: promptfoo account team for supported options, your security operations team for the receiving side.

Identity controls in self-hosted community setups

Do not assume Enterprise identity controls exist in a self-hosted community deployment. The documented self-hosted app stores data in a local SQLite database, has no RBAC, and has no built-in authentication or SSO, and the documentation does not recommend it for production. Any actor who can reach that server may be able to act without an identifiable user, so audit records from it cannot support an access review of named people. Owner: your platform team, confirmed against the self-hosting documentation.

Self-hosting docs

What do buyers ask about audit logging setup, cost and effort?

What does audit logging setup cost in promptfoo Enterprise?

The cost depends on the deployment model, the identity integration, the number of teams and roles, and the retention and SIEM requirements you set. promptfoo sells Enterprise and On-Premise at custom pricing, so no public figure applies to audit logging on its own, and this page does not give one. Ask promptfoo for commercial terms, then ask DeployOpen for a written scope that lists each piece of work. Expect a quote to separate the one-time setup (log routing, role mapping, test exports) from any recurring retention storage, SIEM licensing or support you run after go-live.

Is audit logging included in promptfoo Enterprise or does it need separate scoping?

Confirm this with promptfoo before you plan, because the public pricing page lists Enterprise features such as team sharing, teams-based access control and SSO, custom roles, and continuous monitoring, but it does not describe audit log fields, export options or retention in detail. Ask promptfoo which log events are recorded, where they are stored, how they are exported and how long they are kept in your deployment model. If the answer depends on On-Premise or a SIEM connector, record that in the written scope so the review setup is not assumed to be included.

How long does it take to plan and verify an audit log review setup?

The duration depends on how many teams and roles you have, whether SSO maps groups to roles, and whether logs must reach an existing SIEM. No timeline figure is supplied for this work, so ask for a duration in the written scope rather than relying on an estimate. Planning usually covers the review questions, retention period and owners. Verification means generating test actions (a role change, a shared target, a deleted result), confirming each appears in the log with the expected actor and time, and checking that an exported copy matches. Schedule a dry run before the first formal access review.

What does the work need from our identity and security teams?

Your identity team owns the source of truth for users and groups, so they must confirm which identity provider groups map to promptfoo teams and roles, and who can approve a change. Your security team sets the log retention period, decides which events feed a SIEM, and defines who may read or export logs. Both teams should agree on how deprovisioned users appear in the log, since a clean access review depends on it. Ask for a list of these decisions at scoping, because most delays come from unanswered ownership questions.

Can an internal team run access reviews without outside help?

Yes, many teams can run access reviews with their own staff once the log fields, export format and role model are documented. The reviewer needs to compare current team and role membership against the log of recent grants and removals, then record a decision for each person. Internal teams usually need a written procedure, a sample review that has been checked against known changes, and someone who understands promptfoo's role model. Outside help is most useful for the first setup and for testing the evidence the auditor will ask to see.

When is it worth bringing in an implementation partner for audit logging?

Bring in a partner when the setup spans an On-Premise deployment, an SSO integration, several product teams with separate roles, or a SIEM and retention requirement that your team has not built before. DeployOpen plans, implements, documents and tests self-hosted platforms inside your own infrastructure, and prepares systems and evidence for compliance assessments, but it does not issue audit reports or certifications; independent auditors do that. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer.

How DeployOpen scopes and supports audit logging reviews

DeployOpen treats audit logging as one part of a wider Enterprise rollout inside your own infrastructure. We agree in writing what log sources, retention and review steps are in scope, then build and document the setup so your security and compliance teams can review it.

How we scope

  • Engagements are fixed-scope, with the audit log sources, event types and review questions agreed in writing before work starts.
  • We confirm which Enterprise and On-Premise features are in the deployment, since log coverage depends on the edition you run.
  • We record who needs access to the logs, which reviews they support and where the logs must be retained under your policies.

How we build

  • We configure the deployment so audit events flow to the destination your security team already uses, and confirm each event type arrives.
  • We test the logging with sample actions such as role changes, team sharing and key creation, then compare the output with the agreed review list.
  • We document gaps, such as activity the logs do not record, so compensating controls can be planned before the first access review.

How we hand over

  • You receive a written configuration record, a field-level description of the exported events and a runbook for the access review.
  • We walk your reviewers through sample entries and show how to filter them by user, team and time window.
  • Handover notes list the open items your team must confirm with the vendor, including any log behavior we could not verify in your environment.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so logging keeps working after each platform release.
  • We retest audit log coverage after changes to identity, roles or the runner, and report any drift from the agreed scope.
  • Retainer work can include preparing log evidence for your internal or external auditors, without DeployOpen issuing any audit opinion.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.