OS Manuals

/usr/bin/tfsec-checkgen

Security scanner for your Terraform code

From tfsec 1.28.14-r58 (os), captured 2026-11-07 by running tfsec-checkgen --help (exit 0). permalink

tfsec is a simple tool for generating and validating custom checks file.
Custom checks are defined as json and stored in the .tfsec directory of the folder being checked.

Usage:
  tfsec-checkgen [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  generate    Generate a custom check starter template
  help        Help about any command
  test-check  Run test on a custom check against passing/failing tests
  validate    Validate a custom checks file to ensure values are correct

Flags:
  -h, --help   help for tfsec-checkgen

Use "tfsec-checkgen [command] --help" for more information about a command.
Options (1)
OptionDescriptionSource
-h, --helphelp for tfsec-checkgenhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.