Skip to content
Please update to 0.77.3 or later to address multiple CVEs.
Velociraptor 0.77.4 is now available!

switch

Plugin

Description

Conditional execution of multiple queries in order

Executes each query in order. If a query returns any rows, those are emitted. Any further queries are ignored.

For example:

SELECT * FROM switch(a={
  SELECT * FROM First
}, b={
  SELECT * FROM Second
})