snyky

command module
v0.0.0-...-b7295e5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Snyky - Alternative Snyk IaC implementation

What is this?

An experiment to see what an alternative Snyk IaC experience could look like

Usage

$ snyky test -s <filename> will test the current directory of files against all of the policy packs in the packs folder

$ snyky test -s <filename> -p snyk,user will only use the Snyk & User provided policies found in packs/snyk and packs/user respectively

Installation

First make sure you have conftest installed, following the instructions here

Next run go get github.com/benlaplanche/snyky to instlal this onto your path

Run $ snyky test --help to check it's all working correctly.

TODOS

  • ability to specify multiple packs as a flag. should this be -p terraform -p user or -p terraform,user
  • packs output in the JSON should really be subdirectory e.g. terraform or user
  • can we show details of the successful policies aswell? looks like a change is needed to conftest to output allow rules?

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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