Join our Newsletter — 33% off our NHI Course
Home› Guides› Log Retention Requirements Map: Minimum Periods by Regulation…
Regulatory Map Regulations & Frameworks

Log Retention Requirements Map: Minimum Periods by Regulation and Sector

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 11 November 2026 14 min read
On this page

Most organisations cannot say which rule sets their log retention period, so they either keep everything forever or rely on a platform default that quietly deletes evidence after 30 or 90 days. This map lists the published minimum retention periods for security logs and audit trails across the main regimes: US federal guidance, PCI DSS, HIPAA, SEC and FINRA, NYDFS, the EU NIS2 implementing rules and DORA, MiFID II, India's CERT-In directions, the UK NCSC and the Australian ISM. For each it shows the period, whether logs must be immediately searchable or merely retrievable, any format rule, and where no fixed period exists. It then explains how to resolve conflicts with data protection law and how to build one retention schedule. It is for security engineers, GRC teams, records managers and legal counsel. Status as of 11 November 2026.

Source note: this map summarises official texts, regulator guidance and the sources listed at the end, with status as of 11 November 2026. It is not legal advice. Confirm against the official text before relying on it.

Key takeaways

  • Fixed periods are the exception. PCI DSS, CERT-In, OMB M-26-14 and the Australian ISM set numbers; DORA and the NIS2 implementing regulation require you to define and justify your own period.
  • Searchable and retrievable are different obligations. M-26-14 asks for 6 months searchable and 1 year retrievable, PCI DSS for 3 months immediately available within 12 months; write both columns into your schedule.
  • Records rules can outlast security rules. SEC Rule 17a-4, FINRA 4511, MiFID II and NYDFS 500.6 set retention of three to seven years for records and audit trails that often include system logs.
  • Location can matter as much as duration. CERT-In requires a rolling 180 days of ICT system logs kept within Indian jurisdiction, which affects where a global SIEM stores data.
  • Machine identity logs are in scope everywhere. The NIS2 implementing rules name user creation, permission changes, authentication and privileged activity, which covers service accounts, API keys and AI agents as much as people.

Regulations and frameworks at a glance

RegimeWho it applies toWhat must be keptMinimum periodAccess or format ruleStatus (11 November 2026)
US OMB M-26-14US federal agencies and systems operated on their behalfLogs listed in the CISA Logging Requirements AddendumSearchable 6 months, retrievable 1 year after creationDoes not override records schedulesIssued 22 May 2026; rescinded M-21-31
PCI DSS v4.0.1, Requirement 10.5.1Entities that store, process or transmit cardholder dataAudit log history for the cardholder data environment12 monthsMost recent 3 months immediately available for analysisIn force
HIPAA Security Rule, 45 CFR 164.316(b)(2)US covered entities and business associatesRequired documentation of actions, activities and assessments6 years from creation or last effective date164.312(b) requires audit controls but sets no log periodIn force
SEC Rule 17a-4US broker-dealersBooks and records listed in 17a-36 years (paragraph (a)) or 3 years (paragraph (b))First 2 years easily accessible; non-rewriteable non-erasable storage or a complete time-stamped audit trailIn force
FINRA Rule 4511FINRA member firmsBooks and records with no other specified periodAt least 6 yearsFormat must comply with SEA Rule 17a-4In force
NYDFS 23 NYCRR 500.6NYDFS-regulated covered entitiesSystems to reconstruct material financial transactions and audit trails to detect and respond to cybersecurity eventsNot fewer than 5 yearsScope based on the risk assessmentIn force
EU NIS2 Implementing Regulation (EU) 2024/2690, Annex 3.2DNS, TLD, cloud, data centre, CDN, MSP, MSSP, marketplaces, search engines, social networks, trust servicesNetwork traffic, account and permission changes, authentication, privileged activity, security tool logs and moreA "predefined period" set by the entityBack up logs, protect from unauthorised access or changes, synchronise timeApplies
EU DORA RTS (EU) 2024/1774, Article 12EU financial entitiesAccess control and identity, capacity, change, ICT operations and network traffic eventsSet by the entity, justified against objectives and risk assessmentTamper protection, logging failure detection, reference time sourceApplies since 17 January 2025
EU MiFID II, Article 16(7)Investment firmsRecords of telephone conversations and electronic communications relating to transactions5 years, up to 7 where the competent authority requestsAvailable to supervisorsIn force
India CERT-In Directions, 28 April 2022Service providers, intermediaries, data centres, body corporates and government organisationsLogs of all ICT systemsRolling 180 daysKept within Indian jurisdiction; provided to CERT-In on request or with incident reportsIn force
Australian ISM, ISM-1988 and ISM-1989Australian government and organisations applying the ISMEvent logsSearchable at least 12 months; also the minimum periods in AFDA Express Version 2Searchable mannerCurrent ISM
UK NCSC logging guidanceGuidance for any UK organisationLogs that answer the incident questionsMinimum 6 months recommendedLonger if budget allowsGuidance, not law
CIS Controls v8.1, Safeguard 8.10Organisations using CIS ControlsAudit logs across the enterpriseMinimum 90 daysNone statedFramework
GDPR Article 5(1)(e)Logs containing personal data of people in the EU and UKAny identifiable data in logsNo minimum; a maximum of "no longer than necessary"Document the purpose and justificationIn force

This map covers security logs and audit trails. For how to collect, store and protect logs, see the Log Management and Retention Guide. For business records in general, see the Data Retention Schedule Template.

Scope: who and what is covered

Three kinds of rule set retention for logs, and most organisations are subject to at least two.

  • Security logging rules: M-26-14, PCI DSS Requirement 10, the NIS2 implementing regulation, DORA Article 12, CERT-In and the ISM aim at detecting and investigating intrusions. They name log sources and expect tamper protection.
  • Records rules: SEC 17a-4, FINRA 4511, MiFID II and HIPAA documentation rules aim at reconstructing business activity for supervisors. They apply to system logs where those logs are, or support, a required record, for example order audit trails, communications archives or the record of an access review.
  • Data protection rules: GDPR and similar laws set no minimum, but they cap retention of identifiable data. IP addresses, user names and device identifiers in logs are personal data, so the security period must be justified, not assumed.

Sector rules sit on top of these. A card-accepting investment firm in Frankfurt with Indian operations can be subject to PCI DSS, DORA, MiFID II, GDPR and CERT-In at the same time, each with a different number and a different reason.

Key obligations

Periods you must define yourself

DORA RTS Article 12 requires logging procedures that identify "the retention period of the logs" and states that the financial entity shall establish that period taking into account its business and information security objectives, the reason the event is recorded and the results of its ICT risk assessment. The NIS2 implementing regulation, Annex point 3.2.5, requires entities to maintain and back up logs "for a predefined period". Neither text gives a number, so supervisors will ask for the reasoning. A defensible answer ties each category's period to detection lag (how long intrusions take to surface), to investigation needs and to any longer sector rule.

Searchable versus retrievable

SourceHot (searchable now)Cold (retrievable with preparation)
OMB M-26-14 Appendix B6 months, for continuous event monitoring1 year after creation, for threat hunting, investigation, response and forensics
M-26-14 maturity Level 33 months12 months
PCI DSS 10.5.13 months immediately available12 months in total
Australian ISM-198812 months searchableLonger periods under AFDA Express (ISM-1989)
SEC 17a-4First 2 years easily accessibleRemainder of the 3 or 6 years

Format and integrity rules

  • SEC 17a-4(f)(2): either keep records in a non-rewriteable, non-erasable format or keep a complete time-stamped audit trail of every modification and deletion that allows the original to be recreated; verify storage automatically; allow download in human-readable and usable electronic formats; keep a backup or other redundancy.
  • NIS2 Annex 3.2.5 and 3.2.6: protect logs from unauthorised access or changes, synchronise time sources, make logging systems redundant and monitor logging availability independently of the systems being monitored.
  • DORA Article 12: safeguards against alteration, deletion and unauthorised access at rest, in transit and in use, plus detection of logging system failure.
  • CERT-In: logs stored within Indian jurisdiction and handed to CERT-In with an incident report or on direction.

Maximum limits

GDPR Article 5(1)(e) storage limitation applies to logs that identify people. It does not prevent keeping security logs for a year or more, but it requires a documented purpose, access restrictions and deletion or pseudonymisation when the period ends. Where a mandatory minimum applies, that legal obligation is the justification; where you chose the period yourself (DORA, NIS2), record the risk reasoning.

Timeline and current status

  • 28 April 2022: CERT-In issues its directions under section 70B(6) of the IT Act, including 180-day log retention in India.
  • 17 January 2025: DORA applies, with the ICT risk management RTS (EU) 2024/1774 in force since July 2024.
  • October 2024 onwards: NIS2 Implementing Regulation (EU) 2024/2690 sets the technical measures for digital infrastructure and digital provider entities.
  • 22 May 2026: OMB M-26-14 rescinds M-21-31. CISA was to publish a Logging Requirements Addendum within 90 days; agencies then have 90 days for a first logging plan, 120 days to reach Level 1, 180 days for Level 2 and 320 days for Level 3.
  • Older contracts: M-21-31 periods (12 months active plus 18 months cold for most categories) still appear in federal contracts and supplier questionnaires. Check which memo a contract cites before changing retention.

Enforcement and penalties

Retention failures are rarely enforced alone. They surface when an investigation cannot answer basic questions, or when a regulator asks for records that no longer exist. PCI DSS assessors test Requirement 10.5.1 directly and a failed requirement affects the Report on Compliance. Under DORA and NIS2, missing or unjustified retention is a gap in the ICT risk management framework and falls under the general penalty regimes of those laws. Records rules are enforced most often: SEC and FINRA have repeatedly fined firms for failing to preserve electronic communications. The practical penalty is investigative: the Microsoft Storm-0558 intrusion was found through mailbox access logs that only some customers retained at the time, see the Microsoft Storm-0558 Key Breach.

What it means for AI agents and non-human identities

Every regime above is written about systems and events, not people, so machine activity is fully in scope. The NIS2 implementing regulation lists creation, modification or deletion of users and extensions of permissions, authentication events and privileged account activity; DORA names access control and identity management. In practice:

  • Service accounts and workload identities: keep cloud control plane logs (role assumption, key creation, token issuance) for the longest period that applies, because stolen machine credentials are often found months after first use. See the Cloud Logging and Audit Trail Guide.
  • SaaS audit logs: many SaaS plans keep audit logs for 90 or 180 days by default. Export them to your own store to meet a 12-month rule. See the SaaS Audit Log Retention and Licensing Guide.
  • AI agents: tool calls, prompts and delegated actions are the agent's audit trail. Where an agent acts in a regulated process (trading, payments, health records), its logs may be records under the sector rule, not just security logs. See the AI Agent Audit Log Schema Template.
  • Secrets in logs: a long retention period multiplies the risk of tokens logged in clear text. Mask secrets at source before applying a multi-year period.

Compliance steps

  1. Inventory obligations: list every regime that applies by entity, country and data type, using the table above as the starting point, and confirm sector rules with counsel.
  2. Classify log sources: group logs into categories (identity, cloud control plane, endpoint, network, application, database, communications) and record which obligation drives each.
  3. Set two periods per category: searchable and retrievable, taking the longest applicable minimum and recording the legal basis or risk reasoning.
  4. Check location: mark categories that must stay in a country (India under CERT-In) and confirm the SIEM and archive regions.
  5. Apply integrity controls: object lock or immutable storage for categories under SEC 17a-4 or where tampering is a realistic threat, plus separate administrative control of the archive.
  6. Test retrieval: restore a sample from the oldest cold tier each quarter and time it against the period you promise supervisors.
  7. Apply the maximum: automate deletion or pseudonymisation at the end of each period unless a legal hold applies, and log the deletion.
  8. Review annually: re-check periods when a regulation, a contract or the CISA addendum changes.

Measuring it

  • Coverage: percentage of in-scope log sources with a documented searchable and retrievable period.
  • Gap days: sources whose actual platform retention is shorter than the schedule, and by how many days.
  • Retrieval time: median hours to restore and query a sample from the oldest tier.
  • Integrity: percentage of regulated categories on immutable storage with verified hashes.
  • Deletion compliance: percentage of expired log data deleted or pseudonymised on schedule.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev. 5AU-11 Audit Record Retention; AU-4 Audit Log Storage Capacity; AU-9 Protection of Audit InformationRetention period, capacity and tamper protection
NIST SP 800-171 Rev. 303.03.01 Event Logging; 03.03.08 Protection of Audit InformationCUI systems in the supply chain
NIST CSF 2.0PR.PS-04 Log records are generated and made available for continuous monitoringOutcome the retention schedule supports
CIS Controls v8.1Control 8, Safeguard 8.10 Retain Audit Logs90-day baseline; see the CIS Control 8 Audit Log Management Guide
MITRE ATT&CK v20T1685.005 Clear Windows Event Logs; T1685 Disable or Modify ToolsWhy logs must be copied off host and protected

Common failure patterns

  • Platform defaults treated as policy: a 30-day cloud or SaaS default silently becomes the retention period.
  • One period for everything: keeping all logs for seven years inflates cost and GDPR exposure; keeping all for 90 days fails PCI DSS and DORA reasoning.
  • Cold archives nobody can read: archives in a format or schema that cannot be queried after a migration do not meet "retrievable".
  • Logs stored only where the attacker is: local event logs cleared during an intrusion, with no central copy.
  • Citing a rescinded rule: policies still quoting M-21-31 without noting M-26-14.

Practitioner checklist

  • List every regime that sets a log or record retention period for each legal entity.
  • Record a searchable and a retrievable period for each log category, with its source.
  • Document the risk reasoning for periods you set yourself under DORA and NIS2.
  • Confirm in-country storage for logs subject to CERT-In.
  • Use immutable storage or a full audit trail for records under SEC 17a-4.
  • Compare actual platform and SaaS retention with the schedule every quarter.
  • Keep identity, privilege and machine credential events for the longest applicable period.
  • Mask secrets and minimise personal data before long retention.
  • Test restore from the oldest tier and record the time taken.

Standards and references

This guide summarises log retention requirements as of 11 November 2026 and is not legal advice. Related NHI Mgmt Group resources: Log Management and Retention Guide · SaaS Audit Log Retention and Licensing Guide · Cyber Incident Reporting Requirements Map · Financial Services Cyber Regulation Map

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 11 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org