An audit trail is the evidence behind every answer you give in a customer security review. When a prospect asks whether you log administrative actions, how long you keep those logs and who can alter them, the strength of your answer depends on whether you can show a record, not describe a policy. Managing that trail well means deciding what to record, protecting it from tampering, setting retention, reviewing it on a schedule, and keeping your questionnaire answers consistent with what the trail actually shows. This guide walks through each part for security, GRC and sales engineering teams at B2B software companies, and shows where Skypher fits when the questionnaires start arriving.
TL;DR
- An audit trail records who did what, under what authority, with a record built to reveal tampering. An application log records what a system did for its own engineers. Reviewers ask for the first.
- Log authentication, privilege changes, data exports, impersonation, API key lifecycle and configuration changes, each with actor, action, target, source, timestamp and outcome.
- Protect the trail with append-only storage, integrity checks, synchronized clocks and a copy held outside the system.
- Set retention from the strictest rule that applies to you, then keep a narrower compliance record set for long-term storage.
- Keep your questionnaire answers tied to current, versioned evidence so what you tell customers always matches what your trail proves.
Table of Contents
- What a security audit trail is, and what it is not
- What to record for a security review
- Structuring each record: actor, action, target, source, outcome
- Protecting the trail from tampering and gaps
- Retention, privacy and jurisdiction
- Reviewing the trail and handling exceptions
- From audit trail to questionnaire answer
- Where Skypher fits in your process
- FAQ
- Sources
What a security audit trail is, and what it is not
Teams often use "log" and "audit trail" as synonyms, and in casual use they are. The distinction matters in a security review because reviewers read the two differently.
NIST's older but still widely referenced guidance, SP 800-12, defines an audit trail as a series of records of computer events about an operating system, an application or user activities. It also notes that one system can keep several audit trails at once, each devoted to a particular type of activity, and it separates the trail (the records) from auditing (the review and analysis of controls). That second distinction is useful: you manage the trail, and the security review tests whether you also audit it.
The practical difference between a log and an audit trail shows up in purpose. Files.com describes a log as a system's own account of what happened on a machine, while an audit trail records who did what under what authority in a record nobody can quietly change. SonarSource's audit logging guide puts the contrast in table form: application logs serve debugging for developers, are often rotated or pruned, and are kept for days or weeks; audit logs serve security, compliance and accountability, must be immutable and tamper-evident, and are often kept for months or years.
A third source worth separating is the SIEM (security information and event management) platform, the system that collects logs from many sources so analysts can correlate them. CyberDefenders explains that audit logs become detection when a pipeline collects, normalizes, correlates, alerts on and retains them in a SIEM. In short:
| Record type | Question it answers | Main reader | Typical lifetime |
|---|---|---|---|
| Application log | What went wrong in the system? | Engineers | Days to weeks |
| Audit trail | Who did what, and can we prove it? | Auditors, customers, investigators | Months to years |
| SIEM | Is something suspicious happening now? | Security analysts | Depends on the pipeline |
The lifetime column comes from Invoance's plain guide, which also makes a point worth remembering: keeping an application log longer does not turn it into an audit log. If a questionnaire asks about audit logging and you answer with your debug logs, the reviewer will see the gap quickly.
One caution on terminology. Pangea's overview, citing CNSSI 4009-2015, notes that formally an audit log holds records from a single system, while an audit trail reconstructs the sequence of activity around a security-relevant transaction from start to finish, and that in practice people use the terms interchangeably. In your answers, say which you mean.
What to record for a security review
The most common mistake is logging everything and being able to prove nothing. The better approach is to start from the events a customer's reviewer will ask about, then work backward.
The Canadian Centre for Cyber Security's audit and accountability guidance lists event types such as password changes, failed logons, security attribute changes, access to personal information and use of administrative privileges. The OWASP DevSecOps Guideline adds authentication and authorization successes and failures, MFA events, privilege escalations, token issuance and revocation, administrative and configuration changes, access to sensitive data, and deployment events.
For a B2B SaaS product specifically, WorkOS lists ten categories that enterprise security reviewers ask about. Here they are, grouped for a working checklist:
- Identity and access: authentication success and failure, MFA enrollment, challenges and resets, session and token lifecycle.
- Administration: role and permission changes, SCIM provisioning and deprovisioning (the standard that automates adding and removing users), security configuration changes.
- Credentials: API key and service credential creation and revocation.
- Data movement: exports and bulk access.
- Privileged access: impersonation and support access to customer tenants.
- Automation: activity by service accounts, webhooks, scheduled jobs and AI agents.
The last category deserves attention. WorkOS's platform team reports that non-human and automated activity is the fastest-growing audit category and that existing logs were not built for it. Their advice is to log both the human who authorized an action and the automated identity that carried it out, plus the scope. If your product lets AI agents act for users, a reviewer will eventually ask how you distinguish the two.
What not to record matters just as much. OWASP and GitLab's Security Logging Standard both say secrets, passwords, password hashes, tokens and private keys never belong in a log. Creahive's guide adds payment card data and sensitive personal data, which should be removed, masked, hashed or encrypted instead. A trail that leaks credentials becomes a liability in the same review that was meant to reassure.
Structuring each record: actor, action, target, source, outcome
A record is only useful as evidence if a stranger can read it a year later and understand it. The European Payments Council's audit trail guideline says records should at minimum establish what type of event occurred, when, where it came from, what it affected, the outcome and who was involved. GitLab's standard turns that into a schema: structured JSON containing the event type, a UTC timestamp in ISO 8601 format, a unique event identifier, the actor's ID and username, source IP, the target resource and the outcome (success, failure or unknown).
Humbleteam's B2B SaaS guide goes further, and several of its fields pay off in reviews:
- Two timestamps, when the event occurred and when it was recorded, since the two can differ.
- Actor name as it was at the time, so a later rename does not rewrite history.
- Source, meaning whether the action came from the UI, an API, an integration or the system itself.
- Before and after values for changes, so a permission change shows exactly what moved.
- A group ID linking related events, which lets you reconstruct a whole incident or a bulk operation.
- A schema version, so older records stay interpretable after you change the format.
Clock discipline is a small detail with large consequences. The EPC guideline requires system clocks to be synchronized to a common time source. Xero's engineering guidelines specify UTC timestamps synchronized to an NTP source. If two systems disagree by minutes, your reconstruction of who did what first falls apart.
Protecting the trail from tampering and gaps
A reviewer's first follow-up to "yes, we log administrative actions" is "who can change those logs?" Plan the answer before you are asked.
The control set that recurs across sources:
- Separate, append-only storage. OWASP's DevSecOps guidance says to write logs to a destination that application credentials cannot modify.
- Administrators cannot erase their own trail. The EPC guideline says administrators should not be able to erase or deactivate logs of their own activities, and that deletion or modification should be detected and alerted immediately. It also calls for digital signatures on events and archiving to write-once media or off-system storage.
- Integrity checks on archives. NIST SP 800-92 says to create message digests for each log file and compare the digests of originals and copies, to pick archival media whose lifespan matches the retention period, and to destroy archived logs properly when retention ends.
It helps to know what each tamper-evidence technique does and does not prove. Invoance's guide explains that a signature on each event shows the event is unchanged but not that one is missing. A gap-free sequence number shows a missing event but not an altered one. A copy held outside the system catches both, including the case where the newest events are deleted and the counter is rolled back. Using all three together gives you an answer that holds up under follow-up questions.
Finally, watch for gaps in coverage rather than just in the data. Shared accounts, services that bypass the logging layer and new features shipped without audit hooks all create blind spots. Latacora recommends starting SIEM ingestion with infrastructure logs such as the identity provider, cloud provider, IT platform and version control, because those are siloed and hard to correlate, while application logs are usually already available in observability tools. Every new feature should have an audit-event checklist in its definition of done.
Retention, privacy and jurisdiction
Retention is where security, legal and finance disagree, so settle it in writing. The sources vary by region and sector, which is the point: the right period is the longest one that applies to you.
- United States, financial reporting: the EPC guideline cites the Sarbanes-Oxley Act for audit logs kept up to seven years in US corporations, and Basel II for three to seven years at international banks. It also cites at least six months under Visa's program and at least five years under the EU Payment Services Directive for payment institutions, and says legal counsel and audit staff should help shape the policy.
- Australia: the Information Security Manual (September 2026 update) requires event logs to be retained in a searchable form for at least 12 months, protected from unauthorized modification and deletion, and sent to a centralized facility promptly and encrypted in transit.
- European Union: NIS2 logging requirements sit in Annex 3.2 of Commission Implementing Regulation (EU) 2024/2690. Relevant entities must keep logs for a predetermined period, protected against unauthorized access or modification, with synchronized time sources. A summary of the rules and national transposition notes that ENISA's guidance ties retention to business needs, risk assessment and legal duties, and that Germany and Austria have transposed the directive.
- Switzerland: an amendment to Article 4 of the data protection ordinance, in force from 1 December 2025, covers logging of access to personal data. Logs must be kept at least one year, separately from the processing system, with access limited to specified reviewers, per the FDPIC's technical recommendations.
For customer-facing baselines, WorkOS suggests roughly one year for authentication events, two years for administrative and role changes, and longer for impersonation, MFA resets or regulated data. Treat those as a starting point, not a rule.
Storage cost and privacy both argue for a narrower long-term set. Pangea's principal security researcher describes keeping a separate, focused compliance log containing only the records needed for standards such as SOC 2, PCI DSS, HIPAA, SOX and ISO 27001. Long retention gets cheaper when the record set is smaller, and reviewers get less extraneous material to examine. Because audit records contain personal data such as usernames and IP addresses, bring your privacy counsel into the retention decision, and define a legal-hold process so that deletion schedules pause when litigation or an investigation begins.

Reviewing the trail and handling exceptions
A trail nobody reads is a storage bill. Reviewers know this, and "do you review your logs?" is a standard questionnaire item.
The Canadian Centre's AU-06 control gives a workable pattern: review and analyze audit records at a defined frequency for inappropriate or unusual activity, report findings to defined personnel such as the incident response team or the security and privacy offices, and adjust the review level when risk changes. A lightweight version for a B2B software company:
- Set the cadence per event class. Daily automated alerting for failed-login spikes and privilege escalations; weekly human review of administrative changes and support impersonation; quarterly review of data exports and API key creation.
- Name the owner. Each review has a person or role and a place where the result is recorded.
- Define what an exception is. For example, a support session with no linked ticket, or an admin change outside a change window.
- Record the disposition. Each exception ends as explained, escalated or remediated, with a date.
- Adjust after incidents. If a new threat or an incident changes your risk, shorten the cadence and add it to the record.
The review records themselves become evidence. A short log of what you reviewed, when, by whom and what you found answers the "do you actually look at these?" question better than a policy paragraph.
From audit trail to questionnaire answer
This is where most teams lose time. The trail exists, the controls work, and yet each new questionnaire triggers a scramble: someone finds last quarter's answer, checks it against a policy that has since changed, and pings three colleagues for a retention figure. Answers drift from the evidence, and the same question gets two different responses in two different deals.
A few habits close that gap:
- Keep one source of truth. Retention periods, logging scope, review cadence and tamper protections should live in versioned documents, not in individual answers.
- Answer with specifics. "We log authentication, role changes, exports and impersonation, retain administrative events for two years, and review them weekly" survives a follow-up. "We maintain comprehensive logging" does not.
- Update answers when the control changes. If you extend retention or add agent activity to the trail, every stored answer should change with it.
- Publish what you can. A customer-facing trust page that states your logging and retention posture removes a share of questions before they are sent.
Our own guides on how security reviews work and on the information security audit process cover the surrounding workflow, and the security review best practices article goes deeper on preparing evidence ahead of time.
Our view: evidence first, answers second
We build Skypher for the people who sit between a customer's security team and their own: CISOs, GRC leads, solution engineers and sales directors. In that seat, the audit trail is only half of the job. The other half is making sure the answers you send match it, every time, across hundreds of questions and several formats.
That is why our platform is built around a knowledge base of your own documents rather than a generic chatbot. Our proprietary retrieval AI draws on your content, with document versioning in content management, and it gives each answer a confidence score so your team can see where to look first. Because the answers come from your current material, a change to your retention policy or logging scope is a change to the source, not a hunt through old responses.
We also think speed should not cost accuracy. Our tool can answer even 200 questions in under a minute, which leaves your experts' time for the questions that need judgment: the unusual retention requirement, the new agent-activity question, the exception that needs context. Real-time collaboration for unlimited users, plus Slack and Microsoft Teams integrations, lets the people who own each control weigh in where they already work.
Our view is simple: a strong audit trail deserves strong, consistent answers, and a Trust Center that shares your posture before the questionnaire arrives.
Gaspard
Where Skypher fits in your process
Once your trail, retention and review routines are in place, the remaining work is repeatable: answering the questions that describe them. Skypher's Questionnaire Automation Tool handles every document format, connects to more than 40 third-party risk management platforms and enterprise tools such as OneTrust, ServiceNow, Salesforce, Confluence, Notion, Google Drive and SharePoint, and scores its own confidence on each answer.

If your reviewers also ask for a place to see your security and compliance posture, our Trust Center is customizable and customer-facing. For investor and fiduciary due diligence, see DDQ automation. Pricing is quote-based and tiered by usage and features, so the quickest route is to talk to us through the pricing page. If you want to see how automation shortens reviews, our article on why to automate security reviews is a good place to start, and streamlining security monitoring and automation for compliance covers the monitoring side.
FAQ
What is the difference between an audit trail and a SIEM audit log?
An audit trail is the record of who did what and when, designed to reveal tampering. A SIEM is the platform that collects logs, including audit logs, from many systems so analysts can correlate and alert on them. The audit trail is the evidence, and the SIEM is one way of using it for detection.
Which events should a B2B software company log first?
Start with authentication success and failure, MFA changes, role and permission changes, API key lifecycle, data exports, support impersonation and security configuration changes. These are the categories enterprise reviewers most often ask about. Record the actor, action, target, source, timestamp and outcome for each, and keep secrets and tokens out of the record.
How long should we keep audit logs?
It depends on the rules that apply to you. Sources cite a minimum of 12 months for event logs in Australia's Information Security Manual, up to seven years for US corporations under Sarbanes-Oxley, and at least one year for access logs under the Swiss ordinance. Choose the longest applicable period, document it, and involve legal counsel.
How do we prove to a customer that our logs were not altered?
Combine three controls: signed events, gap-free sequence numbers and a copy stored outside the system. Each catches something the others miss. Add restrictions so administrators cannot erase their own activity, and alerting on any deletion or modification attempt.
Does an audit trail help with questionnaire answers?
Yes, because it turns policy statements into checkable facts. When your answers state what you log, how long you retain it and how often you review it, and those statements match your records, reviews close faster and with fewer follow-ups.
Sources
- NIST SP 800-12, Chapter 18: Audit Trails
- Audit Trails Are Not Logs (Files.com)
- Audit Logging Best Practices (SonarSource)
- What Are Audit Logs? (CyberDefenders)
- What Is Audit Logging? (Invoance)
- Secure Audit Logging overview (Pangea)
- Audit and accountability (Canadian Centre for Cyber Security)
- OWASP DevSecOps Guideline: Logging and Monitoring
- The audit log events enterprise buyers will ask about (WorkOS)
- GitLab Security Logging Standards
- Audit Logs in Web Apps (Creahive)
- B2B SaaS audit log UX (Humbleteam)
- EPC153-10: The Use of Audit Trails in Security Systems
- 11 best-practice security event logging guidelines (Xero)
- NIST SP 800-92: Guide to Computer Security Log Management
- Lessons in logging, part 2 (Latacora)
- Information security manual, September 2026 (Australian Signals Directorate)
- NIS2 logging requirements (Eurokommerz)
- FDPIC technical recommendations for logging under Article 4 DPO
