A build-versus-buy decision often looks settled before anyone asks who can revoke access, delete copied data, or reconstruct a breach. Those questions get expensive after users arrive. My position: buy replaceable workflows, but keep identity, data-export rules, and evidence of deletion under your control. I would not buy an entire customer-facing app merely to ship sooner, because an exit you cannot verify is not a practical exit.
The cheapest launch can surrender the right to leave
A vendor demo shows the path into its product; a CTO also needs the path out. “We support export” is insufficient if the export omits attachment ownership, consent history, or identifiers needed to reconnect records, because a technically complete file can still be unusable in a replacement system. Ask for a sample export before signing and have an engineer import it into an empty database. The result is more informative than a slide promising portability.
Deletion deserves the same treatment. A contract may say that customer data is deleted after termination while allowing backups, support tickets, analytics events, and subprocessors to retain copies on different schedules. Negotiate a specific deletion deadline—30 days is a proposed contract term, not a universal standard—and require the vendor to identify exceptions by data store. If the vendor cannot distinguish active records from derived telemetry, buying transfers less risk than the proposal suggests, because your team may still have to answer a user’s deletion request without controlling every copy.
Inherited Untested Code Hides Security and Privacy Debt correctly calls attention to inherited liabilities, but I would not treat existing code as the automatic loser in a buy decision, because a tested, self-hosted deletion path may be easier to defend than a new vendor’s undocumented retention path. Keep the decision anchored to demonstrable behavior rather than the age of the codebase.
For a concrete comparison, consider Vendor-hosted application versus in-house application with bought components. The vendor-hosted application wins when its export can be re-imported, its deletion exceptions are acceptable, and your product does not depend on changing those behaviors; its cost includes subscription fees, integration work, and contractual enforcement. The in-house application wins when deletion semantics or access rules are product-specific; its cost includes engineers, operational ownership, and ongoing security review. Neither wins because of a generic break-even date: the decisive expense may be the first forced migration, when an untested export turns a modest subscription into a reconstruction project.
Identity integration hides an authorization decision
“Supports SSO” answers how someone signs in, not which records they may read. With OpenID Connect and OAuth 2.0, a vendor can authenticate a user through your identity provider while retaining its own role model, administrator accounts, and session lifetime. Draw the authorization boundary before choosing the product: name the system that decides whether a support agent may view an account, the system that records that decision, and the system that revokes it. If those are three different systems, an urgent revocation will require coordination rather than one reliable action.
For a browser or mobile client, require Authorization Code with PKCE rather than accepting a design that embeds a long-lived client secret, because a distributed app cannot keep such a secret confidential. RFC 7636 specifies PKCE; OAuth 2.0 Security Best Current Practice, published as RFC 9700, provides a useful check on proposals that rely on older flows. Those standards constrain token handling, but they do not make a vendor’s permission model match yours.
Set a revocation objective you can test. For example, 15 minutes is a threshold to tune for disabling a departed employee across the identity provider, vendor sessions, and API tokens. Disable a pilot account, then attempt the same read through the web UI, mobile app, and API until all fail. If the vendor cannot revoke an existing session within your required window, document that exposure before procurement approves access; discovering it during an incident leaves no time to redesign sessions.
SCIM 2.0 provisioning can reduce manual account administration, but verify what a SCIM deactivation does to active sessions and service accounts, because provisioning and session revocation are different operations. Also test a vendor administrator account that bypasses SSO. A break-glass account may be necessary for recovery, yet it creates an alternate entrance unless its use is restricted, monitored, and reviewed.
I would buy an identity provider such as Microsoft Entra ID or Okta where it fits the organization, but I would keep product authorization rules in an owned service when those rules govern sensitive customer records. That split costs an integration and a policy test suite; it also lets the CTO change the workflow vendor without asking that vendor to define what every employee is allowed to see.
Mobile analytics can make a buy decision irreversible
A mobile app estimate often treats an analytics SDK as a small implementation detail, even though the SDK may transmit identifiers before a user reaches the screen where consent is requested. Your Mobile App Estimate Omits Security and Privacy is right to challenge the initial estimate, but the sharper procurement question is which outbound events remain after you remove the SDK, because previously transmitted data cannot be recalled by deleting a dependency.
Test the assembled app, not just its dependency list. Capture traffic from a fresh installation, login, denied-consent path, account deletion, and logout. Compare destinations and fields against an approved inventory that names each vendor and purpose. On Android, inspect the merged manifest as well as the source manifest; on iOS, review the assembled app’s privacy declarations alongside observed network traffic. Static declarations are useful evidence, but observed requests can reveal a discrepancy because configuration and third-party code affect runtime behavior.
This small Python 3 check demonstrates a CI gate for a normalized egress sample. It exits with a failure when an unexpected host or email field appears; replace the sample events with records from your test proxy before relying on it.
python3 - <<'PY'
import sys
events = [
{"host": "api.example.com", "fields": ["account_id"]},
{"host": "metrics.vendor.test", "fields": ["email"]},
]
allowed = {"api.example.com", "id.example.com"}
violations = [e for e in events if e["host"] not in allowed
or "email" in e["fields"]]
for event in violations:
print("Unexpected egress:", event["host"], event["fields"])
sys.exit(1 if violations else 0)
PY
The gate intentionally fails for the sample; a passing run would not prove that no other data leaves the device, because it checks only the traffic and fields supplied to it. Use it to make an approval decision repeatable, then supplement it with device testing and a review of SDK settings. An OpenTelemetry collector under your control can be preferable to several direct analytics integrations when it lets you filter events before forwarding them, although that choice adds infrastructure and cannot fix data already sent by an embedded SDK.
Do not assume a bought app eliminates this work. If it embeds your brand and serves your users, the vendor’s choice of crash reporter or attribution provider can still affect your privacy commitments. Require a dependency inventory and a contractual process for approving new outbound destinations; otherwise a routine vendor update can change the data boundary without a product decision from your team.
Audit logs are valuable only if they answer your incident questions
Ask the vendor to reconstruct a specific scenario: an administrator exports a customer record, changes its sharing settings, and later loses access. You need the actor, target, time, action, and outcome, linked by stable identifiers. A dashboard count of “admin activity” cannot answer whether the export preceded revocation, so it does little for an investigation even if it satisfies a procurement checkbox.
Run that scenario in a sandbox and request the raw events through the same mechanism you would use in production. Measure the delay between an action and its appearance in your logging system, then test whether events preserve identifiers across API calls and UI actions. In a worked pilot, 8 missing events out of 40 expected events would be an observed failure for that pilot, not an industry benchmark; the useful next step would be to identify which action types lack evidence before choosing either architecture.
Retention claims also need a named source. AWS states that CloudTrail Event history provides 90 days of management-event history, but that vendor-published period does not mean your application’s record views or exports are logged there. If you build on AWS, instrument those application actions yourself and decide where the events will be stored. If you buy, demand event delivery to a destination you control, because access to a vendor dashboard may disappear at exactly the time a contract or incident puts the relationship under strain.
GDPR Article 33 can require notification to a supervisory authority within 72 hours of becoming aware of a qualifying personal-data breach. That legal clock is a reason to establish an incident-notification route and evidence access in the contract, not a claim that every security event is reportable. A vendor that takes days to confirm what was accessed can consume the time your team needs to assess the facts.
Make the acceptance test contractual: specify the events, delivery method, retention, and access during termination. I would reject a product that cannot produce evidence for its own privileged exports when those exports contain customer data, because the apparent saving in engineering time would be paid back during the first serious investigation.
The first decision should be an exit test
Before approving either a build budget or a vendor contract, give both options the same exercise: export one account, delete it, revoke its operator, and reconstruct those actions from logs. Assign an owner to record what failed and how long each step took. A vendor that passes may save your team substantial work; one that refuses the exercise has already answered an important procurement question.


