Atlantiraptor Docs

Server automation

Everything the console does, VQL on the server can do too. That makes Atlantiraptor easy to automate: react to events as they happen, run work on a schedule, and connect it to the rest of your security tools.

The building blocks

Block Runs Use it for
Server artifacts (SERVER) Once, under Server collections One-off jobs: imports, exports, reports, cloud hunts
Server event artifacts (SERVER_EVENT) Continuously, under Server events Reacting to events: forward alerts, post-process collections, label clients, schedule hunts
Event queues Always The events to react to; see Event queries
Secrets When a query uses one Credentials for the systems you connect to; see Secrets
APIs When called Letting other systems drive Atlantiraptor; see API keys and the gRPC API

Common automation

Forward alerts

The Integrations page turns on ready-made forwarders for Slack, Teams, Discord and webhooks, email, Splunk and Elastic. See Integrations and Alerting.

React to finished collections

Every finished collection emits a row on System.Flow.Completion. A server event artifact can follow up:

name: Custom.Server.Automation.TriageFollowUp
type: SERVER_EVENT
sources:
  - query: |
      SELECT collect_client(client_id=ClientId,
                            artifacts="Windows.Memory.ProcessDump",
                            spec=dict(`Windows.Memory.ProcessDump`=dict(
                                ProcessRegex="rundll32")))
      FROM watch_monitoring(artifact="System.Flow.Completion")
      WHERE Flow.artifacts_with_results =~ "Windows.Detection.Yara.Process"

Schedule work

clock() emits a row on a schedule; combine it with hunt() or collect_client(). Server.Monitoring.ScheduleHunt is a worked example that starts a hunt at a set time on chosen days.

Keep the fleet tidy

  • Label clients by what they are (see Automatic labels).
  • Delete old monitoring data with Server.Utils.DeleteMonitoringData, and old collections with Server.Utils.DeleteManyFlows (see Storage).
  • Watch the server with Server.Monitor.Health.

Writing your own

  1. Write the artifact (type: SERVER_EVENT) under Artifacts, New. Name it Custom.Server.….
  2. Test the query in a notebook first: a notebook cell runs on the server with the same plugins. Use send_event() to inject a test event into a queue.
  3. Add it under Server events, Configure.
  4. Watch its log and results under Server events.

Server event artifacts run with the server’s own, full permissions, and only administrators can change Server events. Review them as you would any code that runs on the server; the change is recorded in the audit log.

In this section

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.