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 email@example.com:accurics/terrascan.git $ cd terrascan $ make build $ ./bin/terrascan
This section provides an overview of the different ways you can use Terrascan:
- Command line mode provides list of Terrascan commands with descriptions.
- Server mode using Terrascan as API server
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: