- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
42 lines
2.5 KiB
Go
42 lines
2.5 KiB
Go
package ops
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "tfsec",
|
|
Description: "Terraform workspaces",
|
|
Options: []core.Option{
|
|
{Name: "--concise-output", Description: "Reduce the amount of output and no statistics"},
|
|
{Name: "--config-file", Description: "Config file to use during run"},
|
|
{Name: "--custom-check-dir", Description: "Explicitly the custom checks dir location"},
|
|
{Name: "--debug", Description: "Enable debug logging (same as verbose)"},
|
|
{Name: "-G", Description: "Disable grouping of similar results"},
|
|
{Name: "-e", Description: "Provide comma-separated list of rule IDs to exclude from run"},
|
|
{Name: "--exclude-downloaded-modules", Description: "Remove results for downloaded modules in .terraform folder"},
|
|
{Name: "--exclude-path", Description: "Filter results to return specific checks only (supports comma-delimited input)"},
|
|
{Name: "--force-all-dirs", Description: "Don't search for tf files, include everything below provided directory"},
|
|
{Name: "-f", Description: "Help for tfsec"},
|
|
{Name: "--ignore-hcl-errors", Description: "Stop and report an error if an HCL parse error is encountered"},
|
|
{Name: "--include-ignored", Description: "Include ignored checks in the result output"},
|
|
{Name: "--include-passed", Description: "Include passed checks in the result output"},
|
|
{Name: "--migrate-ignores", Description: "Migrate ignore codes to the new ID structure"},
|
|
{Name: "-m", Description: "The minimum severity to report. One of CRITICAL, HIGH, MEDIUM, LOW"},
|
|
{Name: "--no-color", Description: "Disable colored output (American style!)"},
|
|
{Name: "--no-colour", Description: "Disable coloured output"},
|
|
{Name: "--no-ignores", Description: "Do not apply any ignore rules - normally ignored checks will fail"},
|
|
{Name: "--no-module-downloads", Description: "Do not download remote modules"},
|
|
{Name: "-O", Description: "Print a JSON representation of the input supplied to rego policies"},
|
|
{Name: "--rego-policy-dir", Description: "Directory to load rego policies from (recursively)"},
|
|
{Name: "--run-statistics", Description: "View statistics table of current findings"},
|
|
{Name: "--single-thread", Description: "Run checks using a single thread"},
|
|
{Name: "-s", Description: "Runs checks but suppresses error code"},
|
|
{Name: "--tfvars-file", Description: "Update to latest version"},
|
|
{Name: "--verbose", Description: "Enable verbose logging (same as debug)"},
|
|
{Name: "-v", Description: "Show version information and exit"},
|
|
},
|
|
})
|
|
}
|