CERT-In log retention: what your network must do for 180 days
CERT-In log retention means this: under CERT-In's Directions of 28 April 2022, every service provider, intermediary, data centre, body corporate and government organisation must enable logs on all ICT systems and keep them securely for a rolling 180 days within Indian jurisdiction. Firewalls, routers, VPN gateways and SD-WAN edges are ICT systems. The same Directions require cyber incidents to be reported to CERT-In within 6 hours of noticing them, and clocks to be synced to NIC or NPL time sources. The Directions took effect on 27 June 2022.
Key facts
| Instrument | CERT-In Directions under section 70B(6) of the IT Act, No. 20(3)/2022-CERT-In, 28 April 2022 |
| In force | 60 days after issue (27 June 2022); MSMEs got until 25 September 2022 |
| Who | Service providers, intermediaries, data centres, body corporate and government organisations |
| Log retention | Logs of all ICT systems, kept securely for a rolling 180 days within Indian jurisdiction |
| Incident reporting | Within 6 hours of noticing, or being told of, an Annexure I incident |
| Time sync | NTP servers of NIC or NPL, or sources traceable to them |
| Incident types | 20 listed in Annexure I, including attacks on network devices such as routers |
| Penalty basis | Non-compliance may attract section 70B(7) of the IT Act |
What the Directions actually say
The Directions contain six directions. Four matter to every network team.
- Time sync (direction i). Connect to the NTP server of the National Informatics Centre (NIC) or the National Physical Laboratory (NPL), or to NTP servers traceable to them, "for synchronisation of all their ICT systems clocks". Multi-geography entities can use another accurate source, provided it does not deviate from NIC and NPL.
- 6-hour reporting (direction ii). Report the incidents listed in Annexure I to CERT-In "within 6 hours of noticing such incidents or being brought to notice about such incidents", by email to incident@cert-in.org.in, phone or fax.
- Point of contact (direction iii). Name a point of contact for CERT-In, and act on CERT-In orders within the timeframe they set.
- Logs (direction iv). "Mandatorily enable logs of all their ICT systems and maintain them securely for a rolling period of 180 days and the same shall be maintained within the Indian jurisdiction." Logs must be given to CERT-In with an incident report or when CERT-In orders.
Two more directions apply to specific sectors. Data centres, VPS, cloud and VPN service providers must keep subscriber records for 5 years (direction v). Virtual asset providers must keep KYC and transaction records for 5 years (direction vi).
CERT-In gave MSMEs, and the subscriber-validation part of direction (v), extra time until 25 September 2022 (PIB).
What CERT-In's FAQ clarifies
CERT-In published FAQs on the Directions in May 2022 (CERT-In FAQ). The answers that matter for networks:
- Which logs (Q37). Logs depend on the sector, "such as Firewall logs, Intrusion Prevention Systems logs, SIEM logs, web / database / mail / FTP / Proxy server logs, Event logs of critical systems, Application logs, ATM switch logs, SSH logs, VPN logs etc." The list is not exhaustive. Record "both successful as well as unsuccessful events".
- Storage outside India (Q35 and Q36). Logs "may be stored outside India also as long as the obligation to produce logs to CERT-In is adhered to by the entities in a reasonable time". But Q36 says service providers offering services to users in India must maintain logs "in Indian jurisdiction". The safe design is a primary 180-day copy in India, with any foreign copy as a backup.
- Time zone (Q40). Clocks do not have to be set to IST. NTP gives UTC, and hosts convert locally. Record the time zone with the time.
- NTP servers (Q43). NIC: samay1.nic.in and samay2.nic.in. NPL: time.nplindia.org.
- Incomplete information (Q30). Report what you have within 6 hours and send the rest later.
- Reporting cannot be contracted away (Q13, Q22). "Any entity which notices the cyber security incident, shall report to CERT-In." A confidentiality clause does not override this.
- Enterprise VPNs (Q34). The 5-year subscriber-record duty for VPN providers applies to providers of "Internet proxy like services" to the public, not to corporate VPNs.
- Foreign firms (Q26). The Directions apply "to any entity whatsoever, in the matter of cyber incidents".
Which network logs to keep
The Directions say "all ICT systems". For a branch, ATM or plant network, that usually means:
| Source | What to log | Why it helps an investigation |
|---|---|---|
| Firewall / NGFW | Allowed and denied sessions, NAT translations, policy changes | Shows who talked to what, and when |
| IPS and gateway antivirus | Signatures matched, actions taken | Ties an alert to a host and time |
| SD-WAN edge and router | Interface up/down, route changes, SIM or link failover, admin logins | Separates an attack from an outage |
| VPN / ZTNA gateway | User, device, source IP, session start and end, failed logins | Required for access investigations; "VPN logs" is named in FAQ Q37 |
| Web proxy / SWG | URL, user, verdict | Tracks phishing and malware downloads |
| DNS resolver | Queries and responses | Finds command-and-control traffic |
| Management platform | Configuration changes, firmware pushes, API calls, who approved | Proves who changed the network |
| Wi-Fi controller and captive portal | Client association, authentication | Links a device to a person |
| NTP | Sync status and offsets | Shows your timestamps can be trusted |
Annexure I lists 20 incident types. Several point straight at the network: "Attack on servers such as Database, Mail and DNS and network devices such as Routers", "Targeted scanning/probing of critical networks/systems", DoS and DDoS, attacks on IoT devices, and attacks on "Critical infrastructure, SCADA and operational technology systems and Wireless networks".
A reference architecture for 180 days in India
- Send everything off the box. Routers and firewalls keep little on-device storage. Forward syslog, flow and security events to a central collector or SIEM hosted in India.
- Size for 180 days, plus headroom. Estimate events per second per site and multiply out. Keep the most recent weeks searchable and archive the rest, still in India.
- Protect integrity. Restrict who can delete or edit logs, and log access to the logs themselves. The Directions ask for logs to be kept "securely".
- Sync every clock. Point the controller, collectors and every edge at NIC or NPL NTP servers, or an internal server traceable to them. Alarm on drift.
- Watch management-platform defaults. Many platforms keep short telemetry by default. Check each retention setting, and export anything shorter than 180 days to your SIEM or archive.
- Know where a vendor keeps your logs. For a cloud-managed network or SSE service, ask the vendor where logs sit, for how long, and how fast they can hand them over.
- Rehearse the 6-hour clock. Time a test incident from first alert to a draft CERT-In report. Keep the email template, the point-of-contact details and the reporting form ready.
Checklist: is your network ready?
| Check | Pass condition |
|---|---|
| Log scope | Every firewall, router, SD-WAN edge, VPN/ZTNA gateway, proxy and controller sends logs centrally |
| Retention | At least 180 days, rolling, for every source |
| Location | Primary copy in India; any foreign copy can be produced to CERT-In quickly |
| Integrity | Role-based access; deletion restricted and logged |
| Success and failure | Both successful and failed events recorded (FAQ Q37) |
| Time | NIC/NPL or traceable NTP on all devices; time zone recorded |
| Point of contact | Designated and sent to CERT-In in the Annexure II format |
| 6-hour drill | Tested at least once; report template ready |
| Vendor contracts | Log location, retention and hand-over time written into cloud and managed-service contracts |
Related guidance since 2022
- Audits. CERT-In's Comprehensive Cyber Security Audit Policy Guidelines (v1.0, 25 July 2025) include a "Log Management and Maintenance Audit". It assesses log "generation, retention, integrity, and monitoring practices" against organisational policy and regulatory requirements (CERT-In). The same guidelines say remote access traffic "should be tunneled, encrypted and logged", and that MFA is mandatory for remote access.
- Bills of materials. CERT-In's Technical Guidelines on SBOM, QBOM, CBOM, AIBOM and HBOM (v2.0, 9 July 2025) are guidance, not a mandate (AZB & Partners).
- Sector regulators. Banks also report to RBI within 6 hours under the Directions of 31 July 2026. See our RBI Directions guide. The DPDP Rules 2025 add a one-year minimum for certain logs from May 2027.
How Nexapp helps
Nexapp's platform helps you meet these obligations. The obligation itself stays with your organisation.
- Logs stay in India. The Nexapp Controller and Instaroute SDWAN Lite 2.0 run Nexapp-hosted in India or self-hosted in your own data centre and DR.
- Configurable retention. You set retention to your policy. SDWAN Lite 2.0 keeps 180 days of alarm history by default and 30 days of telemetry, so export telemetry to your SIEM if you need 180 days of it.
- SIEM export. Every log stream exports as RFC 5424 syslog on SDWAN Lite 2.0. NGFW edges send syslog to a remote collector, and security events go out by syslog, webhook or email.
- Audit trail. SD-WAN Enterprise keeps access, activity, device, firmware and audit logs, with configurable retention.
- Time sync. NTP servers are set centrally, so devices and the controller can use NIC or NPL sources.
- Remote access. Nexapp SSE/ZTNA logs access app by app, with identity and device posture.
See our Trust page for how these map to CERT-In, RBI and DPDP.
Frequently asked questions
What does CERT-In's 180-day log retention require?
Direction (iv) of 28 April 2022 requires service providers, intermediaries, data centres, body corporate and government organisations to enable logs of all ICT systems and keep them securely for a rolling 180 days within Indian jurisdiction.
Logs must be given to CERT-In with an incident report or on order.
Do the logs have to be stored in India?
The Direction says "within the Indian jurisdiction".
CERT-In's FAQ (Q35) adds that logs may also be stored outside India if they can be produced to CERT-In in reasonable time. The safest design keeps a primary 180-day copy in India.
Which network logs count?
CERT-In's FAQ names firewall, IPS, SIEM, proxy, SSH, VPN and application logs, among others, and says the list is not exhaustive.
For networks, include routers, SD-WAN edges, VPN or ZTNA gateways, DNS, Wi-Fi controllers and the management platform. Record both successful and failed events.
When does the 6-hour reporting clock start?
From noticing the incident, or being told about it.
If you do not have all the details within 6 hours, report what you have and send the rest later (FAQ Q30).
Do we have to use NIC or NPL time servers?
Use NIC (samay1.nic.in, samay2.nic.in) or NPL (time.nplindia.org), or an internal NTP source traceable to them.
Clocks need not be set to IST, but record the time zone with each timestamp.
Does the 5-year VPN record rule apply to our corporate VPN?
No. CERT-In's FAQ (Q34) says the subscriber-record duty covers providers of "Internet proxy like services" to the public, not enterprise or corporate VPNs.
The 180-day log duty still applies to your VPN logs.
Can our vendor report incidents to CERT-In for us?
CERT-In says any entity that notices an incident must report it, and the obligation cannot be transferred.
Agree in your contract how your vendor will alert you, so you can report within 6 hours.
Is Nexapp CERT-In certified?
CERT-In empanels security auditors; it does not certify products.
Nexapp provides in-India logging, configurable retention, SIEM export and NTP controls that help you meet your CERT-In obligations.
Planning 180-day log retention across branches and ATMs? Walk through your design with a Nexapp architect.
24×7 NOC in Pune · 75,000+ devices deployed · 400+ enterprise and banking customers since 2014.