Skip to content

snyk/cli-extension-secrets

Repository files navigation

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.

About

Snyk CLI extension for secrets detection.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6