Skip to Content
mlab docs

Monitor your domain

Prove you own your domain, run a first domain scan, turn on security monitoring and alerts, and know what to do when an alert fires.

Your company has a website and a domain name, and you want to know when something on it becomes vulnerable, before an attacker notices. This tutorial takes you from nothing to alerts that reach your team.

What you'll need

  • An mlab.sh account in an organization, as its owner or an admin. Only they can add and prove domains.
  • Access to your domain's DNS settings, at the provider where the domain is managed (Cloudflare, OVH, AWS Route 53...), or someone who has it.
  • For security monitoring and alerts: the Team or Enterprise plan. The domain scan itself works on every plan.

Steps

Add your domain

Go to Inventory → Assets, click Add an asset, choose Domain and enter it, for example example.com.

Prove you own it

mlab needs proof that the domain is yours before it watches it closely. The asset page shows a token that looks like mlab-domain-xxxxxxxx-xxxx-....

In your DNS provider, add it as a TXT record (a small text entry in your domain's settings) on the root of the domain:

TypeNameValue
TXT@the token from the asset page

Back on the asset page, click Check the DNS record. DNS changes can take a few minutes to spread: if the check fails, wait and try again.

The full guide, including IP networks and cloud buckets, is in Verify your infrastructure.

Run a first domain scan

Open Scan → Domain in the sidebar, or type your domain into the search bar. The scan is read-only: it looks at what anyone on the internet can see, and changes nothing on your servers.

The report opens on a score from 0 to 100 and a letter grade:

GradeScore
A90 to 100
B75 to 89
C60 to 74
D40 to 59
F0 to 39

Below it, one list holds every finding, worst first: email settings that let others send mail in your name, an expiring certificate, missing security headers, outdated software, forgotten subdomains. Each finding has a Learn link to a free explainer on academy.mlab.sh that says what it means and how to fix it.

See Domain intelligence for every section of the report.

Let security monitoring start

On Team and Enterprise, security monitoring follows every verified domain and the subdomains found under it. It identifies the software and versions each host shows, and matches them against published vulnerabilities.

There is nothing to switch on: monitoring starts the first time a member opens a verified domain, and results show up within the hour. You will find a Security monitoring card on the domain report, under the RedKit recap, and on the domain's page in Inventory → Assets.

From then on, hosts are checked again as new vulnerabilities are published.

Choose where alerts go

Pick at least one channel, so findings come to you instead of waiting on a page.

ChannelWhere to set it upGood for
Webhook (Slack, Teams, Discord or your own endpoint)Organization → Alerting, Channels tabA team chat that people actually read
GitHub IssuesAlerting, Integrations tabDevelopers who track work in GitHub: one issue per finding
JiraAlerting, Integrations tabTeams that track work in Jira Cloud: one ticket per finding
Email digestOrganization settings → MonitoringA backup channel only

The email digest is marked Not recommended in the app: it is sent at most 4 times a day, and anything past that cap is not emailed. Use a webhook or an issue tracker as your main channel. Until someone is picked as a recipient, nobody gets the email.

Webhooks receive two monitoring events:

EventSent when
monitoring.finding.newA new finding appears on a monitored domain or network
monitoring.finding.escalatedA known finding got worse: now exploited in the wild, or more severe

For GitHub and Jira, you link the domain to a repository or a project and choose a minimum severity. Issues then open, close and reopen on their own as findings appear, get fixed or come back. Step by step: RedKit alerting.

When an alert fires

Each finding names the host, the software and version seen, the CVE (the public ID of the vulnerability) with its CVSS score (severity from 0 to 10), whether it is exploited in the wild, and the fixed versions when known.

  1. Start with what is exploited in the wild. Attackers are already using those vulnerabilities, so they come before any high CVSS score.
  2. Check that it applies. A match rests on the version a service shows: it does not prove the problem can be exploited on your setup. Ask whoever runs the host.
  3. Fix it. Most of the time this means upgrading the software to one of the fixed versions listed. Once the software is upgraded or removed, the finding leaves the list by itself, and its GitHub issue or Jira ticket is closed.
  4. Or set it aside. If it does not apply, mark it False positive; if you know about it and accept it, mark it Accepted risk. It moves to the Set aside list, its ticket is closed and it is not emailed again. You can reopen it at any time.

Owners, Admins and Members can mark findings. Viewers can only see them.

What to do next

  • Prove your other domains and your IP networks too: monitoring follows every verified asset.
  • Fix the top findings of the domain scan, starting with high severity, then scan again to see the grade move.
  • Run a deeper audit with RedKit on the domains you proved.

On this page