SecurityTechInsider AI security & governance
EN/ NL
Governance

Ninety days of log retention is not a forensic norm

Microsoft keeps Azure Activity Logs ninety days by default, but NIST, CISA and AWS tie AI forensic retention to detection time and log type.

1 December 2026 4 min
Illustration for this article: Ninety days of log retention is not a forensic norm. Oxidised copper and patinated brass sheet, corrosion blooming across the surface.
Organisations must set log retention based on detection time and evidence type, not adopt a cloud provider's default period. Image: SecurityTechInsider — original editorial illustration

You must now document retention requirements per AI system and log type, rather than adopting a cloud provider's default retention period as your forensic standard. The ninety-day default that one major cloud provider applies to activity logs is a product setting, not an evidence preservation norm. If you base your incident response capability on that number alone, you risk losing the data needed to reconstruct incidents discovered after that window closes.

An analysis of 1 December 2026 of ninety-day log retention as a forensic norm argues that this default is widely misread as a general standard, when NIST, CISA and AWS guidance ties retention instead to detection time and log type. The analysis examines how one cloud provider documents its activity log retention, and compares it against published incident response guidance for AI systems. In our assessment, the gap between a product default and an evidence standard creates a material governance risk: organisations that adopt the shorter period without examining their own incident detection times may find themselves unable to reconstruct incidents that surface weeks or months after they occur.

What does the guidance actually say about retention?

NIST, CISA and AWS present retention requirements that depend on the evidence you need to answer after an incident, not on a fixed calendar period. NIST's workshop report on incident management cites thirty days as a baseline for recording prompt and completion content, with longer retention where operationally and legally feasible. CISA advises writing logs externally and rehearsing collection procedures, including rapid capture of disk images, files and memory. AWS describes a range of AI-specific evidence traces that organisations should inventory in advance, because they determine whether reconstruction is possible after an incident. The figures diverge because they concern different things: one describes how long data remains available by default in a single log category; the others describe what you must be able to reconstruct.

Which evidence traces must you preserve?

An AI agent that acts across systems and identities leaves traces in several layers at once. If you do not think through which layers matter in advance, the layer that explains the incident may be missing when you need it. The evidence categories that require explicit retention decisions are:

  • Prompt and completion logs — the inputs and outputs of the model, which may contain personal data or confidential files and require purpose binding before storage.
  • Model versioning and configuration — which model version was active, its parameters and the data it was trained on, needed to establish whether behaviour was expected.
  • Tool and API call logs — actions the agent took on external systems, timestamps and identities used, essential for correlating activity across layers.
  • Access and authentication logs — which principals invoked the agent, when and from where, needed to establish whether an incident involved authorised or unauthorised use.
  • System and infrastructure logs — resource consumption, errors and state changes on the platform hosting the agent, needed to rule out or confirm infrastructure failure.
  • Memory and volatile state captures — snapshots of running systems taken on suspicion of incident, before automatic rotation destroys them.

How should you set retention periods instead of adopting a default?

AWS advises aligning retention with the average detection time of business-critical systems. If an incident may be noticed only after months, a shorter retention period leaves insufficient data for reconstructing late-discovered incidents. This is a risk-driven approach: you set the period based on how long your organisation typically takes to detect incidents, not on what a product default happens to be. You should document how incident-related evidence is preserved outside normal rotation, including any applicable legal or investigative hold process, in accordance with applicable law and internal policy. That clarity also matters in vendor contracts, so that it is explicit which evidence remains available to you after an incident.

The practical controls you must be able to demonstrate are:

  1. Map detection time for each AI system — establish how long incidents typically remain undetected before setting retention periods, and test whether that period is shorter than your current retention.
  2. Document retention per log type and storage layer — record which logs you keep, where, for how long and why, rather than relying on product defaults.
  3. Establish a preservation procedure — set up a process that freezes evidence on suspicion of incident before automatic rotation destroys volatile data.
  4. Bind purpose and access to prompt logs — record the lawful basis for storing full prompts, who may access them and encryption in transit and at rest, before enabling default storage.
  5. Test reconstruction in tabletop exercise — simulate whether your team can still establish the identity and model version involved, correlate tool actions and secure evidence before retention expires.

What tooling can do and what remains your judgment?

Automated log collection and centralised storage can enforce retention policies and prevent accidental deletion. Encryption and access controls can reduce the risk that retained logs become a liability. But no tool can decide for you what detection time is realistic for your systems, or what evidence matters for your incident response. That judgment belongs to the board, the CISO and the person responsible for incident response, working together. Microsoft underlines in its guidance that keeping logs alone is not enough: they must be usable, searchable and linked to incident phases and recovery decisions. The tool carries the mechanics; your organisation carries the reasoning.

Sources: This article draws on reporting and guidance from Microsoft Learn, National Institute of Standards and Technology, Cybersecurity and Infrastructure Security Agency and AWS.

Marit Halversen

Written by

Marit Halversen

Covers AI governance and regulatory design, with a focus on how compliance obligations land on architecture rather than on paperwork.