How CloudBooster Guard decides
The baseline, the four tiers, reachability, production, when Guard checks, what reaches Slack, and what to do after you change something.
How CloudBooster Guard decides
Guard looks at your cloud accounts and your infrastructure changes, and puts every finding in one of four tiers. This page explains what it checks, when, why a finding lands where it does, what reaches Slack, and what to do after you change something.
Baseline
The first complete scan of an account records what is already there. Every exposure that scan finds, such as a security group already open to the internet or a bucket already public, goes into the account's baseline. The console calls such an exposure pre-existing Β· in your baseline.
Guard does not alert on the baseline. You connected Guard to hear about new danger, so day one is quiet. From then on a finding raises an alert when it is:
- new: it was not in the baseline, or
- worse: it was in the baseline, but its setting has changed since.
A few things to know:
- If the first scan cannot read part of the account, Guard waits for a complete scan before it records the baseline. Until then nothing alerts, because Guard cannot yet tell new from old.
- The first-scan report (the First scan done message in Slack and by email links to it) lists what the scan found, what was already exposed and what the scan does not check yet. On each pre-existing exposure, Accept takes it out of the open count and Keep watching keeps it listed. Neither raises an alert, and Guard still alerts if the exposure gets worse.
- The Baseline tab of each account lists what was recorded, and when.
- An admin can remove an entry, so it alerts again, or re-baseline the account after a big change. A re-baseline records the account as it is now.
Merge-request reviews work the same way: when Guard can also plan the target branch, a risk that branch already has is listed as already present and does not count against the merge request.
Tiers
Every finding gets one tier:
| Tier | What it means | Where you hear about it |
|---|---|---|
| π Critical | The worst kind of exposure, now confirmed. | At once (Slack, and email for a live cloud finding). |
| π High | A serious exposure, confirmed. | 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. |
What reaches Slack and when has the details.
What drives the tier:
- The kind of exposure. Each rule has a fixed severity. 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. If one of those facts cannot be confirmed, the finding is held at Watch and the alert says which fact held it. If production is only inferred, for example from a resource's name, the finding is High, and the alert says so.
- Whether the internet can reach it. See Reachability.
- Whether it is production. See Production.
- The baseline. What was already there when you connected stays quiet. See Baseline.
- Your trusted sources. Ingress from an office or VPN range you registered in Settings β Detection rules does not count as open to the internet, and a bastion you registered there may stay open on SSH or RDP.
Every alert, every verdict (in the Ledger and on its explain page) and every finding on the map (Landscape: hover its resource, or open it) says in one line why it got its tier, for example Critical because it is open to the internet, on a sensitive port, reachable from the internet, in a production account and new since the baseline, and links back here.
This page describes the rules, not their exact thresholds.
Each watched repository is in one phase:
- Monitor: reviews run and the results appear in the console, the merge-request comment and
Slack. The
cbxguard/reviewcheck never fails. A repository starts here. - Block: a finding at one of the tiers you chose fails the check, so a required check holds the
merge. The comment's footer names them, for example
Block: High and aboveorBlock: Critical only.
An admin changes the phase in Repositories β your repository. A merge request's comment, check, Slack card and email all start with the same first line: π Merge blocked, π Not blocked β fix before you merge, π‘ Not blocked, β Clean, or βͺ Not reviewed when the review could not run.
Watch
Watch means "this looks dangerous, but Guard could not prove one fact a High or Critical needs". Guard never treats a fact it could not read as safe, so instead of staying silent it holds the finding at Watch. The alert says which fact was missing and what would raise it. A fact can be missing in four ways:
- Guard could not see a path from the internet to the resource (see Reachability).
- The account is not classified as production, and no tag or name on the resource says it is (see Production).
- Guard could not read what the change did.
- Guard could not read the account-level public access settings that decide whether a public storage grant takes effect. Guard assumes they block it, and holds the finding at Watch until it can read them.
A rule that is still being tuned also reports at Watch. Guard runs it and records what it finds, but holds a High or Critical at Watch until the rule is tuned. The alert then names the facts Guard did confirm, for example it is readable by anyone on the internet, but this rule is still being tuned.
Reachability
An open port only matters if something sits behind it. For a security group opened to the internet, Guard looks at what the group is attached to:
- A host or load balancer the internet can reach (a public IP in a public subnet, an internet-facing load balancer): the finding can be Critical.
- Only resources Guard can prove are private: the finding is Clean. Nothing can be reached,
even through
0.0.0.0/0. - Nothing at all, or nothing Guard can see a public path to: the finding stays at Watch. Guard cannot say the port is harmless, because a host can be attached later, but it cannot say anything is exposed now either.
If you attach a public host to that group later, Guard judges the new state, and the same opening can then be Critical.
Production
Each cloud account is marked Production, Non-production, or is not classified yet (Unknown). You set it when you connect the account, or later in Cloud accounts β your account β Classification.
For a sensitive port opened to the internet:
- Production: a reachable opening is Critical.
- Non-production: the same opening is graded below the alert line, unless the resource itself
is tagged or named as production. A production tag (
Environment=production,env=prodand the usual spellings) always wins, so a mislabelled account cannot hide a production database. - Unknown: Guard cannot tell, so the finding is capped at Watch and the account asks you to classify it.
- Only a name says production (for example
orders-prod), with no production mark on the account and no production tag: Guard infers production but cannot confirm it, so a reachable opening is High, not Critical, and the alert says production was only inferred. A production tag or marking the account production makes it Critical.
Marking an account production or non-production has the details.
When a classification applies
- From the next change. A new classification applies to the next scan or live change Guard sees. Alerts already raised keep the tier they were raised at. The account's baseline stays as it is.
- An AWS account's first scan waits for it. Guard does not scan a new AWS account, not even with Scan now, until you choose Production or Non-production, because the first scan becomes its baseline. Choose on the account's Classification tab, and the first scan follows.
- To judge the account now, press Scan now after you change the classification (see Scan now).
When Guard checks
| What | When |
|---|---|
| A newly connected account | Scanned within a few minutes, once its access validates (and, on AWS, once it is classified). |
| Every connected account | Scanned automatically, about every 8 hours. A paused account is not scanned. |
| Live changes | Where the account's change feed is set up, each change is judged as it happens, between scans. A change shows up within about 15 minutes of happening in your cloud. |
| Merge requests | Every merge request in a watched repository is reviewed when it opens and on every new commit, usually in under 2 minutes. The check reads "Reviewingβ¦" until then, and does not block. |
| Scan now | Whenever a member presses it. See Scan now. |
A rescan does two things: it raises alerts for new or worse exposures, and it closes alerts whose exposure is gone. Closing an alert this way sends no notification.
If an account has not completed a scan for 24 hours, Guard posts Account has gone quiet, because it may be missing changes there.
Scan now
Scan now starts a real scan of your account right away. It finds and closes alerts exactly as an automatic scan does.
- Where. Every data page (the map, Context, Coverage and the Change feed) carries one line above it: Last scan 15:10 UTC Β· next 23:10 Β· capture live (15:13) Β· Scan now. Cloud accounts β your account β Overview has a Scan now for that one account.
- What it scans. On the map filtered to one account, that account. Everywhere else, every account Guard can scan: one whose access validated, that is not paused and, on AWS, that is classified.
- While it runs, the line reads Rescanning⦠on every page, and the page updates when the scan finishes. The line then says how many resources it scanned, and names any part it could not read.
- Once every 10 minutes per account. After a scan of an account finishes, Scan now for that account comes back 10 minutes later, and the line says when.
- When it is greyed out, the line says why: the account's access has not validated yet, it is paused, or an AWS account still needs its classification.
Refresh on Pull requests fetches the latest list from your Git host. It does not scan your account and it does not review anything again.
So if you just fixed something in your cloud account and want to see it, press Scan now.
What reaches Slack and when
By default, with Slack connected and no routes of your own:
| What happened | In Slack | Also |
|---|---|---|
| π Critical live cloud finding | At once | Email at once |
| π High live cloud finding | At once | Email only if no Slack channel is set, or the Slack post fails |
| π‘ Watch live cloud finding | Not posted | The daily digest email |
| β Clean | Not posted | Nothing |
| A merge request at π Critical or π High, or one that blocks the merge | At once, with the first line of its comment | If no Slack channel is set, the digest |
| A merge request at π‘ Watch or β Clean | Not posted: the comment and the check carry it | Nothing |
| A review that could not run (βͺ Not reviewed, or π Blocked until reviewed) | At once, whatever the tier | If no Slack channel is set, the digest |
| First scan done: an account's first complete scan recorded its baseline | Once per account | |
| First verdict delivered: the first merge request Guard reviews in your workspace | Once per workspace, even when it is Clean | |
| An account's access stops working, or it has gone quiet for 24 hours | At once | Email only if no Slack channel is set |
How the cards behave:
- One card per finding, kept up to date. When someone presses Acknowledge or Silence, or a merge request gets a new commit, the same card is edited in place.
- Resolved. When Guard sees the change that removes an alerted exposure, the alert's card says β Resolved and a reply lands in its thread. A rescan that finds the exposure gone closes the alert without a message.
- Re-escalated. When a silence ends and nobody has acted on the alert, it is posted again, in the same thread.
- Bursts. If more than 10 messages would reach one channel within a minute, Guard sends one summary message instead.
- Quiet hours hold Watch and the digest until the window ends. Critical and High are never held.
- The digest goes out daily at 09:00 UTC unless you choose another hour or a weekly digest.
Every card links back to this page. Routes, quiet hours, the digest schedule and your own email preferences are in Notifications.
After you change something
| After you⦠| Guard⦠| To see it now |
|---|---|---|
| Fix an exposure in your cloud account | Closes the alert at the next scan. A live change it sees marks the card β Resolved sooner. | Press Scan now. |
| Change an account's classification | Applies it from the next scan or live change. Alerts already raised keep their tier. | Press Scan now. |
| Register a trusted range or bastion in Settings β Detection rules | Judges with it from the next scan, live change or review. A rescan closes the alerts it now covers. | Press Scan now; push a commit to an open merge request. |
| Grant the access a partial scan was missing | Reads the missing part at the next scan, and records the baseline once a scan is complete. | Press Scan now. |
| Accept a pre-existing exposure, or keep watching it | Updates the first-scan report and the Pre-existing count. Nothing alerts. | Nothing to do. |
| Remove a baseline entry | Treats that exposure as new: it alerts the next time Guard judges the resource, for example on its next change. | Nothing to do. |
| Re-baseline the account | Records the account as it is now. What is exposed now stays quiet; anything new or worse from then on alerts. | Nothing to do. |
| Push a commit to a merge request | Reviews the new commit. | Nothing to do. |
| Change the Terraform but not the commit, or want a second review | Reviews again on request. | GitHub: re-run the cbxguard/review check. GitLab: comment /cbx-guard review. Or Retrigger on the merge request in the console. |
| Change a repository's phase | Uses it for the next review of each merge request. | Push a commit, or re-run the review. |
| Fix what stopped a review (βͺ Not reviewed) | Reviews at the next commit or re-run. | Push a commit, or re-run the review. |
| Connect Slack or change a route | Posts from the next notification. | Send a test from Settings β Notifications. |
What isn't checked yet
- IAM permissions on account scans. A scan does not judge IAM policies. A merge request that changes an IAM policy is still reviewed, and so is a live IAM change Guard sees.
- A bucket's own public access block. When nothing on a bucket is public, Guard does not flag that the bucket's own S3 Block Public Access setting is off. It does check the account-level block, and a bucket that is actually public.