Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 852 Bytes

iac-rules-push.md

File metadata and controls

41 lines (23 loc) · 852 Bytes

IaC rules push

Usage

Feature availability: This feature is in beta.

snyk iac rules push [<OPTIONS>]

Description

The snyk iac rules push command bundles rules written in Rego and uploads changes to the Snyk platform.

For a list of related commands run snyk iac --help

Configure the Snyk CLI

You can use environment variables and set variables for connecting with the Snyk API; see Configure the Snyk CLI

Debug

Use the -d option to output the debug logs.

Options

--delete

Delete a bundle from an organization, responding to the prompts to specify bundle id and organization id.

Examples for snyk iac rules push command

Bundle and upload a new bundle

$ snyk iac rules push

Delete a bundle

$ snyk iac rules --delete