What’s new
An incoming webhook only lets Scanbe4 talk to your chat. ChatOps is the other direction: your team types a command and Scanbe4 answers in the same conversation.
| Command | What you get |
|---|---|
scan example.com | Queues a scan of one of your approved domains and replies with the scan id and link. Results arrive through the usual alerts. |
score | The domain’s security score and grade, with its areas and the biggest deductions. |
exposures | The five most urgent exposures, ranked by explainable risk. |
status | Remediation status: open, overdue and verified work. |
leaks example.com | How many leaked accounts and infected devices, and the newest record date. |
domains | Your approved domains. alerts lists recent alerts, and help lists the commands. |
On Discord it is the /scanbe4 command, in Microsoft Teams you write @Scanbe4 <command>in a channel with an outgoing webhook, and any other chat bot can call a signed endpoint.
Nobody is trusted until they link
- A chat identity can do nothing until its owner proves control of a Scanbe4 account. In Settings › Notifications › Chat commands choose Link a chat account.
- You get an eight-character code, shown once, valid 10 minutes and usable once. Type
link <code>in the chat. - From then on every command runs as that account: only its own approved domains, never another customer’s. Unlinked, disabled and deleted accounts get the same single “not linked” reply.
- You see and can unlink every linked chat account in the same tab.
Built to be hard to misuse
- The command set is closed and mostly read-only. There is no command to create users, change settings, reveal keys, add or delete domains, or start a validation re-test.
- Each endpoint checks the platform’s signature (Ed25519 for Discord, an HMAC token for Teams and for generic bots) and refuses old timestamps. With no key configured it refuses everything instead of accepting unsigned calls.
- Limits: 20 commands per 10 minutes per chat identity, and 3 scans per 10 minutes per user. Only one scan per domain runs at a time.
- Domain names must be plain host names; URLs, ports, paths and wildcards are rejected.
What replies never contain
No password, no password hash and no full e-mail address. Titles and hosts that come from scan data are made safe first (no mentions, no live links). In Teams and in generic bots, which the whole channel can read, the leak command gives counts only. Only on Discord, where replies are visible to the sender alone, it also lists up to 10 accounts, masked, such as j***@c***.com. If the breach data is unreachable, the reply says it is unavailable instead of showing zero.
Alerts to Discord and any text webhook
- Discord is a new alert destination: one embed per alert, coloured by severity, with domain, host and a link. Alert text can never ping @everyone or a role.
- Text webhook posts
{"text": "…"}to any chat bot that accepts that shape. The address is stored encrypted and only its last four characters are shown again. - In Settings › Notifications you can send a labelled sample of any alert type to a destination, send a one-off status overview, and see every alert type with what triggers it and whether it is switched on.
Why it matters
The people who need a quick answer are often in a chat, not in a dashboard. A command keeps that answer in the conversation, with the same numbers as the app, while access still depends on a real, linked account.
How to use it
- Ask your Scanbe4 administrator to enable the platform you use (Discord, Teams or a generic bot). Setup needs a Discord application, a Teams outgoing webhook or a signing secret on your bot.
- Open Settings › Notifications › Chat commands, press Link a chat account, and type the message shown in your chat.
- Type
help, then tryscoreorexposures. - To receive alerts as well, add a Discord or text webhook destination under Connectors or Settings › Notifications.
Not included yet
- Teams answers inside the thread of the message that triggered the command, which is how Teams outgoing webhooks work.
- A generic bot is trusted through its signing secret, so keep that secret on the bridge.
- The only command that starts anything is
scan; the rest read your data.