Join our Newsletter — 33% off our NHI Course
Home› Guides› If your ETL and iPaaS platform is compromised:…
Guide SaaS & OAuth Integrations

If your ETL and iPaaS platform is compromised: containment, credential rotation and rebuild playbook

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 16 min read
On this page

An integration platform or ETL service holds working credentials for most of the systems it connects, so a compromise of the platform is a compromise of every connection at once. Unlike a single stolen integration token, a platform incident means the attacker may have read the connection store, changed flow logic, copied data through run history or planted their own connections and outbound destinations. This playbook covers the response when the platform itself is affected: a tenant administrator account taken over, a leaked platform API token, a compromised self-hosted runtime or agent, or a breach notice from the platform provider. It sets out how the incident shows up, the triage questions, containment by priority, rotation of every connected credential, evidence to keep and when to rebuild rather than clean. The response to one leaked OAuth grant at one SaaS vendor is covered in SaaS integration token breach response; this guide goes wider and does not repeat its platform-by-platform revocation steps. It is vendor-neutral and written for integration owners, identity teams and incident responders.

Key takeaways

  • Assume every connection is exposed. If the attacker reached the connection store or an admin role, rotate every credential the platform held, not only those seen in use.
  • Freeze before you pause. Lock flow changes and admin access first, then pause flows by risk; switching everything off at once can break payroll, orders and identity sync and lose evidence.
  • Run history is a data breach surface. Logged payloads, error messages and debug output can hold personal data and secrets, so they need their own scope and possibly a notification decision.
  • Rotate in order of power. Cloud and data warehouse credentials, identity and directory connectors and anything with write access go first; rotation that misses one connection leaves the door open.
  • Rebuild when you cannot trust the logic. If flow definitions were modified and you cannot diff them against a known good copy, rebuild from source control into a clean tenant.

Why a platform compromise is different

An iPaaS or ETL platform combines four things an attacker wants in one place:

  • A credential store: connections hold OAuth refresh tokens, client secrets, database passwords, API keys, SSH keys and cloud access keys for both source and destination systems. ATT&CK T1528 Steal Application Access Token and T1550.001 Application Access Token describe how those tokens are taken and reused.
  • Executable logic: flows, recipes, pipelines and transformation scripts run with those credentials. Changing a flow is a way to read or write data without ever touching the target systems' own consoles.
  • A data copy: run history, retry queues, staging tables and debug logs retain records in transit. ATT&CK T1537 Transfer Data to Cloud Account and T1567 Exfiltration Over Web Service fit an attacker who adds a destination and lets the platform do the copying.
  • A trusted network path: self-hosted agents and runtimes inside the network reach databases and file shares that are not exposed to the internet. A provider-side compromise becomes a T1199 Trusted Relationship path inward.

OWASP's Non-Human Identities Top 10 2025 names vulnerable third-party NHIs (NHI3), overprivileged NHIs (NHI5) and NHI reuse (NHI9). Integration platforms concentrate all three, which is why containment is broader here than for a single token incident.

How the incident shows up

SignalWhere you see itLikely scenario
Admin sign-in from an unfamiliar location, MFA reset or new admin role grantIdP sign-in logs; platform audit logTenant administrator account takeover
New connection, new outbound HTTP or storage destination, or a flow edited outside a change windowPlatform audit log; change historyAttacker adding exfiltration paths or altering logic
Unusual volume from a connection, such as full-table reads or bulk exports at odd hoursSource system API and query logs; data warehouse query historyConnection credentials in use by the attacker or a modified flow
Connection credentials used from addresses outside the platform's published rangesTarget system sign-in logsCredentials copied out of the platform (T1078.004)
New process, user or outbound connection on the host running a self-hosted agentEDR; host logsRuntime host compromise
Provider security notice or customer advisoryEmail, status page, account teamProvider-side breach affecting stored connections
Platform API token used from a new source or creating admin objectsPlatform audit logLeaked automation or deployment token

Triage questions

Answer these in the first hour; they decide the size of the response. NIST SP 800-61 Rev. 3 puts triage, prioritisation and escalation under the CSF 2.0 Incident Management category (RS.MA).

  1. What level of access was gained? A single user's flows, a workspace, a tenant admin role, the platform API, the runtime host or the provider's own systems.
  2. Could the attacker read connection secrets? Some platforms never display stored secrets to users, but an admin can usually re-point a connection to a server they control or use it in a new flow, which has the same effect.
  3. Which connections exist, and what can each do? Export the connection list with target system, auth type, identity used and read or write scope.
  4. Were flows, schedules or destinations changed? Pull the audit and version history for the exposure window.
  5. What data sits in run history and logs? Retention settings, payload logging and whether debug mode was on.
  6. Is there a self-hosted runtime, and what can it reach? Network paths, local credentials and the account it runs as.
  7. Is personal or regulated data in scope? This starts the notification clock (see below).

Containment by priority

NIST SP 800-61 Rev. 3 notes that containment measures should have defined durations and that handlers need both automated and manual options. Work in this order, recording the time of each action.

  1. Preserve evidence: export the platform audit log, flow version history, connection inventory and run history for the window before you change anything. Retention on integration platforms can be short.
  2. Lock administration: revoke sessions and API tokens for all platform admins, reset the compromised accounts through the IdP, require re-authentication with phishing-resistant MFA and restrict admin sign-in to managed devices or known networks if the platform allows.
  3. Freeze change: remove edit and deploy rights from everyone except the incident team, and disable creation of new connections.
  4. Cut new exits: disable any connection or destination created in the window, and at the network edge block outbound traffic from self-hosted runtimes to anything other than the systems they need and the platform's control plane.
  5. Pause flows by risk: stop flows with write access to identity, finance and production data first, then flows that export to external destinations. Keep low-risk read flows running if the business needs them and you are watching them.
  6. Isolate the runtime: if an agent host is involved, isolate it with EDR and treat it as a compromised server, not as an integration problem.
  7. Disable the platform's identities at the targets: for the highest-value connections, disable the platform's service account or app at the target system itself, so stolen copies of the credential stop working even outside the platform.

Pausing every flow is the right call when the scope is unknown and the provider itself is breached. Selective pausing is reasonable when the compromise is a single workspace and the audit log is complete. Agree the business workarounds for paused integrations with process owners at the start, so pressure to switch flows back on does not override the response.

Credential rotation across connections

Rotation is the longest phase. The OWASP Secrets Management Cheat Sheet sets the order for an exposed secret: revoke it, issue a new one, remove the old value from code and logs while preserving log integrity, and record who had access and when it was used. Apply that to every connection, in tiers.

TierConnection typesWhy firstProof it is done
1 (hours)Cloud provider access keys and roles, data warehouse and production database accounts, identity provider and directory connectors, secrets managersHighest blast radius; can create further credentialsOld key disabled or deleted; target logs show no use after rotation time
2 (day 1)SaaS OAuth grants and client secrets with write scope, finance and HR systems, file transfer and SSH keysWrite access and regulated dataGrant revoked, new grant issued to a new identity; old client secret removed
3 (days 2 to 5)Read-only connections, webhooks, notification and messaging integrationsLower impact but still a data pathNew secret in use; old secret fails a controlled test
4 (with rebuild)Platform admin and API tokens, runtime enrolment keys, the platform's own SSO configurationMust be clean before the platform is trusted againNew tokens issued from the clean tenant; old enrolment keys revoked
  • OAuth mechanics: RFC 7009 says a revoked token cannot be used again and that, when a refresh token is revoked, the server should also invalidate access tokens from the same grant where it supports access token revocation. It also returns HTTP 200 for an invalid token, so a 200 response does not prove a live token was found. Confirm with the target system's grant list. Per-platform steps are in the OAuth Token Introspection and Revocation Guide.
  • Database and key-based connections: create a new account or key, update the platform connection, then disable the old one. Do not simply change a password on a shared account that other systems also use; NHI reuse turns rotation into an outage.
  • Look for added credentials: at each target, list credentials, OAuth grants and role assignments created during the window by the platform's identities. ATT&CK T1098.001 Additional Cloud Credentials describes this persistence.
  • Use the chance to fix scope: re-issue each connection with its own identity and the minimum scope. Where the platform runs in a cloud and the target supports it, replace static keys with Workload Identity Federation.

Run history, logs and data exposure

Integration platforms log what passes through them. The OWASP Logging Cheat Sheet lists access tokens, authentication passwords, database connection strings and encryption keys as data to exclude from logs, but debug runs and error messages often contain them anyway.

  • Search run history for secrets: scan exported logs and payloads for credential patterns and connection strings. Treat each hit as an exposed secret and add it to the rotation tiers. ATT&CK T1552.001 Credentials In Files applies to logs as much as config files.
  • Scope personal data: list which flows carried personal data in the window and whether payloads were retained. This is the input to the notification decision.
  • Clean without destroying evidence: export a protected copy for the investigation, then purge secrets and unneeded payloads from the live platform, reduce retention and turn off payload logging for sensitive flows.
  • Check staging stores: ETL staging buckets, temporary tables and retry queues outside the platform may hold the same data. See the ETL and ELT Pipeline Security Guide.

Evidence to preserve

EvidenceSourceWhat it answers
Platform audit log for the full windowPlatform admin console or API exportWho signed in, what they changed, which connections they created
Flow and pipeline version historyPlatform versioning or linked source controlWhether logic was altered and how
Connection inventory with auth type and identityPlatform exportThe rotation scope
Run history and job logsPlatform exportWhich data moved, to where and when
Target system sign-in and API logs for each connection identityCloud, SaaS and database audit logsUse of credentials inside and outside the platform
Runtime host image and EDR timelineEDR, forensic captureHost compromise and lateral movement
Provider notice and correspondenceProviderProvider-side root cause and their own remediation

NIST SP 800-61 Rev. 3 maps this to RS.AN-06 and RS.AN-07: record investigation actions, preserve their integrity and provenance, and keep evidence under your retention policy. Export logs to storage the platform's admins cannot change. The SaaS Audit Log Retention and Licensing Guide covers retention limits that can erase this evidence.

Notification triggers

  • GDPR: Article 33(1) requires the controller to notify the competent supervisory authority without undue delay and, where feasible, not later than 72 hours after becoming aware of a personal data breach, unless it is unlikely to result in a risk to individuals. Article 33(2) requires a processor to notify the controller without undue delay. If you run the platform for clients, you may be the processor.
  • Contracts: NIST SP 800-61 Rev. 3 points to GV.SC-05 for incident disclosure in supplier contracts and RS.CO-02 for notifying affected parties. Check both directions: what the provider owes you and what you owe customers whose data passed through your flows. See the Third-Party Incident Notification Clauses Guide.
  • Connected system owners: tell every owner of a target system that its credentials were exposed and rotated, so they can check their own logs.

This section summarises the obligations and is not legal advice; involve legal counsel and your data protection officer early.

Clean up or rebuild

NIST SP 800-61 Rev. 3 lists rebuilding systems and restoring from clean backups among recovery methods and, under RC.RP-05, asks that the integrity of restored assets is verified before normal operation is confirmed.

SituationApproach
Single compromised user, complete audit log, no flow changesClean in place: reset the account, rotate connections it could use, review its flows
Admin access, flow changes you can diff against source controlRevert flows to known good versions, rotate all connections, rebuild admin access
Admin access, flow changes you cannot diff, or audit log gapsRebuild into a new workspace or tenant from source-controlled definitions with new connections
Self-hosted runtime host compromisedRebuild the host from a clean image, re-enrol with a new key, review what it could reach
Provider-side breachFollow the provider's guidance, rotate all connections regardless, and require the provider's written root cause before closing

A rebuild sequence that works in practice:

  1. Create the clean workspace or tenant with SSO and MFA enforced and no legacy admins.
  2. Import flow definitions from source control, not from the compromised platform's export, and review each one against its documented purpose.
  3. Create new connections with new identities and minimum scope, tier 1 first, and test each with non-production data.
  4. Enable flows in business priority order, with monitoring on each target for the first week.
  5. Decommission the old workspace: revoke all its tokens, delete its connections, keep its exported evidence.
  6. Declare recovery complete against written criteria and run the after-action review.

Decision guidance

  • Vendor-hosted versus self-hosted: on a hosted platform you control identities, connections and flows but depend on the provider for platform logs and root cause; on a self-hosted platform you own the host, the database holding connection secrets and its encryption keys, and those must be rotated too.
  • Small team, few flows: rotating everything and rebuilding is often faster than proving which connections were safe.
  • Large estate, hundreds of connections: tier the rotation, automate it through the secrets manager where possible and track it in a single list with owner, rotation time and proof.
  • When the platform is also your identity sync: if it provisions users, assume the attacker could create or elevate accounts in the target directory, and hunt for that before re-enabling.

Detection and measurement

After recovery, keep alerts on new connections, new outbound destinations, flow edits outside change windows and connection credentials used from outside the platform's known addresses. The Securing the iPaaS and integration platform itself guide covers hardening to prevent a repeat. Measure the response with:

  • Time from detection to admin lock and change freeze.
  • Percentage of connections rotated, by tier, against the inventory (target 100%).
  • Number of old credentials still accepted by a target in controlled tests (target zero).
  • Percentage of flows restored from source control rather than from the compromised platform.
  • Number of connections still sharing an identity with another system after rebuild.

Common failure patterns

  • Rotating only the connections seen in use: the attacker copied the rest and uses them later from outside the platform.
  • Turning everything off first: the platform is stopped before the audit log and run history are exported, and short retention erases the evidence.
  • Forgetting the targets: credentials are rotated in the platform, but new keys, grants or role assignments the attacker created at the target systems remain.
  • Ignoring run history: secrets and personal data in logs are never scoped, so the notification decision is made on incomplete facts.
  • Re-importing the compromised logic: flows are exported from the affected tenant and imported into the new one, carrying the attacker's change with them.
  • Shared service accounts: one database account used by the platform and three other applications makes rotation an outage, so it is postponed indefinitely.

Framework mapping

PhaseNIST CSF 2.0NIST SP 800-53 Rev. 5ATT&CK techniques addressed
Triage and coordinationRS.MA-01IR-4 Incident HandlingT1199
ContainmentRS.MI-01IR-4, AC-2 Account ManagementT1537, T1567
Credential rotationRS.MI-02IA-5 Authenticator ManagementT1528, T1550.001, T1098.001, T1078.004
EvidenceRS.AN-06AU-9 Protection of Audit Information
NotificationRS.CO-02, GV.SC-05SA-9 External System Services
Rebuild and verificationRC.RP-05AC-6 Least PrivilegeT1552.001

Practitioner checklist

  • Audit log, flow history, connection inventory and run history exported before changes.
  • Admin sessions and platform API tokens revoked; change and connection creation frozen.
  • Connections and destinations created in the window disabled; runtime egress restricted.
  • Flows paused by risk, with agreed business workarounds.
  • Every connection rotated by tier, with proof that the old credential fails.
  • Targets checked for credentials, grants and roles the attacker added.
  • Run history scanned for secrets and personal data; notification decision recorded.
  • Rebuild from source control where logic cannot be trusted; old tenant decommissioned.
  • Post-incident alerts on new connections, destinations and off-platform credential use.

Standards and references

Related NHI Mgmt Group resources: SaaS integration token breach response, Securing the iPaaS and integration platform itself, Third-Party Incident Response Playbook, Security Requirements for Selecting an Integration Platform (iPaaS).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

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.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.