Automic VaultAutomic Vault

brew

Install terrascan with Homebrew, MacPorts, Nix, scoop

Detect compliance and security violations across Infrastructure as Code. Version 1.19.9 via Homebrew; verified 2026-05-24.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install terrascan

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install terrascan

MacPorts ports tree · sysutils/terrascan/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#terrascan

nixpkgs package indexes · pkgs/by-name/te/terrascan/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/terrascan

Scoop official bucket manifest trees · bucket/terrascan.json · source: api.github.com

overview

Package summary

Detect compliance and security violations across Infrastructure as Code

Commands and aliases

  • terrascan

history

Project history and usage

Terrascan is an open-source static analyzer for Infrastructure as Code that checks cloud and Kubernetes configuration before deployment. Its official README describes scanning for misconfigurations, posture drift, security vulnerabilities, and compliance violations, with local CLI and CI/CD integration workflows.

Project history

The project originated under Accurics and later moved under Tenable ownership, as reflected by changelog links that compare older releases under github.com/accurics/terrascan and later releases under github.com/tenable/terrascan. The current official repository is archived and states that it is no longer maintained.

Adoption history

Terrascan became a package-manager-friendly IaC security tool because it distributed native release binaries, Docker images, and package recipes. The README documents Homebrew installation, AUR installation, and Docker usage, while the input metadata also lists MacPorts, Nix, and Scoop packages.

How it is used

In the package-nerd niche, Terrascan was used as a local scanner in developer workstations and CI jobs before Terraform, Kubernetes, Helm, Kustomize, CloudFormation, ARM, Dockerfile, or GitHub infrastructure changes were applied. Its value was the ability to run policy checks from a normal shell command without adopting a hosted platform first.

Why package nerds care

Terrascan is significant as part of the early wave of IaC security CLIs that package managers made easy to slot into pre-commit hooks, CI images, and ephemeral developer machines. Its archived status is now part of its history: packages may remain useful for reproducing older pipelines, but new deployments need to account for maintenance risk.

Timeline

  • 2020: v1.1.0 appears in the official changelog on September 16, 2020.
  • 2021-2022: Changelog links show releases under the Accurics repository path.
  • 2022: Later changelog entries move to the Tenable repository path.
  • 2023: v1.18.3 appears in the official changelog on August 3, 2023.
  • 2024: GitHub page lists v1.19.9 as latest release on September 18, 2024.
  • 2026: Official repository is archived and marked no longer maintained.

Related projects

  • Terrascan sits in the same IaC and cloud-security package niche as Terraform policy scanners, Kubernetes manifest linters, and CI security gates.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:infrastructure

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
terrascancliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.19.9
manager updated2026-05-24
local dataok
upstreamcurrent
latest detectedv1.19.9

https://github.com/tenable/terrascan

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:terrascan
Version1.19.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/terrascan
Homepagehttps://runterrascan.io/
Repositoryhttps://github.com/tenable/terrascan
Upstream docshttps://github.com/tenable/terrascan#readme
LicenseApache-2.0
Source archivehttps://github.com/tenable/terrascan/archive/refs/tags/v1.19.9.tar.gz
Last updated2026-05-24T01:41:05Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterrascan
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

terrascan

nix profile install nixpkgs#terrascan
  • normalized package name match
  • Matched by: Terrascan
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terrascan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

terrascan

sudo port install terrascan
  • normalized package name match
  • Matched by: Terrascan
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/terrascan/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/terrascan

scoop install main/terrascan
  • normalized package name match
  • Matched by: Terrascan
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/terrascan.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment