Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, scoop 安装 terrascan

查看 terrascan 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terrascan

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install terrascan

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

Linux

Nix已验证 · 92%
nix profile install nixpkgs#terrascan

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

Windows

Scoop已验证 · 92%
scoop install main/terrascan

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

概览

软件包摘要

Detect compliance and security violations across Infrastructure as Code

命令和别名

  • terrascan

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:infrastructure

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
terrascancli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.19.9
管理器更新时间2026-05-24
本地数据OK
上游当前
检测到的最新版本v1.19.9

https://github.com/tenable/terrascan

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:terrascan
版本1.19.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terrascan
主页https://runterrascan.io/
仓库https://github.com/tenable/terrascan
上游文档https://github.com/tenable/terrascan#readme
许可证Apache-2.0
源码归档https://github.com/tenable/terrascan/archive/refs/tags/v1.19.9.tar.gz
最后更新2026-05-24T01:41:05Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

terrascan

nix profile install nixpkgs#terrascan
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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