Atlantiraptor Docs

Server.Hunts.AddFlow

Type: Server

Links an existing flow to a hunt so it appears in the hunt’s results.

This helps in the case where the original flow in the hunt timed out. The user then can re-run the hunt manually possibly increasing timeout. Then they can simply click the add flow to hunt button in the UI to add the flow to an existing time.

Parameters

Name Type Default Description
HuntId string
ClientId string
FlowId string

Source

Defined in artifacts/definitions/Server/Hunts/AddFlow.yaml.

name: Server.Hunts.AddFlow
description: |
  Links an existing flow to a hunt so it appears in the hunt's
  results.

  This helps in the case where the original flow in the hunt timed
  out. The user then can re-run the hunt manually possibly increasing
  timeout. Then they can simply click the add flow to hunt button in
  the UI to add the flow to an existing time.

type: SERVER

parameters:
  - name: HuntId
  - name: ClientId
  - name: FlowId

sources:
  - query: |
      SELECT * FROM if(condition=HuntId AND ClientId AND FlowId,
      then={
         SELECT hunt_add(hunt_id=HuntId,
             client_id=ClientId,
             flow_id=FlowId)
         FROM scope()
      }, else={
         SELECT * FROM scope() WHERE
         log(message="<red>ERROR</>: You must set HuntId, ClientId and FlowId.") AND FALSE
      })

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.