SupportAPI docsProduct updatesSign up for free
Search…
⌃K
Links
Snyk User Documentation
Getting started
Integrate with Snyk
Use Snyk in your IDE
Scan application code
Scan containers
Scan cloud deployments
Manage issues
Snyk admin
Snyk CLI
Getting started with the CLI
Code execution warning for Snyk CLI
Scan and maintain projects using the CLI
CLI commands and options summary
CLI help
Auth
Code
Code test
Config
Container
Container monitor
Container test
IaC
IaC describe
IaC update-exclude-policy
IaC test
Ignore
Log4shell
Monitor
Policy
Test
Install or update the Snyk CLI
Authenticate the CLI with your account
Configure the Snyk CLI
Snyk API
Snyk Tools
Snyk processes
More info
Powered By GitBook

Policy

Usage

snyk policy [<PATH_TO_POLICY_FILE>] [<OPTIONS>]

Description

The snyk policy command displays the .snyk policy file for a package.

Argument: <PATH_TO_POLICY_FILE>

Manually pass a path to a .snyk policy file.

Debug

Use -d option to output the debug logs.
Previous
Monitor
Next
Test
Last modified 1mo ago
Export as PDF
Copy link
Edit on GitHub
On this page
Usage
Description
Argument: <PATH_TO_POLICY_FILE>
Debug
© 2022 Snyk Limited