Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 terraform-iam-policy-validator

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terraform-iam-policy-validator

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#terraform-iam-policy-validator

nixpkgs package indexes · pkgs/by-name/te/terraform-iam-policy-validator/package.nix · 来源: api.github.com

概览

软件包摘要

CLI to validate AWS IAM policies in Terraform templates for best practices

命令和别名

  • tf-policy-validator

历史

项目历史与用法

terraform-iam-policy-validator is an AWS Labs security CLI, installed as `tf-policy-validator`, that checks IAM policies extracted from Terraform plan output with IAM Access Analyzer validation and custom policy checks.

项目历史

The awslabs/terraform-iam-policy-validator repository was created on GitHub in August 2022. Its README describes a command-line tool that parses Terraform templates for IAM identity-based and resource-based policies, then runs them through IAM Access Analyzer policy validation checks and optional custom policy checks.

采用历史

The project is narrower than general Terraform linters because it focuses specifically on AWS IAM policy semantics. The input package facts list Homebrew and Nix packaging, while the official README documents Python installation with `pip install tf-policy-validator`, indicating use both as a Python CLI and as a packaged security tool.

使用方式

The documented workflow is to run Terraform, convert a plan to JSON with `terraform show -json`, and pass that file to `tf-policy-validator validate` with an AWS region and config file. The tool can fail a pipeline when findings of selected severity levels are treated as blocking.

The README also documents custom checks for no-new-access, access-not-granted, and no-public-access. Because those checks call AWS IAM Access Analyzer APIs through boto3, the tool uses normal AWS credential resolution, including environment variables, shared credentials, AWS config, assume-role providers, and EC2 instance metadata.

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

For package-manager users, terraform-iam-policy-validator represents the compliance side of Terraform packaging: it is a standalone executable meant to be dropped into CI after `terraform plan`, with policy behavior controlled by command flags and config files. Its importance is strongest in AWS-heavy shops that want IAM policy review before apply.

时间线

  • 2022: GitHub repository created.
  • 2024: v0.0.6 and v0.0.7 releases published.
  • 2024: v0.0.8 release added custom-check changes including check-no-public-access.
  • 2025: v0.0.9 listed as the latest GitHub release during research.

Related projects

  • The README ties the tool to AWS IAM Access Analyzer, boto3 credential handling, Terraform plan JSON, and AWS sample material for IAM Access Analyzer custom policy checks.

安全态势

尚未找到受保护工具覆盖

没有找到 terraform-iam-policy-validator 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials~/.aws/config

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tf-policy-validatorcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.0.9
管理器更新时间2026-05-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/awslabs/terraform-iam-policy-validator

安装元数据

软件包元数据

软件包键brew:terraform-iam-policy-validator
版本0.0.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terraform-iam-policy-validator
主页https://github.com/awslabs/terraform-iam-policy-validator
仓库https://github.com/awslabs/terraform-iam-policy-validator
上游文档https://github.com/awslabs/terraform-iam-policy-validator#readme
许可证MIT-0
源码归档https://files.pythonhosted.org/packages/89/6b/bdb90f2fcb4a0033f138d52d5b24af9a2f8a84703ef94cbc31d51f0afaed/tf_policy_validator-0.0.9.tar.gz
最后更新2026-05-15T11:14:03Z
Pulseupdated
依赖libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-iam-policy-validator
Version Scheme0
Revision4
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

terraform-iam-policy-validator

nix profile install nixpkgs#terraform-iam-policy-validator
  • normalized package name match
  • 匹配方式:Terraform Iam Policy Validator
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terraform-iam-policy-validator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment