Find files on the system
files.find MQL resource for querying Operating System infrastructure with cnquery and cnspec.
Operating System
Find files on the system
Use MQL in cnspec shell or policy:
files.findMin version: 5.15.0
Relationships
2 resources · 1 relationships·Click to select, expand fields to see properties.
Fields (8)
| Field | Type | Description |
|---|---|---|
depthrequired | int | The depth of the file search. |
fromrequired | string | Sets the starting point for the search operation |
list | []file | - |
namerequired | string | Search name |
permissionsrequired | int | What permissions the file matches |
regexrequired | string | A regular expression for the file search |
typerequired | string | What types of files to list (directories, files, devices, etc) |
xdevrequired | int | Whether other devices to search |