Choose where Myrikeep sends policy matches: email, Slack, Microsoft Teams, or a plain webhook that calls your own tooling (for example an automation platform or a ticket system).
Channels belong to a workspace. Owners and admins manage them under Settings → Alerts; every change is recorded in the workspace audit log.
Channel kinds
| Kind | Destination | Notes |
|---|---|---|
| Up to 25 addresses | Each address is confirmed by clicking a one-time link; a weekly digest is optional | |
| Slack | An incoming-webhook URL on hooks.slack.com | Message cards with a link back to the console |
| Microsoft Teams | An incoming-webhook URL on outlook.office.com or *.webhook.office.com | Message cards with a link back to the console |
| Webhook | Any http(s) URL on a public host | JSON POSTs, cryptographically signed (below) |
Webhook destinations on private or local addresses are refused, and every kind is rate limited to one message per channel per policy per scan.
What a webhook post contains
A webhook channel receives JSON like this:
{
"event": "policy.matched",
"rule": {"id": 12, "name": "SSN anywhere", "action": "notify"},
"scan_job": 345,
"store": {"name": "payroll-share", "type": "smb"},
"matched_total": 2,
"label_counts": {"SSN": 2},
"sample_locators": ["smb://server/payroll/hr/…"],
"link": "https://classify.myrikeep.com/workspace/findings/"
}
Posts carry labels, counts, store identity and truncated sample locations only — never file
contents. A test post (event: "notification.test") is sent by the Send test button.
Event list
| Event | When | Rate limit |
|---|---|---|
policy.matched |
A policy rule with the notify action matched a completed scan | One per channel per policy per scan |
scan.failed |
A scan ended without completing (never for a cancelled scan) | One per connection per 6 hours |
notification.test |
Someone pressed Send test | The test-send limit |
A scan.failed post looks like this. It carries the failure code and the customer message, never
file names, file contents or the agent's technical detail. failure.code is one of a fixed list
(source_unreachable, source_auth_failed, source_access_denied, source_not_found,
source_config_invalid, listing_failed, source_protocol_error, lease_lost, time_limit,
upload_refused, server_unavailable, agent_stopped, agent_crashed, agent_disk_full,
scan_process_exited, source_error); new codes may be added, so treat an unknown one like agent_crashed:
{
"event": "scan.failed",
"scan_job": 346,
"store": {"name": "payroll-share", "type": "smb"},
"failure": {
"code": "source_auth_failed",
"stage": "connect",
"message": "The source refused the agent's sign-in.",
"action": "Check the user name and the password or key saved for this connection.",
"files_so_far": 0
},
"link": "https://classify.myrikeep.com/workspace/scans/346/report/"
}
A failed scan also emails the workspace's owners and admins at their verified addresses, and goes to every enabled email, Slack and Teams channel, inside the same 6-hour limit.
Verify that a post came from Myrikeep
Every webhook POST is signed with a per-channel signing secret. The secret is generated by Myrikeep, shown once when you add the channel (and once after each rotation), and never displayed again. Store it in your receiving system's secret storage.
Each request carries two extra headers:
| Header | Value |
|---|---|
X-Myrikeep-Timestamp |
Unix time in seconds, e.g. 1767225600 |
X-Myrikeep-Signature |
v1= followed by the hex HMAC-SHA256 of "{timestamp}.{body}" |
The signature is computed over the exact body bytes sent — verify it before parsing or acting on the post. A short Python receiver:
import hashlib
import hmac
import time
SIGNING_SECRET = b"paste-the-channel-secret-here"
TOLERANCE_SECONDS = 300 # 5 minutes
def verify_myrikeep_post(timestamp: str, signature: str, body: bytes) -> bool:
try:
age = abs(time.time() - int(timestamp))
except ValueError:
return False
if age > TOLERANCE_SECONDS: # reject stale or replayed posts
return False
expected = "v1=" + hmac.new(SIGNING_SECRET, f"{timestamp}.".encode() + body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, signature) # constant-time compare
Use the raw request body (body above), not a re-serialized version of the parsed JSON:
re-encoding changes the bytes and the signature will not match.
Worked example
For a secret of s3cret, a timestamp of 1767225600 and a body of {"event":"notification.test"},
the header is:
X-Myrikeep-Signature: v1=<hex HMAC-SHA256 of the bytes 1767225600.{"event":"notification.test"}>
The secret here is a synthetic example; every channel gets its own generated secret.
Rotate a signing secret
Settings → Alerts → Rotate secret (owners and admins) replaces the channel's secret and shows the new value once. The old secret stops working on the next post, so update your receiver in the same change. Rotation is recorded in the workspace audit log; the secret value itself is never logged, stored in plaintext, or shown again.
Important: If you lose a secret, rotate it. Myrikeep cannot show it to you a second time.
Slack, Teams and email channels
These kinds are unchanged by signing: they post to the vendor's incoming-webhook endpoints or send email, with no signature headers. If you need verified delivery, use a webhook channel pointed at your own receiver.