forked from osquery/osquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Wildcard Rules
Mitchell Grenier edited this page Mar 3, 2015
·
5 revisions
osquery has a simplified wildcarding system for matching operating system directories and files.
% - Match all %% - Match all recursively %XX - Match all ending in XX XX% - Match all starting with XX
/bin/% - Resolves a vector of every file in /bin /bin/%% - Match all files in bin and all files in any sub directory(n deep, to a limit) /bin/%sh - Match all files in bin ending with sh. /bin/bash /bin/sh /bin/zsh /bin/ba% - Match all files in /bin starting with ba. /bin/bash
%XX% and XX%XX is undefined and will not resolve wildcards in the expected way. This may be implemented in future but there are no plans.