Filesystem
8 min
filesystem edition enterprise + open source the filesystem integration scans local files and directories for credentials and other sensitive data it can also scan data piped in via stdin configuration the filesystem integration is configured via a local configuration file web configuration is not available for this source local configuration sources \ connection "@type" type googleapis com/sources filesystem paths \ /home/me/dev includepathsfile /home/me/dev/include txt excludepathsfile /home/me/dev/exclude txt maxsymlinkdepth 0 name filesystem scanperiod 12h type source type filesystem verify true scan scope scan scope is controlled with includepathsfile and excludepathsfile each field references a file containing newline separated regular expressions files matching the patterns are included or excluded from the scan, respectively includepathsfile — path to a file with newline separated regex patterns files matching these patterns are included excludepathsfile — path to a file with newline separated regex patterns files matching these patterns are excluded symlinks by default, the filesystem scan does not follow symlinks to follow them, set maxsymlinkdepth to a value between 1 and 40 scanning stdin the filesystem scanner can also scan data piped in via stdin invoke the scanner with the file subcommand and no path argument echo hello | /scanner file to scan a path instead, pass it as an argument /scanner file /home/me/dev configuration options field type required description paths list no list of paths to scan includepathsfile string no path to a file containing newline separated regex patterns files matching these patterns are included in the scan excludepathsfile string no path to a file containing newline separated regex patterns files matching these patterns are excluded from the scan skipbinaries boolean no skip binary files maxsymlinkdepth integer no maximum symlink depth to follow defaults to 0 (no symlinks followed) maximum value is 40 capabilities feature supported scan archive files ✅ scan base64 encoded data ✅ scan binaries ✅ scan microsoft office documents ✅ include / exclude filters ✅ stdin scanning ✅

