SaaS Audit Logs: What Enterprise Buyers Need
SaaS audit logs enterprise buyers can trust: what to record, how to protect it, how long to keep it and how to export it by tenant.

SaaS audit logs are append-only records of who did what to which customer's data, when and with what result, kept by the provider and shown to each customer for its own account. Enterprise buyers ask about them early, and the Australian Cyber Security Centre notes that with SaaS a significant share of logging responsibility sits with the provider, in its event logging guidance.
Buyers check logging as one of eight areas in our guide to SaaS security. This guide turns that area into a design for Australian product owners and development leads. The tenancy choice made when choosing a SaaS tech stack decides how easy the customer-facing part is.
Key Takeaways
- Buyers want a log of who did what to which tenant's data that they can export themselves.
- Record fixed event classes with the same core fields, and keep secrets out of the payload.
- Protect the store with insert-only credentials, append-only storage, a tamper check and a silence alert.
- Set retention from contracts and privacy duties, and accept the feature only after seeded tests pass.
What Do Enterprise Buyers Ask About SaaS Audit Logs?
- Security team - Can anyone, including your staff, edit or delete an event?
- Compliance - Can we see who accessed or changed our records?
- IT administrators - Can we pull events into our own tools without a ticket?
- Privacy and legal - What personal information is in the log, and how long is it kept?
- Procurement - Does the contract state what is logged and for how long?
These questions map to the AICPA Trust Services Criteria, where CC7.2 covers monitoring system components for anomalies analysed as possible security events and CC7.3 covers evaluating them. Logs feed both, but a SOC 2 report is a CPA firm's attestation, not a certification, and no log design guarantees security. Our guide to SOC 2 readiness for SaaS founders covers it.
Decision Inputs for SaaS Audit Logs
Settle four inputs first.
- Reader - Tenant administrators in the product, analysts in their own tools, or both.
- Tenancy model - Shared tables need a verified tenant ID on every event, while separate databases change where the log lives.
- Data sensitivity - Which fields hold personal information, and which values must never be written.
- Retention and volume - The contract period, and a storage budget that covers logging reads of sensitive records.
What Should SaaS Audit Logs Record?
Tie each event class to a buyer question, because OWASP warns that a blind checklist can create "alarm fog" that hides real problems.
- Authentication - Sign-in successes and failures, MFA changes and session revocation.
- Authorisation - Denied requests, especially attempts to reach another tenant's records, plus role changes and API key creation.
- Administration - User invites and removals, tenant settings, and retention or logging settings.
- Data events - Creates, changes and deletes on customer records, bulk imports, and every export or download.
- Provider access - Support sessions, break-glass use and staff reads of tenant data, with a reason and ticket reference. Customers should see this class.
OWASP asks every entry to record when, where, who and what. In practice that means an event ID, event and ingest times in UTC, the tenant ID, the actor and role, a fixed action name, the target object, the result, a reason and a request ID. The ACSC recommends ISO 8601 UTC timestamps and structured JSON with a consistent schema.
Record that a sensitive field changed, not its value. OWASP says passwords, access tokens, session identifiers and sensitive personal data should usually be removed, masked, hashed or encrypted before logging. Staff console actions are covered in our guide to SaaS admin dashboards.
How Do You Make SaaS Audit Logs Tamper-Resistant?
A log that staff or attackers can edit is not evidence, so protection comes from permissions and storage, not application code alone.
- Insert-only writer - The application writes through a database role that can only insert, as OWASP advises for log writes.
- Append-only storage - OWASP's multi-tenant guidance asks for append-only behaviour enforced by database permissions or write-once, read-many storage.
- Tamper evidence - A hash chain or signed digest makes edits detectable. That is our example; OWASP notes it detects modification rather than preventing it.
- Separate copy - The ACSC says some malicious actors modify or delete local logs, and recommends central aggregation in a segmented store with backups.
Decide what happens when the writer fails. OWASP says logging failures should not stop the application otherwise running, so as our judgement, refuse only high-risk actions such as exports, role grants and support sessions when their record cannot be saved, and buffer and alert for the rest.
Retention, Privacy and Deletion for SaaS Audit Logs
Audit logs hold personal information such as user identifiers, emails and IP addresses. The OAIC's APP 11 guidance expects reasonable steps, including technical and organisational measures, to protect it, and to destroy or de-identify it once it is no longer needed, unless an Australian law or a court or tribunal order requires it to be kept. Keeping every event forever by default is hard to defend.
Security pulls the other way. The ACSC says default retention periods are often insufficient, retention should follow a risk assessment, and in some cases discovering an incident can take up to 18 months. That advice is for an organisation's own security logs, so treat it as an input, not a rule for customers' logs.
Our suggested shape: a hot window and cold archive matching the contract, an expiry per event class enforced by a job that records its runs, and on tenant exit a final export then deletion, as in our guide to SaaS data export. No source we checked sets one period for SaaS products.
How Should Customers Get Their Own SaaS Audit Logs?
Each customer reads only its own events. OWASP's multi-tenant guidance asks for server-verified tenant context in events and says tenant administrator rights must not grant platform-wide audit access. Take the tenant filter from the session, never a request parameter, and give audit access its own permission, as in our guide to SaaS user roles and permissions.
- Viewer - Filters by time, actor, action and object.
- File export - CSV or JSON for a date range through the same scoped query as the viewer, never an engineer's one-off query.
- API or stream - Paginated, with stable event IDs so a customer's tool can resume without gaps. The ACSC notes SaaS logs can change without notice, so version the schema.
Which Failure Modes Break SaaS Audit Logs?
- Missing tenant ID - Jobs and webhooks write events with no tenant, so customers never see them.
- Unscoped export - The viewer filters by tenant but the CSV or API path does not.
- Silent writer failure - A full queue or revoked credential drops events with no error.
- Retention drift - The deletion job fails or removes the wrong event class.
- Schema breakage - A renamed field breaks a customer's monitoring rule.
Run the pipeline as a production service, as in our guide to SaaS observability, and alert on writer errors, ingest delay, an active tenant with no events and failed retention runs. OWASP's 2025 entry on logging and alerting failures lists unreviewed alerts and too many false positives as failures, so keep alerts few.
Implementation Sequence for SaaS Audit Logs
- Agree event classes and core fields first.
- Build the insert-only writer and tenant enforcement before any screen.
- Instrument sign-ins, permission changes and exports, then data changes and provider access.
- Add tamper evidence, the viewer, then export and API.
- Add retention jobs and the silence alert, then run the gate.
SaaS Audit Logs Checklist and Acceptance Gate
Accept the feature when every statement holds on seeded tenants. The thresholds are examples to set with your team, not benchmarks.
- Coverage - Each event class has a seeded action that yields one record with all core fields.
- Tenant scope - Tenant A's reader requests tenant B's events through viewer, export and API, gets zero rows, and each attempt is logged.
- Immutability - Updating or deleting a stored event with the application's credentials fails, and a seeded edit trips the tamper check.
- Timeliness - A seeded event appears in the viewer within an agreed time, for example 60 seconds.
- Export fidelity - A one-month export for a seeded tenant matches the viewer's row count and the published schema.
- Redaction - A seeded fake password, token and session ID return zero matches in the event store.
- Retention and silence - The job removes back-dated records, and stopping the writer raises an alert within an agreed window, for example five minutes.
Where a customer's audit trail must also cover operational systems it already runs, such as warehouse, ERP or accounting software, the integration is in scope. 9Byte describes its industry business systems work as designing, building and supporting operational systems, including integrations.
Related Resources
- OWASP logging guidance
- OWASP multi-tenant security
- ACSC event logging practices
- OAIC guidance on securing personal information
- preparing audit evidence once
Answers for Teams Building Audit Trails
1. What Are SaaS Audit Logs?
Tamper-resistant records of who did what to which customer's data, when and with what result, visible to each customer.
2. How Do Audit Logs Differ From Application Logs?
Application logs help engineers keep the service running, while audit logs are evidence about actions. OWASP notes audit trails often should be kept separate from security event logs.
3. How Long Should SaaS Audit Logs Be Kept?
Set it from contracts, privacy duties and legal advice. APP 11 expects personal information to be destroyed or de-identified once no longer needed, unless a law or order requires it to be kept.
4. Do Audit Logs Make a Product SOC 2 Compliant?
No. Logs support monitoring, but SOC 2 is a CPA firm's attestation, not a certification, and it does not guarantee security.
Prove Every Event Before a Buyer Asks
SaaS audit logs earn trust when a buyer can see who did what in its own account and you can show the record cannot be quietly changed. Start with the event classes, build the insert-only writer first, and run the gate before the next security review.


