Regulated businesses (banks, NBFCs, co-operative banks, fintechs, insurers, healthcare providers, and the software companies that serve them) want what every engineering team wants: frequent, reliable releases. But auditors and regulators want something too: evidence. Who changed what, who approved it, when it went live, what happened when something failed, and where the logs are.
Good DevOps delivers both. The same automation that speeds up releases can produce the audit trail automatically. This guide covers the Indian rules that shape DevOps in regulated firms, the controls auditors look for, and how to build them into the pipeline.
This is general guidance, not legal advice. Check the current text of each rule with your compliance team.
The rules that shape DevOps in India
| Rule | Who it covers | What it means for engineering |
|---|---|---|
| CERT-In directions (28 April 2022) | Service providers, intermediaries, data centres, body corporates and government organisations | Report cyber incidents within 6 hours. Keep logs of all ICT systems for a rolling 180 days within India |
| RBI Master Direction on IT Governance, Risk, Controls and Assurance Practices (7 Nov 2023, in force from 1 April 2024) | Banks, NBFCs and other RBI-regulated entities listed in it | Consolidates expectations on IT governance, risk, change and access controls, and business continuity / disaster recovery |
| RBI Master Direction on Outsourcing of IT Services (10 April 2023) | RBI-regulated entities using IT service providers, including cloud | The regulated entity stays responsible. Providers must support oversight, audit and the full data lifecycle |
| SEBI Cybersecurity and Cyber Resilience Framework (CSCRF) (20 Aug 2024, with later clarifications) | SEBI-regulated entities | Policies for access, log collection and retention, and cyber resilience |
| DPDP Rules 2025 (phased until about May 2027) | Anyone processing digital personal data | Purpose limits, security safeguards, breach handling, data requests |
What auditors usually ask for, and how DevOps provides it
| Auditors want | DevOps control that provides it |
|---|---|
| Every change is approved before production | Pull requests with required reviewers. Production deploys need an approval step in the pipeline (maker-checker) |
| Segregation of duties | The person who writes a change can't approve and deploy it alone. Production access is limited and time-bound |
| A complete record of changes | Version control for code and infrastructure (infrastructure as code). Pipeline logs linking each release to its approvals and tickets |
| Tested before release | Automated tests, security scans and quality gates that must pass before deploy |
| Logs kept and protected | Central logging, tamper-resistant storage, at least 180 days kept in India (CERT-In) |
| Access is controlled and reviewed | Single sign-on, MFA, least privilege, periodic access reviews, no shared accounts |
| Secrets are protected | A secrets manager, no passwords in code or pipeline files, rotation |
| Incidents are handled and reported | On-call alerts, an incident runbook, a reporting path that meets the 6-hour CERT-In window |
| You can recover | Backups, tested restores, documented recovery time and recovery point objectives, DR drills |
| Vulnerabilities are managed | Dependency and container scanning, patch timelines, penetration tests |
Building it into the pipeline
- Everything in version control: application code, infrastructure, configuration, database migrations.
- Protected main branch: changes only through reviewed pull requests.
- Automated checks on every change: tests, code quality, dependency and secret scanning.
- Environments that match: staging built from the same infrastructure code as production.
- Approval gate before production: a named approver, recorded automatically (see our release and rollback workflow).
- Automated, repeatable deploys: no manual changes on production servers.
- Rollback ready: every release can be reversed quickly.
- Observability: central logs, metrics and alerts, kept for the required period (see monitoring and observability).
- Incident response: runbooks, on-call, and a clear reporting chain (see our incident response workflow).
Common gaps we see
| Gap | Risk | Fix |
|---|---|---|
| Developers with permanent production access | Untracked changes, segregation-of-duties findings | Just-in-time access with approval and logging |
| Logs kept only 7–30 days by default | Can't meet CERT-In's 180 days | Set retention, archive to cheaper storage in India |
| Manual changes on servers ("hotfixes") | No record, drift between environments | Everything through the pipeline, infrastructure as code |
| DR plan never tested | Recovery fails when needed | Scheduled restore tests and DR drills |
| Secrets in code or CI variables shared widely | Credential leaks | Secrets manager, scoped access, rotation |
| Vendor (partner) access not reviewed | Outsourcing findings | Named accounts, access reviews, logs of partner activity |
Speed and control are not opposites
A well-built pipeline makes compliance cheaper: approvals, tests and logs are captured automatically on every release, so audit preparation means exporting evidence, not reconstructing it from emails. Teams can release more often precisely because each release is small, tested, approved and reversible.
We apply these practices in our own products. For example, our banking product for co-operative banks is built with maker-checker approvals and an immutable audit trail, hosted in AWS Mumbai.
Frequently asked questions
How long must logs be kept in India?
CERT-In's 2022 directions require logs of all ICT systems to be kept for a rolling 180 days within India. Sector regulators may require more. Check with your compliance team.
What does maker-checker mean in DevOps?
The person who makes a change can't also approve and release it. A second, authorised person approves, and the pipeline records both.
Can regulated companies use public cloud?
Yes, with the right controls. RBI-regulated entities must follow RBI's IT outsourcing directions, and everyone must meet CERT-In and DPDP requirements.
Do these rules apply to software vendors serving banks?
The regulated entity is responsible, but it will pass requirements to its vendors through contracts and audits. Vendors with audit-ready pipelines win and keep those contracts more easily.
Where should we start?
Usually with log retention, production access controls and an approval gate in the pipeline. They're quick to put in place and close common audit findings.
Preparing for an audit, or want releases that are fast and audit-ready? We'll review your pipeline and access controls against these expectations. See our DevSecOps services → · Talk to our DevOps team →