skip to content

What must be true of a management-API audit record before you can tell an auditor the account's own administrators could not have altered it?

level: principalimportance: nice to knowfreq 30%

answer

  1. designed against your own administrators
  2. the copy that counts sits elsewhere
  3. retention lock and versioning
  4. stopping it is an event, alert on it
  5. alarm on silence, not only on events

basics

~20 s

The copy that counts must live where the account's administrators cannot delete or overwrite it, with retention outlasting the time it takes anyone to ask, and stopping the recording must itself alert, so silence is visible.

solid answer

~50 s

Three properties, and none is the default. **Separation**: the authoritative copy is delivered to a destination whose delete and overwrite permissions are held by different people from those who administer the account, with a retention lock and versioning so an attempted overwrite leaves a trace. **Continuity**: turning the recording off, narrowing its scope or redirecting it is itself a management call and therefore an event — so it must be alerted on, and the absence of expected entries must be treated as an alert in its own right, because a stopped stream is quiet by nature. **Survival**: the provider's default window is set for operational convenience, and the gap between an action and anyone asking about it is routinely longer, so the exported copy must outlive that gap. Be honest about the remaining limits: no record carries intent, and an out-of-band change leaves no entry to protect.

go deeper

for a junior

Know that the platform writes the audit record rather than your workload, and that keeping a copy somewhere else is what protects it from being deleted.

for a middle

Explain why a copy inside the same account is weak evidence, and that changing or disabling the recording is itself a management call that appears in the record.

for a senior

Show that you would alert both on configuration changes and on the absence of expected entries, and that you set retention against how long it takes anyone to ask rather than against the operational default.

for a principal

The judgment is where to draw the separation, what you will pay for retention you hope never to read, and how to say plainly what the control does not cover — intent, out-of-band changes, and the short interval before delivery.

## The question behind the question An auditor asking whether the record could have been altered is really asking whether your controls survive an insider with administrative rights. Almost every part of the system is designed to be operated by those administrators; the audit record is the one part that must be designed to be operated *despite* them. That single inversion drives every decision here, and a lead who cannot state it will design a record that is perfectly reliable against accident and worthless against the case it exists for. It is worth conceding the strong version of the claim immediately, because overstating it is how the answer fails. You cannot make a record unalterable in an absolute sense. What you can do is arrange things so that any alteration requires a second party, or leaves evidence, or both — and so that the silence produced by switching the recording off is itself loud. ## The three properties **1. Separation of the copy that counts.** The record as the platform writes it is inside the account, and whoever administers the account can generally change what is captured and where it goes. So the authoritative copy is delivered continuously to a destination that is administered by someone else — a different set of permissions, held by a different group, with delete and overwrite denied to the operating team. Two supporting mechanisms matter: - a **retention lock** on the destination, so a stored object cannot be shortened or removed before its period ends, even by whoever owns the destination; - **versioning**, so an overwrite creates a new version rather than replacing the old one, and an attempt is itself visible. How this separation is arranged across an organisation's accounts — which account owns the destination and how the boundary is drawn — is a tenancy question and is answered there. The property you are asserting here is narrower and portable: *the people who could have made the change cannot remove the record of it*. **2. Continuity, and an alarm on silence.** Disabling the recording, narrowing its scope, or pointing it at a destination you control are all management calls, so each produces an event — briefly. The attacker's move is to disable and then, at leisure, address the record of having disabled it. The countermeasure is not cleverness, it is **two independent detections**: 1. a rule on the event itself — any call that changes the recording configuration alerts immediately, to somebody outside the team that operates the account; 2. a rule on the absence of events — if the expected steady trickle of entries stops arriving at the destination for longer than the normal delivery lag, that raises an alert too. The second is the one teams skip, and it is the one that matters, because the successful version of the attack produces no event at all. A monitor that only fires on events cannot fire on a stream that has stopped. **3. Survival past the discovery lag.** The window the provider keeps by default is set for operational convenience — enough to debug last week. The interval between something being done and somebody asking about it is routinely far longer: a departure, a customer complaint, a regulator's letter, a penetration test. So the exported copy's retention must be set against that discovery lag rather than against the debugging use case, and the person setting it should be able to say which of those two numbers they used. ## What you cannot promise A credible answer names its own limits, and there are four: | limit | the honest statement | |---|---| | intent | the record shows a call and an outcome, never why | | coverage | a change that did not travel through the management API leaves no entry to protect | | the gap before delivery | events accepted but not yet delivered are the one genuinely vulnerable interval | | identity, not person | the record names the credential, and tying that to a human is another system's job | The third deserves emphasis, because it is where the claim is actually weakest. Between the platform accepting a call and the entry landing in the separated destination, the evidence exists only in the provider's own store. The mitigation is that the interval is short and not under the account's control — not that it does not exist. ## How to say it The answer an auditor can use is a statement of properties with named mechanisms, not a claim of perfection: the record is written by the platform rather than by anything inside the account; it is delivered continuously to a destination the account's administrators cannot delete from or overwrite; the retention on that destination exceeds the period under review; any change to the recording configuration alerts a separate group; and the absence of expected entries alerts too. That is a control that can be tested. "We use the platform's audit logging" is not.

  • Why is alerting on the absence of entries more important than alerting on a disable call?
    Because the successful attack ends in silence. Disabling the recording produces one event, which can be raced, filtered or lost in the delivery gap; the state it leaves behind — nothing arriving — persists for as long as the attacker wants. A monitor that only fires on events has nothing to fire on, so absence has to be its own alarm.
  • Does a very long retention on the exported copy substitute for separating who controls it?
    No. Retention decides how long a record survives if nobody removes it; separation decides whether the person implicated can remove it. Long retention in a destination administered by the same team gives an auditor no assurance at all — the two properties answer different questions and neither covers the other.
  • What would you actually test, once a year, to know these properties still hold?
    Three things, in a drill. Attempt a delete against the destination with the account's administrative credentials and confirm it is refused. Change the recording configuration in a non-production account and confirm the alert reaches the separate group. Stop delivery deliberately and confirm the absence alarm fires within its stated window. Untested, all three are assumptions.

A shop does not let the cashier hold the only key to the room where the till recordings are kept — and it notices when the recording stops, not merely when something is recorded.

saying these in an interview costs you the question

  • Claims the audit record simply cannot be altered by anyone
  • Stores the authoritative copy under the same administrators it audits
  • Monitors changes to the recording but not its silence
  • Sets retention from the default window rather than the discovery lag
  • Confuses restricting who can read the record with tamper resistance
  • Presents the record as evidence of intent rather than of calls