Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 789 Bytes

File metadata and controls

30 lines (18 loc) · 789 Bytes

Snyk Secrets Test CLI Extension

Overview

This module implements the Snyk CLI Extension for Secrets workflows.

Workflows

  • snyk secrets test

Excluding files and directories

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.

Contributing

This repository is closed to public contributions.