Automic VaultAutomic Vault

brew

terraform-iam-policy-validator を Homebrew, Nix でインストール

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 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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