Atlantiraptor Docs

System.VFS.Export

Type: Server

Exports files from the VFS (Virtual Filesystem) by globbing under a specified path in the server-side VFS cache.

Parameters

Name Type Default Description
Path string A vfs path under which to search for file (NOTE: VFS paths start with the accessor name).
Components json_array [] The top level to recurse from. NOTE: The first element in the list must be the accessor name.
ClientId string The client id to apply the artifact on
FileGlob string ** Only match the following files (default all of them) under the Path

Source

Defined in artifacts/definitions/System/VFS/Export.yaml.

name: System.VFS.Export
description: |
  Exports files from the VFS (Virtual Filesystem) by globbing under a
  specified path in the server-side VFS cache.

type: SERVER

parameters:
  - name: Path
    description: |
      A vfs path under which to search for file (NOTE: VFS paths start
      with the accessor name).
  - name: Components
    type: json_array
    default: '[]'
    description: |
      The top level to recurse from. NOTE: The first element in the
      list must be the accessor name.
  - name: ClientId
    description: The client id to apply the artifact on
  - name: FileGlob
    default: '**'
    description: |
      Only match the following files (default all of them) under the
      Path

sources:
  - query: |
      LET components <= Components || pathspec(parse=Path).Components
      SELECT Name, OSPath, Size, IsDir,
             Data.DownloadInfo.flow_id AS FlowId,
             if(condition=Data.DownloadInfo.flow_id,
                then=upload(accessor="vfs", file=OSPath)) AS Upload
      FROM glob(globs=FileGlob, root=components, accessor="vfs")
      WHERE NOT IsDir

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.