cli-extension-iac-rules

module
v0.0.0-...-24c8cf0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0

README

Snyk IaC Rules CLI Extension

Overview

This repository contains an extension to the Snyk CLI that provides workflows to author and manage custom rules for Snyk IaC.

Usage

This repository produces a standalone binary for debugging purposes. This extension is also built into the Snyk CLI. Outside of debugging and development, we advise to use the Snyk CLI instead of the standalone binary.

Workflows

  • snyk iac rules push
    • Builds and pushes a custom rules project to the Snyk API
    • Can also be used to delete a custom rules project from the Snyk API
  • snyk iac rules init
    • Prompts to initialize a custom rules project, relation, rule, or spec
  • snyk iac test
    • Tests all rules in the project against their specs
    • Also used to generate the expected output for specs

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL