Command Line Options
Run Terrascan in terminal. Read about flags and command line arguments.
For steps to install locally, or run Terrascan from docker, see this section.
Terrascan is a Go binary that you can build locally. This is useful if you want to be on the latest version, or when modding Terrascan.
$ git clone git@github.com:accurics/terrascan.git
$ cd terrascan
$ make build
$ ./bin/terrascan
This section provides an overview of the different ways you can use Terrascan:
See Configuring Terrascan to learn more about Terrascan’s configuration file.
See In-File Instrumentation to learn how to granularly customize your scan based on particular resources and rules. For example, by skipping certain rules or resources.
Terrascan can be integrated into various platforms and configured to validate policies to provide run time security. Currently Terrascan supports the following integrations:
Run Terrascan in terminal. Read about flags and command line arguments.
Run Terrascan as an API server
Terrascan can be instrumented using special commands inside your IaC files (Terraform and K8s)
Configure Terrascan via it’s configuration file.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.