You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then added my query from above to a query.sql file and ran
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> .read query.sql
Error: near line 1: no such function: REGEX_SPLIT
sqlite>
Hello,
I'm trying to add the following query
but always get the message "Error in the Query field - Field must contain valid SQL to be run against osquery tables".
To try and diagnose this i followed the validation method at
doorman/doorman/utils.py
Line 270 in 9a9b97c
where osquery_schema.sql is https://raw.githubusercontent.com/mwielgoszewski/doorman/master/doorman/resources/osquery_schema.sql.
I then added my query from above to a query.sql file and ran
The regex_split function is described here https://osquery.readthedocs.io/en/3.2.1/introduction/sql/ but is not part of the SQLite syntax which is why i think the failure is occurring.
The text was updated successfully, but these errors were encountered: