Attackers do not need to disable every security control if the organisation cannot reconstruct what a privileged identity did. Technology and SaaS businesses routinely combine identity providers, customer-facing applications, cloud infrastructure and third-party integrations. Each records a different part of an incident. When those records are unavailable, short-lived or disconnected, a routine credential compromise can become an expensive investigation with an uncertain boundary.
Where the exposure develops
A tenant may capture successful sign-ins while omitting administrative changes; a cloud account might retain API activity but not application-level access to customer records. Build pipelines and service accounts are particularly important because their permissions can reach production without an interactive human login. In a multi-tenant SaaS product, an investigator may need evidence from the identity layer, API gateway, application, database and deployment system before confirming which customer records were reachable.
Three recurring weaknesses deserve attention. Collection gaps mean high-value activity was never logged. Retention gaps mean useful events have expired before the issue is discovered. Correlation gaps mean events exist but their timestamps, user identifiers or request IDs cannot be reliably joined. A dashboard that reports healthy ingestion does not prove any of these problems is solved.
Indicators that warrant investigation
Investigate unexpected grants of elevated roles, creation of cloud access keys, changes to logging configuration, unfamiliar OAuth consent, service principal credentials added outside the change process and large data exports inconsistent with a user’s role. A suspicious login is only an entry point: the critical question is whether the session subsequently changed permissions, queried sensitive data or created a durable access path.
Prioritise alert rules around activities that should be rare rather than trying to alert on every event. For example, an unapproved change to a production audit policy has a different meaning from a normal test deployment. Establish a documented exception procedure so the detection team can distinguish planned changes from unauthorised ones.
Immediate containment and evidence checks
- Identify the potentially affected identities, service principals, tenants and production environments. Establish the last known-good access and configuration state.
- Preserve identity, cloud control-plane, API gateway and relevant application audit records before routine retention or rotation removes them. Record collection times and access controls.
- Review recent privilege grants, application consents, secret creation, log-disabling events and unusual exports. Cross-check what the provider actually makes available at the licensed tier.
- Revoke affected sessions and credentials where the incident commander determines that the evidence supports containment; avoid indiscriminate revocation that could interrupt essential production services.
- Examine whether an attacker could have changed the logging system itself. Independently stored or write-protected records are more trustworthy than logs on a possibly compromised host.
- Document affected customers or data classes using corroborated evidence, and escalate any applicable notification assessment to the relevant privacy and legal owners.
Build a useful logging baseline
For each critical service, define a minimum event set: authentication outcomes, changes to privileges, cloud API mutations, administrative actions, sensitive data access and unusual bulk operations. Record the owner, retention duration, storage location, time synchronisation and retrieval procedure. Verify permissions to the central log destination; security evidence should not be erasable by the same account that administers production.
Perform a controlled test: create an approved test identity, change a non-production privilege, access a synthetic record and revoke the session. Ask an analyst to reconstruct the event from the same interface they would use during an incident. If the story cannot be reconstructed, the missing linkage is a measurable control gap. NIST’s log management guidance is useful for designing this process, while the organisation’s threat model determines which data needs priority.
What to report to leadership
Report the proportion of critical services with verified logs, the availability of administrative and data-access records, the time required to answer a scoped investigation question and unresolved log-retention risks. Avoid treating the total volume of ingested data as a maturity score. The outcome that matters is whether the security team can establish who did what, to which resource, with enough confidence to make a timely containment decision.
Create a minimum SaaS investigation dataset
For a representative customer tenant, identify which events would be required to reconstruct a suspicious administrator action, bulk export and external share. Include initiating identity, effective role, tenant or workspace, affected object, source context, action result and event time. Verify that application logs, identity events and cloud control-plane records can be correlated; collecting one source may not tell the whole story. Agree retention periods and export permissions with privacy and operations owners, avoiding unnecessary raw customer content in security logs. Perform a synthetic permission change and ask an analyst who did not run the test to retrieve its evidence. A logging service that reports healthy ingestion but cannot identify the acting account has not met the investigation objective.
Watch for blind spots introduced by normal change
Check whether telemetry disappears when a new region, tenant, microservice or third-party integration is deployed. Review privileged changes to logging configuration, retention, collector credentials and data routing. Build a safe alert for gaps in expected event volume, but distinguish planned maintenance from tampering before escalating. When logs are unavailable, document which business questions cannot be answered and what compensating evidence exists in application databases, provider audit exports or deployment records. Use a service owner to approve restoration of the collection path and verify a new synthetic event appears. The acceptance test is an attributable event timeline after change, not merely restored dashboard traffic.
Test whether a missing SaaS log breaks a customer investigation
Choose a synthetic customer workspace and perform an authorised administrator role change, a failed cross-tenant file request and a permitted export. The exercise should show which record each component produces: identity provider, application audit, cloud control plane and export service. A central monitoring console may report the sign-in but lack the application object ID needed to confirm which tenant was affected. Record missing fields rather than treating the existence of an alert as sufficient investigation readiness.
Repeat the scenario after rotating an integration credential or changing a logging configuration, when gaps commonly appear. Confirm retention, access permissions and independent export of evidence for an incident that spans a supplier boundary. Ask the product owner to sign off on the customer’s ability to recover an accurate action history, including the time zone and object identifier used to reconcile records.
Sources and further reading
Strengthen your security with Next Defence
Security monitoring should help your team reconstruct material access and respond with confidence, not simply collect more logs. Next Defence connects identity, cloud and application telemetry to practical investigation and escalation workflows, then validates whether those workflows can identify a real exposure. Explore our Managed Security Operations.