cli-extension-iac-rules

module
v0.0.0-...-af438de Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0

README

W3Security IaC Rules CLI Extension

Overview

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

Usage

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

Workflows

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

Directories

Path Synopsis
cmd
develop command
internal

Jump to

Keyboard shortcuts

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