Skip to Content
mlab docs

Overview

RedKit flows chain HTTP, DNS, port and TLS checks on your verified domains, then act on what they find: alert, open a case or an incident, file a ticket, page on-call, call a webhook or write a report. By hand or on a schedule.

A flow is a small automation you draw on a canvas: a trigger, some checks on one of your verified domains, logic that decides what matters, and outputs that act on it. "Every Monday, check SPF and DMARC on every domain; if something new is wrong, alert and open a case" is a flow. So is "after each deployment, check the site answers, HTTPS is enforced and the certificate holds".

Flows are in the sidebar under Automation › Flows.

Flows come with every paid plan: Pro, Team and Enterprise. On Free, the Flows page shows what they do and links to the plans. Owners and admins create and edit flows; members run them; viewers read them.

What a flow can do

GroupBlocks
TriggerOne per flow: by hand, daily or weekly, on one domain or on many (all verified domains, a tag, a criticality).
ChecksHTTP, DNS, Port, TLS: run from mlab.sh against the domain. Each failed assertion is a finding.
LogicCondition (rules on severity, count, titles or recorded facts), Severity switch, Run a flow (another flow as one block), End.
TransformFilter findings, remove duplicates, merge branches, count findings, skip accepted risks.
OutputsSend alert, open a case, open an incident, open a GitHub or Jira ticket, trigger PagerDuty, call a webhook, write a report (Markdown, PDF).
CapriCapri triage: sorts the findings, writes a summary and recommendations.

Every block, its fields and what it records: Blocks.

Create your first flow

Verify a domain. Flows only ever check your organization's verified domains. See Verify your infrastructure.

Start from a template. On Flows, pick a template under Start from a template, or Blank flow for a trigger alone.

Set up the blocks. Click a block to open it: its fields, an example of what comes in and goes out, and, for a check, Test this block on one of your domains.

Save draft (Ctrl+S), then Publish. Runs and schedules use the published version; until a flow is published, they use its draft.

Run it: pick one domain, all verified domains, a tag or a criticality, then Start run. The run opens read-only on the canvas, block by block.

Templates

TemplateWhat it does
Mail hygieneSPF, DMARC enforcement (p=reject) and MTA-STS on every verified domain, weekly (Monday 06:00 UTC). New critical or high problems send an alert and open a case.
Web exposureSecurity headers (HSTS, CSP, X-Content-Type-Options, no X-Powered-By), and files that should never be public (/.git/HEAD, /.env, /server-status). By hand; alerts on anything new.
Certificates expiringEvery day (07:00 UTC), the certificate of every verified domain: valid, TLS 1.2 or better, 30 days left at least.
Exposed admin portsSSH (22), RDP (3389), PostgreSQL (5432), MySQL (3306), Redis (6379) and Elasticsearch (9200) must be closed. Weekly (Monday 05:00 UTC), on every verified domain; alert and case.
After a deploymentRun it by hand after shipping: the site answers (200, 301 or 302), HTTPS is enforced (HSTS), the certificate holds 14 days at least.

A template that runs on all verified domains cannot start if you have more verified domains than your plan covers per start (10 on Pro): narrow it with a tag or a criticality.

The editor

PartWhat it does
Top barName, Delete, Export (JSON), Save draft, Publish, Run. A chip shows the published version, "draft changed", or "Never published: runs use the draft".
PaletteBlocks by group, with a search. Click to add (right of the selected block), or drag onto the canvas. Note adds a text note that runs ignore.
CanvasDrag a dot onto a block to link. The + on a link inserts a block there. Drag the background to pan, the wheel to zoom. Shift+click or Shift+drag selects several blocks. Undo, redo, Tidy up, zoom, fit, and a minimap.
InspectorWith nothing selected: blocks, links, checks per run, the schedule and next run, why the flow cannot run yet, All runs, Versions, recent runs.

A block with a problem shows an alert icon, and Run is disabled with the reason as its tooltip.

KeysAction
Ctrl/Cmd+SSave draft
Ctrl/Cmd+Z, Ctrl/Cmd+Shift+Z (or Ctrl/Cmd+Y)Undo (100 steps), redo
Ctrl/Cmd+C, Ctrl/Cmd+VCopy and paste blocks, also between flows
Ctrl/Cmd+ASelect every block
Delete, BackspaceRemove the selection

Versions

Save draft changes the draft only. Publish makes it the next version: runs and schedules use it from then on. Versions lists the last 30; Roll back to this publishes an older version again, as a new one. A run always keeps the flow as it was when it started.

Export and import

Export downloads <name>.flow.json ("format": "mlab.redkit.flow"): keep it in git, hand it to the API, or import it in another organization with Import on the Flows page (512 KiB at most). An import always creates a new, unpublished flow. Results pinned on blocks are not exported.

Delete

Delete removes the flow and its versions; it cannot be undone. Its past runs are kept, shown with the flow name and "deleted".

Who can do what

Owner, AdminMemberViewer
See flows, runs, versions and resultsyesyesyes
Run, cancel, run again, test a blockyesyesno
Set a finding aside (exceptions register)yesyesno
Create, import, edit, publish, roll back, deleteyesnono

Every change and every run is in the organization audit log.

Plans and limits

ProTeamEnterprise
Runs per month3003,00030,000
Checks per run102040
Domains per start101001,000
Runs at once1310
Longest run2 min5 min15 min
Runs kept90 days12 monthsnot purged

A run is one flow on one domain. Every run started in the calendar month (UTC) counts, block tests, failed and cancelled runs included; a schedule that could not start does not. The count resets on the 1st (UTC). At 80%, the Flows page warns you; past the quota, runs are refused and schedules are skipped until the 1st.

Whatever the plan: 50 flows per organization, 100 blocks and 200 links per flow, 50 notes.

On this page