Concepts
The verdict tiers, resolved-effect, and the read-only-first model behind every CloudBooster Guard verdict.
Concepts
Three ideas explain everything Guard does: the verdict tiers, resolved-effect, and the read-only-first model.
The verdict tiers
Every finding gets one of four tiers, and a pull request's verdict uses the same four. Each rule has a fixed severity: the tier a finding gets once Guard has confirmed it with facts.
| Tier | What it means | Where you hear about it |
|---|---|---|
| Critical | The worst kind of exposure, now confirmed. Data anyone can read, such as a public bucket, is Critical. A sensitive port opened to the whole internet is Critical when Guard confirms every fact: the internet can reach what sits behind it, it is production, and it is new since the baseline. | At once (Slack, and email for a live cloud finding). |
| High | A serious exposure, confirmed. A finding is also High when production is only inferred, for example from a resource's name. | At once, in Slack. |
| Watch | It would be High or Critical, but one fact Guard needs could not be confirmed, or its rule is still being tuned. | The daily digest email. A Watch never pages. |
| Clean | Nothing dangerous. | Nothing is sent. |
How Guard decides has the details, and What Guard detects lists every rule with its tier.
Three things make the tiers trustworthy:
- Critical is earned, never guessed. Guard withholds Critical unless the danger is established
by facts — values lifted straight from the change and your live state. Production known only by
inference, such as a resource named
orders-prodin an account you have not marked production, caps the finding at High; a production tag or a production account is a fact. The deterministic core decides the tier; the AI explainer only puts the verdict into words — it can never create a finding or change a tier. - Unknown facts hold at Watch. If Guard can't confirm whether something is reachable or production, it does not quietly pass the change — it holds the finding at Watch and says which fact is missing and what would raise it. A rule that is still being tuned also reports at Watch until it is switched on. Silence is reserved for changes that are provably fine.
- Blocking is opt-in. A watched repository starts in Monitor: reviews run and report, and the
cbxguard/reviewcheck never fails. An admin arms the repository's gate and chooses the tiers it blocks (Critical only by default); the check then holds a merge once you make it required in GitHub or GitLab. On Pro and Enterprise, a pull request the armed gate blocks also becomes a PR merge hold, which an admin can allow once for that commit. See Set up pull-request review.
The day-one baseline
When you first connect an account, Guard snapshots what's already there — an existing world-open security group, a pre-existing admin role — as a grandfathered baseline. Those standing facts are surfaced quietly as context, not fired as Critical. Guard interrupts on a change off that baseline — the moment something moves from safe to dangerous — not on pre-existing state. So day one is quiet, and the first loud verdict is a real, new event.
Resolved-effect
This is what separates Guard from a linter. A linter reads the diff and matches patterns. Guard resolves the effect of a change before judging it.
The same dangerous change can be written a dozen ways across Terraform encodings, and its real risk depends entirely on context the diff doesn't contain. So before a verdict, Guard:
- Normalizes the change into its effective state — the meaning of the edit, identical regardless of which IaC syntax expressed it.
- Computes the delta against the captured baseline — did this actually move something from a safe/closed state to a dangerous/open one? A config that was already dangerous is steady state, not an event.
- Resolves it against live state — is the target actually reachable from the internet (public subnet with an internet gateway, an internet-facing load balancer, a public-accessibility flag)? Is it in an account that matters (production)?
For a sensitive port opened to the internet, only a change that clears all of that — a real delta, on a reachable target, in an account that matters — reaches Critical. A world-open rule on a security group attached to nothing isn't a Critical; an already-open port that's merely re-applied isn't even an event.
Why it matters: resolved-effect is why Guard's verdicts reflect real exposure rather than the presence of a scary-looking keyword. It's also why connecting a cloud account makes verdicts sharper — reachability and production scope come from your live state.
Reachability is resolved, never guessed
The "is it reachable?" step draws on the network graph Guard captures when it scans your account. Reachability is an honest tri-state:
- Reachable — there's a resolved internet path (a public subnet routed to an internet gateway with a world-open group, an internet-facing load balancer, a publicly-accessible database). This is what lets a verdict escalate.
- Contained — the graph proves there's no internet path; the resource is private.
- Unreadable — Guard couldn't determine reachability. It is never silently treated as contained — an unreadable target routes to Watch for a human.
Before you scan an account, reachability is simply not yet resolved (everything is unreadable),
so a fresh exposure resolves only to Watch — Guard can't yet confirm the internet path. The
scan is what turns that unknown into a fact. See Scan your account.
Where the plan comes from
Guard reviews every pull request (GitHub) or merge request (GitLab) on the repositories you watch. Its Terraform is planned in one of two places, and the Console labels the review Planned by Guard or Planned in your CI to match:
- Planned by Guard. Guard plans the Terraform the change touches, offline, without your
credentials, and posts the
cbxguard/reviewcheck. See Set up pull-request review. - Planned in your CI. For the roots the server-side review cannot plan offline, your CI runs
terraform planwith your credentials and your backend, and sends the plan to Guard. Guard posts thecbxguard/ci-plancheck (by default alsocbxguard/review, with the same result) and fails the job when a finding gates the change. See Set up the CI plan upload.
Either way, Guard resolves the plan against the cloud accounts you connected.
Read-only-first
Every Guard connection starts from the least privilege that still works, and every step that writes is opt-in and separate:
- Repositories are connected with read access to index your IaC. Guard never pushes code: it posts its check on each pull request it reviews, and a comment when the verdict is not clean (see Connect a repository). Blocking a merge with that check is a separate, explicit step.
- Cloud accounts are connected with a role carrying read-only permissions only. There is no write action anywhere in the template, and deleting the stack revokes access instantly.
- Connections are revocable, and Guard is honest about what it can and can't revoke — a token you created is yours to revoke; a credential Guard provisioned, it revokes for you.
The result: you can adopt Guard in pure-observe mode, see real verdicts on real pull requests, and only turn on the gate when you trust it.