Feature availability: This feature is in beta.
snyk iac rules init [<OPTIONS>]
The snyk iac rules init
command is an interactive command for initializing a new custom rules project structure, a new rule in an existing custom rules project, a new spec in an existing custom rules project, or a new relation in an existing custom rules project.
For a list of related commands run snyk iac --help
You can use environment variables and set variables for connecting with the Snyk API; see Configure the Snyk CLI
Use the -d
option to output the debug logs.
snyk iac rules init
What do you want to initialize?
Filter: Type to filter choices
project
rule
rule spec
relation
What do you want to initialize? project
Project name: project1 ✔