Blog

Ninety days of log retention is a hot-storage period, not a forensic norm for AI incidents

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

· By

Sober incident room with a large screen of parallel coloured log traces, a whiteboard showing three numbered boxes with arrows, and a sealed storage box in the foreground.
Ninety days is a default hot-storage period for some cloud logs, not a forensic norm; retention should track detection time, log type and separately secured evidence.Image: IamVera.ai — original editorial illustration

Ninety days is a default retention for some cloud logs, not a general norm for AI forensic incident investigation. Microsoft keeps Azure Activity Logs ninety days by default, while NIST, CISA and AWS describe AI-incident preservation and retention requirements that depend on the evidence needed, detection time and log type.

Microsoft confirms in its own documentation that events in the Azure Activity Log are kept ninety days by default and deleted afterwards. Anyone who wants to keep logs longer for audit, analysis or backup must export those logs to separate storage themselves. That is a product default, not a statement about how long forensic evidence must remain usable after an AI incident.

That nuance matters, NIST, CISA, AWS and Microsoft have published guidance relevant to incident response for AI systems and agentic frameworks that follows a different logic. They tie retention not to a fixed number, but to the question you must still be able to answer after an incident.

Why is ninety days of log retention not a general norm for AI forensic investigation?

Because the ninety-day period is nowhere presented in the sources as a forensic norm, but as default retention for one log category at one provider. The NIST workshop report on incident management even cites thirty days as a baseline for recording prompt and completion content, with longer retention where possible. The figures therefore diverge because they concern different things.

The NIST report emphasises that prompt and completion content should be recorded by default where legally and operationally feasible, that volatile systems should not be automatically destroyed before evidence is secured, and that timestamps must be correlatable. CISA advises in its alert on the malicious use of agentic frameworks to write logs out externally and to rehearse collection procedures, including rapidly securing disk images, files and memory captures.

In our estimation this is the crux: ninety days describes how long data remains available by default, not whether you can reconstruct an incident with it. Those are two different questions.

Which AI log categories must I keep to be able to reconstruct an incident?

More than the classic system and network logs. AWS describes a range of AI-specific evidence traces that organisations should inventory in advance, because they can determine whether reconstruction is possible after an incident. Microsoft’s AI incident guidance calls for AI-specific telemetry, a documented retention policy and explicit closure criteria.

The categories that AWS describes as AI-specific evidence traces and that align with Microsoft's call for AI-specific telemetry are:

  • prompt and completion logs, with purpose binding and access restriction because of sensitive content;
  • model and configuration versions, so it is established which model was running at which moment;
  • identity and authorisation events, to determine who or which service acted;
  • retrieval and tool calls, including the decision traces of agents that carry out actions independently;
  • network, container and infrastructure logs that reconstruct the execution environment;
  • timestamp information that makes all these sources mutually correlatable.

An agent that acts across systems and identities leaves traces in several of these layers at once. Those who think this through in advance prevent precisely the layer that explains the incident from being missing. How you technically shield such agents we discuss in our piece on securing AI agents as a runtime system.

How do I align the retention period with detection time, log type and legal holds?

By distinguishing three layers rather than using a single number. AWS’s presentation 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 may leave insufficient data for reconstructing late-discovered incidents. This is a risk-driven approach to retention, not a calendar period.

A workable model with three layers:

  1. Hot logs for detection and hunting — quickly searchable, short term. Ninety days may be an operational minimum here for specific categories, if detection time and risk justify it.
  2. Longer, cost-efficient retention for investigation — aligned with the detection time of critical systems, so that reconstruction remains possible.
  3. Separately secured evidence — on an incident or legal hold removed from normal rotation, so that it does not disappear automatically.

As an operational recommendation, organisations 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 aligns with the broader requirement to record inspection evidence in AI contracts, so that it is also clear with vendors which evidence remains available.

What does this mean for directors, lawyers and CISOs setting policy now?

Our analysis: because ninety days in the Azure documentation is a default and not a forensic norm, organisations run the risk of basing policy on a number that was never intended as an evidence standard; therefore the CISO must draw up a retention matrix per AI system that explicitly names log type, retention period and storage layer instead of adopting the product default. Because AWS ties retention to average detection time, a period shorter than that time can leave organisations without the relevant historical data for late-discovered incidents; therefore the board should test how long incidents remain undetected before setting retention periods. NIST advises that volatile systems should not be automatically destroyed before evidence is secured; therefore the person responsible for incident response should set up a preservation procedure that first freezes on suspicion and only then clears up. And because prompt and completion logs can contain personal data and confidential files, generous retention clashes with data minimisation; therefore the lawyer must, together with the CISO, record purpose binding, access restriction, encryption and an explicit retention policy before full prompts are stored by default.

The practical test is a tabletop exercise. Have the team simulate whether, after for example sixty, ninety and one hundred and eighty days, it can still reconstruct an incident: establish the identity and model version involved, correlate tool actions and secure evidence before retention expires. For the broader set-up see our topic hub on AI security and incident management and the governance principles a board can prove. Microsoft underlines in its guidance that keeping alone is not enough: logs must be usable, searchable and linked to incident phases and recovery decisions.

Sources and references

  1. Activity Log in Azure MonitorMicrosoft Learn · 2026-11-03
  2. NIST Workshop on SI Incident ManagementNational Institute of Standards and Technology · 2026-11-23
  3. Defending Against Malicious Use of Agentic Offensive FrameworksCybersecurity and Infrastructure Security Agency · 2026-11-30
  4. Incident Response Preparation for AI SystemsAWS · 2026-05-27
  5. Incident response for AI systemsMicrosoft Learn · 2026-11-15

Sources: The article relies on official documentation from Microsoft Learn, a NIST workshop report, a CISA alert and an AWS presentation on incident response for AI systems.

← All articles in this topic ← All articles

Review the answer before you rely on it.

Start with a sample question. See what Vera checks, what it changes and what still needs your judgement.