Atlantiraptor Docs

Server.Alerts.Notification

Type: Server event (monitoring) · Author: Jos Clephas - @DfirJos

Sends alert notifications from the Server.Internal.Alerts queue to a webhook-compatible chat service such as Slack/Teams/Discord.

Parameters

Name Type Default Description
SlackToken string The token URL obtained from Slack/Teams/Discord (or basically any communication-service that supports webhooks). Leave blank to use server metadata. e.g. https://hooks.slack.com/services/XXXX/YYYY/ZZZZ

Source

Defined in artifacts/definitions/Server/Alerts/Notification.yaml.

name: Server.Alerts.Notification
description: |
  Sends alert notifications from the `Server.Internal.Alerts` queue to
  a webhook-compatible chat service such as Slack/Teams/Discord.

author: Jos Clephas - @DfirJos

type: SERVER_EVENT

parameters:
  - name: SlackToken
    description: |
      The token URL obtained from Slack/Teams/Discord (or basically any communication-service that supports webhooks).
      Leave blank to use server metadata. e.g. https://hooks.slack.com/services/XXXX/YYYY/ZZZZ

sources:
  - query: |
        // linter: symbol_mask_warn:timestamp

        LET token_url = if(
           condition=SlackToken,
           then=SlackToken,
           else=server_metadata().SlackToken)

        LET hits = SELECT * from watch_monitoring(artifact='Server.Internal.Alerts')

        SELECT * FROM foreach(row=hits,
        query={
           SELECT * FROM http_client(
            data=serialize(item=dict(
                text=format(format="Alert: %v | Details: %v | Artifact: %v | ClientId: %v | Timestamp: %v)",
                            args=[name, event_data, artifact, client_id, timestamp])),
                format="json"),
            headers=dict(`Content-Type`="application/json"),
            method="POST",
            url=token_url)
        })

Edit this page on GitHub

© 2026 Atlant Security EOOD. Atlantiraptor is free software under the GNU Affero General Public License v3. It is based on Velociraptor by Velocidex, and keeps its copyright notices. Velociraptor is a trademark of its owner; Atlantiraptor is not affiliated with or endorsed by it.