skip to content

An auditor asks what your approved-base-image gate actually establishes — what controls do you name beside it?

level: middleimportance: should knowfreq 44%

answer

  1. Two halves: what it asserts, who covers the rest
  2. Preventive and mechanical versus detective
  3. Review owns necessity, not the predicate
  4. Compensating means a different input
  5. A stricter rule is not a second control

basics

~20 s

Name the gate as a preventive check on one recorded fact, the human review that judges whether a deviation was necessary, and runtime detection that watches what the image does once it runs. Say what each decides.

solid answer

~50 s

I would answer in two halves. The gate is a preventive control over a single mechanical fact: on every build, the recorded base image is compared against an approved set, uniformly, with a record of the decision. Beside it sit controls that cover what a predicate structurally cannot. A review — code review for a routine change, a design review for a workload that needs a bespoke base — is where necessity and intent get judged, because a person can ask the requester why and weigh the answer. Runtime detection is the detective half: it observes what the container actually does after it starts, which catches the case where an entirely approved base was used and the problem arrived in a later layer or at execution time. The honest summary for the auditor is that the gate makes deviations visible and consistent, and people decide whether a specific deviation was acceptable.

go deeper

for a junior

Learn the vocabulary: a control that stops something before it happens is preventive, one that reports after the fact is detective, and a compensating control covers what the first one cannot.

for a middle

Be ready to state the gate's exact claim in one sentence and then name, for each thing it cannot decide, a specific control that can and why that control's input is different.

for a senior

Expect to be judged on the honesty of the summary you give a non-engineer, and on spotting when a supposed compensating control is really the same check written twice.

for a principal

Own the map across the estate: for every automated guardrail, who makes the judgement beside it, and where that second line is currently blank.

## The question behind the question When an auditor asks what a control establishes, they are not trying to catch you out; they are trying to write down a true sentence. The failure mode is answering "we enforce approved base images," which sounds like a guarantee and is not one. The productive answer names the gate's exact claim and then names what sits beside it to cover the rest. ## What the gate owns The base-image gate is **preventive** — it acts before the artifact is used — and it is **mechanical**: it compares a recorded field against a published set. Its strengths are exactly the strengths of automation: it runs on every single build with no sampling, applies the same standard regardless of who submitted the change or what time it is, and produces a decision record without anyone remembering to write one. Its claim is narrow and precise: *this image's recorded base was, or was not, on the approved list at build time.* ## What sits beside it, and what each covers **Human review (code or design review).** This is the control that owns **necessity and intent**. A reviewer can ask the requester why a vendor's base image is required, whether the driver really only ships for that distribution, whether the migration that justified it has an end date, and whether a smaller change would avoid it. None of that is expressible as a predicate over the image, because none of it is in the image. Review is expensive, inconsistent between reviewers, and does not scale linearly — which is precisely why you want the mechanical part automated and the review reserved for the judgement. **Runtime detection.** This is a **detective** control: it observes the workload after it starts and reports on what it does. It covers a different failure entirely — the image that used a perfectly approved base and then installed something unwanted three layers later, or behaves badly only under real traffic. A build-time predicate over base metadata can never see this, because at build time the behaviour has not happened yet. **Tests and other build-time checks.** Automated tests and content scanning cover properties of the artifact other than the base identity. They share the gate's shape (mechanical, preventive, uniform) but a different subject. **Ownership of the approved list.** Someone has to periodically ask whether the entries are still appropriate. The gate faithfully enforces a list it never questions; a stale list produces green builds indefinitely. ## Saying it in one paragraph > "Every image build is checked against a published set of approved base images; that check is automatic, applies to all builds, and its result is recorded. It establishes which base was recorded, not whether a deviation was warranted. Deviations go to a named reviewer who judges necessity with the requester. Separately, running workloads are monitored, which covers behaviour that no build-time check can see." That paragraph survives a follow-up question. "We enforce approved base images" does not. ## The pairing discipline The useful habit is to write, for each rule you own, one line naming what it asserts and one line naming who covers the rest. If the second line is blank, you have found a real gap: a judgement nobody is making, or a class of failure nobody is watching for. If the second line says "a stricter version of the same rule," you have not found a compensating control — you have found more of the same control, and it will hit the same wall for the same reason. A compensating control is only compensating if it works on a **different input**. Review works on a conversation with a person; runtime detection works on observed behaviour; the gate works on a recorded field. Three inputs, three classes of decision. Two rules over the same document are one control with more clauses.

  • The auditor asks why you do not simply write a stricter rule instead of relying on review.
    Because a stricter rule reads the same document. Every extra clause is still a test over fields that record what was built, never why. Tightening the predicate changes which images fail, not what the predicate can know. The judgement about necessity requires asking a person a question, so it needs a control whose input is a person — that is what review is.
  • How would you describe runtime detection's relationship to the build-time gate without overselling either?
    They fail differently, so they cover different gaps. The gate is preventive and decides on a static fact before anything runs; detection is detective and reports on observed behaviour after it does. Detection catches the image that passed the gate honestly and still misbehaves; the gate catches the artifact before it ever reaches a cluster. Neither is a substitute, and neither makes the other's claim any broader.

saying these in an interview costs you the question

  • Telling an auditor the gate proves base images are controlled
  • Offering a stricter rule as the compensating control
  • Describing runtime detection as preventive
  • Naming controls without saying what each decides
  • Assuming the approved list stays correct without review

context