This module implements the Snyk CLI Extension for IaC workflows.
snyk iac test
You can exclude files or directories from secrets scans using the --exclude flag. This performs basename matching, excluding the specified names anywhere they appear in the project tree.
Note: Paths containing slashes (/ or \) are not allowed.
snyk secrets test --exclude=node_modules,config.json
snyk secrets test --exclude "dist,vendor,temp.log"Only user-provided exclude patterns are applied by this flag.