Replacing a security tool is one of the few changes that can quietly remove detection coverage, destroy evidence you are obliged to keep and leave live credentials with a supplier you no longer pay. Teams plan the new tool's rollout in detail and treat the old one as something to switch off. This template is a working playbook for leaving any security product or service (EDR, SIEM, email security, scanners, identity tools, managed services) without losing data, coverage or control of the access paths it held. It is vendor-neutral and covers the overlap timeline, data export and retention, removal of agents, API keys and OAuth grants, coverage verification and contract exit terms. It is for security operations, procurement and third-party risk leads. For the wider supplier lifecycle, see the Third-Party Risk Management Guide.
How to use this template
- Complete one copy per tool being exited. Replace text in square brackets, such as [Organisation], [Outgoing tool], [Replacement tool] and [Exit owner], with your own terms, and delete the guidance notes in italics.
- "Must" marks a requirement; "should" marks recommended practice where a documented exception is allowed.
- Start the playbook when the decision to exit is taken, not at contract end: the overlap and export work usually needs more time than the notice period.
- Store the completed copy, with its evidence, in the supplier record so audit and the next exit can reuse it.
- If the exit is forced by a supplier incident or insolvency, run section 6 (credential removal) first and the rest in parallel.
1. When to use this playbook
1.1 This playbook applies when [Organisation] replaces, consolidates or retires any security tool or managed security service, including a move between products from the same supplier.
1.2 Typical triggers:
- Planned replacement: contract renewal, consolidation onto a platform, or a capability gap.
- Supplier event: acquisition, end of life or end of support announced by the supplier, price change, or loss of a required certification.
- Risk event: a security incident at the supplier, a failed assurance review, or a regulatory or sanctions issue. In this case credentials held by or for the supplier must be treated as possibly compromised.
1.3 Out of scope: rollout of the replacement tool, which follows [Organisation]'s change and onboarding process.
2. Roles and decision rights
| Role | Responsibility | Decision rights |
|---|---|---|
| [Exit owner] (security operations lead) | Owns the plan, timeline and coverage verification | Approves each phase gate and the final switch-off |
| [Procurement lead] | Notice periods, exit clauses, final invoices, data return and deletion certificates | Serves notice; signs off contractual closure |
| [Identity and secrets owner] | Inventory and revocation of accounts, API keys, OAuth grants, certificates | Confirms all access paths are removed |
| [Data protection officer] and [Legal] | Retention obligations, legal holds, processor deletion | Approves what is exported, kept or destroyed |
| [Detection engineering lead] | Rule and use case migration, coverage testing | Confirms detection parity before cutover |
| [Platform owners] (endpoint, network, cloud, email) | Agent removal, connector and routing changes | Schedule changes in their estates |
2.1 The [Exit owner] must not switch off the outgoing tool until the coverage gate in section 7 and the data gate in section 5 are both signed.
3. Planning the overlap
3.1 [Organisation] must run the outgoing and replacement tools in parallel for long enough to prove coverage, migrate content and capture any data that will not be exported. Agree the dates against the contract notice period before serving notice.
| Phase | Typical timing | Main activities | Exit gate |
|---|---|---|---|
| 0. Decide and inventory | T minus 120 to 90 days | Read the contract exit clauses; inventory data, integrations, credentials and agents; set retention needs | Inventory and retention decisions approved |
| 1. Serve notice and order export | T minus 90 to 60 days | Serve notice; request export formats, timelines and deletion certificate; confirm transition support | Supplier confirms export plan in writing |
| 2. Parallel run | T minus 60 to 14 days | Replacement deployed alongside; detections migrated and tested; alert routing duplicated | Coverage parity signed (section 7) |
| 3. Cutover | T minus 14 to 0 days | Replacement becomes primary; outgoing tool read-only; final data export taken and verified | Data gate signed (section 5) |
| 4. Removal | T plus 0 to 30 days | Agents uninstalled; keys, grants and accounts revoked; network rules and DNS cleaned | Zero residual access paths (section 6) |
| 5. Close | T plus 30 to 90 days | Deletion certificate received; inventories updated; lessons recorded | Exit closure report approved |
Guidance: these timings are a starting point, not a standard. Agent-based tools across large estates, and SIEM migrations with years of history, usually need longer. See the SIEM Migration Guide for log platform specifics.
3.2 Contract exit clauses to confirm before notice:
- Notice and term: notice period, auto-renewal date and whether a shorter extension can cover the overlap.
- Data return: what data is returned, in which format, within what period after termination, and at what cost.
- Deletion: deletion of [Organisation] data, including backups and sub-processor copies, with a written certificate and a stated deadline.
- Transition assistance: supplier support during migration, and whether the service stays available read-only after termination.
- Survival: confidentiality, audit rights and incident notification obligations that continue after the contract ends.
3.3 Where personal data is processed, the contract should already oblige the supplier as processor to delete or return the data at the end of the service, as Article 28(3)(g) of the UK and EU GDPR requires of processor contracts. Regulated financial entities in the EU should also check their exit plans against DORA; see the Cloud Exit Plan Template.
4. Inventory before you touch anything
4.1 Build a single exit inventory. Every row needs an owner and an exit action.
| Item type | Where to look | Exit action |
|---|---|---|
| Endpoint or server agents | Tool console device list, software inventory, golden images, container base images | Uninstall, remove from images, confirm in CMDB |
| API keys and service accounts the tool uses in your systems | Identity provider, cloud IAM, directory, secrets manager | Disable, then delete after the grace period |
| OAuth grants and app registrations | SaaS admin consoles, identity provider enterprise apps | Revoke grants and refresh tokens, delete the app registration |
| Credentials you hold for the supplier's platform | Admin accounts, SSO configuration, API tokens in scripts and SOAR | Remove SSO trust, delete tokens, deactivate admin users |
| Data flows and connectors | Log forwarders, syslog targets, webhooks, email routing, DNS records | Repoint or remove; delete dangling DNS |
| Network allowances | Firewall rules, proxy bypasses, allow-listed supplier IP ranges | Remove after cutover |
| Content and configuration | Detection rules, policies, exclusions, playbooks, dashboards | Export, translate, or document and retire |
| Stored data | Alerts, cases, raw telemetry, quarantined files, reports | Export, retain or confirm deletion (section 5) |
5. Data export and retention
5.1 For each data type, the [Data protection officer] and [Exit owner] must record whether it is exported, kept in the outgoing tool until a date, or destroyed, and why.
- Retention obligations: check each data type against [Organisation]'s retention schedule and the rules that apply. For example, PCI DSS v4.0.1 Requirement 10.5.1 requires 12 months of audit log history for the cardholder data environment with the most recent three months immediately available. See the Log Retention Requirements Map.
- Legal holds and open cases: export every case, alert and artefact under legal hold or linked to an open investigation with its chain of custody, before any deletion request.
- Format and integrity: export in documented, non-proprietary formats where possible (JSON, CSV, CEF, STIX for intelligence, PCAP), record record counts and hashes at export, and verify them on import or in cold storage.
- Usability: a cold archive that nobody can search may meet a retention rule but not an investigation. Decide which data must stay searchable and test a real query against it.
- Minimise: do not export data you have no reason to keep. Exit is a good moment to apply the retention schedule, not to copy everything.
- Deletion at the supplier: request deletion of production data, backups and sub-processor copies, with a certificate stating method and date. For any hardware returned or disposed of, apply NIST SP 800-88 Rev. 2 Guidelines for Media Sanitization. See the Data Retention and Secure Deletion Guide.
5.2 Data gate: signed when every row in the inventory's stored data section has a recorded outcome and exported data has been verified.
6. Credential and integration removal
6.1 Security tools usually hold some of the most privileged non-human access in the estate: EDR agents run with system rights, SIEM connectors read every log source, and email and SaaS security tools often hold tenant-wide OAuth grants. Leaving these behind gives a former supplier, or anyone who compromises it, a standing path in.
- Disable before delete: disable service accounts and API keys first, watch for breakage for an agreed grace period, then delete. Record who disabled what and when.
- Revoke OAuth grants properly: revoke the grant and its refresh tokens, then delete the app registration or enterprise app. RFC 7009 notes that revoking a refresh token does not invalidate existing access tokens unless the server supports it, so expect short-lived access tokens to keep working until they expire. See the SaaS and OAuth App Governance Guide.
- Remove agents with tamper protection in mind: agents with anti-tamper controls usually need a console-issued uninstall token or policy change. Remove them through the console while it is still under contract, and confirm removal from images and templates so the agent does not reappear.
- Rotate shared secrets: any secret the supplier could have seen (syslog TLS keys, webhook signing secrets, credentials typed into the tool for scanning) must be rotated, not just removed. Authenticated vulnerability scanners are a common case: rotate the scan accounts' passwords or keys.
- Remove the trust, not just the users: delete SSO and SAML or OIDC configurations, SCIM provisioning tokens and certificate trusts for the supplier platform.
- Clean the network and DNS: remove firewall allowances, proxy bypasses and DNS records pointing at the supplier, which can otherwise be claimed later.
6.2 Verification: after the grace period, search sign-in and audit logs for any authentication by the removed identities. Zero events for 30 days is a reasonable closure test. The NHI Offboarding and Decommissioning Guide and the API Key Management Guide cover the identity side in more depth.
7. Coverage verification
7.1 Before the outgoing tool is switched off, the [Detection engineering lead] must show that the replacement covers what the old tool covered, or record and accept each gap.
- Asset coverage: compare device, account, mailbox or log source counts between the two tools against the authoritative inventory. Agents that never checked in to the new tool are the usual gap.
- Detection coverage: map each active rule or use case in the old tool to its replacement, or retire it with a reason. Map both sets to MITRE ATT&CK techniques and compare.
- Test, do not assume: run the same safe test cases or attack simulations against both tools during the parallel run and compare alerts and timings.
- Response paths: confirm alerts reach the right queue, on-call rota and SOAR playbooks, and that automated actions (isolation, quarantine, block) work in the new tool.
7.2 Coverage gate: signed when asset coverage is within an agreed tolerance (for example 99 percent of managed devices), every high-priority detection is mapped and tested, and response actions are proven.
8. Communications
- Internal: tell the SOC, IT service desk, platform owners and incident responders the cutover date, what changes in alerting, and who to contact.
- Users: where the tool is visible (email banners, browser extensions, endpoint prompts), warn users before change so new prompts are not mistaken for phishing.
- Supplier: confirm in writing the termination date, export deliverables, deletion request and named contacts for the transition.
- Third parties: update customers, auditors, insurers or regulators where the tool is named in contracts, questionnaire answers or certifications. See the Security Questionnaires Guide.
9. After the exit
9.1 Within 90 days of switch-off, the [Exit owner] must produce a closure report covering:
- Deletion certificate received and filed.
- Inventories updated: CMDB, software inventory, supplier register, data map, identity inventory.
- Residual access check result (section 6.2).
- Gaps accepted at the coverage gate and their remediation status.
- Final invoice reconciled and no renewal scheduled.
- Lessons learned, including changes to contract terms to request at the next procurement.
Implementation guidance
- Write exit into procurement: the cheapest time to secure data return, export formats, deletion certificates and transition support is at contract signature. Add them to your standard terms for every security tool.
- Measure it: track days of overlap actually achieved against plan; residual credentials found after switch-off (target zero); percentage of high-priority detections mapped and tested before cutover; time to receive the deletion certificate; and export integrity checks passed.
- Common failure patterns: notice served before the export was scoped, so the data window closed first; OAuth grants and scanner credentials left active for months; agents removed but still present in gold images; cold archives that cannot be searched during an investigation; and a forgotten DNS record pointing at a supplier endpoint.
- Small organisations: a one-page version covering notice date, data export, credential revocation and a 30-day parallel run is a credible start.
- Framework mapping: NIST CSF 2.0 GV.SC-10 (provisions for activities after a partnership or service agreement ends) and GV.SC-05 (supply chain requirements in contracts); NIST SP 800-53 Rev 5 SA-9 External System Services, SR-2 Supply Chain Risk Management Plan, SR-12 Component Disposal, AC-2 Account Management, IA-5 Authenticator Management, MP-6 Media Sanitization and CM-8 System Component Inventory.
Standards and references
- NIST: Cybersecurity Framework 2.0
- NIST: SP 800-161 Rev. 1 Cybersecurity Supply Chain Risk Management Practices
- NIST: SP 800-88 Rev. 2 Guidelines for Media Sanitization
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
- IETF: RFC 7009 OAuth 2.0 Token Revocation
- EUR-Lex: Regulation (EU) 2016/679 (GDPR)
Related NHI Mgmt Group resources: Third-Party Risk Management Guide · Cloud Exit Plan Template · SaaS and OAuth App Governance Guide · NHI Offboarding and Decommissioning Guide