# Sentinel (HashiCorp)

HashiCorp製品のルールを定義・適用するための、コマンドラインツール兼ポリシー・アズ・コード言語です。

> これは OpenNavo の Sentinel (HashiCorp) ページの Markdown 版で、内容はウェブページと同じです： <https://opennavo.com/ja/apps/sentinel>

- **最新バージョン**: `0.41.1`
- **開発元**: HashiCorp
- **ホームページ**: <https://docs.hashicorp.com/sentinel>
- **カテゴリ**: [開発ツール](https://opennavo.com/ja/categories/developer-tools)
- **インストール**: `brew install --cask sentinel`
- **過去 30 日間のインストール数**: 48
- **Homebrew**: インストール可能、Homebrew で更新
- **ダウンロードURL**: <https://releases.hashicorp.com/sentinel/0.41.1/sentinel_0.41.1_darwin_arm64.zip>
- **SHA-256**: `52bc7058e460d39abbb36b53f02bf5c75a847dc6f861294c962b57c95f8a47af`
- **付属コマンド**: sentinel

SHA-256 はダウンロードしたファイルが完全かを確かめるためのもので、安全性の認証ではありません。

## インストールとアンインストールの内容

```json
[
  {
    "declaration": {
      "binary": [
        "sentinel"
      ],
      "target": "$HOMEBREW_PREFIX/bin/sentinel"
    },
    "phase": "install",
    "sources": [
      "sentinel"
    ],
    "target": "$HOMEBREW_PREFIX/bin/sentinel",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": []
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 紹介

Sentinelは、HashiCorpのポリシー・アズ・コード言語およびフレームワークです。HashiCorp製品の利用者に許可する操作を定義し、ポリシーを事前に適用して、ルールに適合しない変更を防止できます。このHomebrew caskがインストールするのはSentinelコマンドラインツールであり、GUIアプリケーションではありません。

Sentinelでは次のことができます。
- Sentinel CLIを使って、ポリシーの例を作成し実行する。
- インフラストラクチャのワークフローにポリシーを適用し、HCP Terraformでインフラストラクチャがポリシーに準拠するか確認する。
- Vaultでポリシーを使い、ユーザーのロールやエンドポイントに基づいてシークレットへのアクセスを制御する。
- Nomadでポリシーを使い、ドライバーなどのジョブ属性に基づいてジョブを制御する。

利用を始めるには、`brew install --cask sentinel`でcaskをインストールし、Sentinel CLIでポリシーを作成して実行します。HashiCorpは言語ドキュメントやガイド付きの例に加え、モックデータを使ってポリシーを作成・テストできるホステッドplaygroundも提供しています。これらはローカルにインストールするCLIとは別のリソースです。

SentinelはHashiCorp製品でのポリシー適用を目的としています。公式ドキュメントに記載された使用例には、HCP Terraform、Vault、Nomadがあります。[Sentinel公式ドキュメント](https://docs.hashicorp.com/sentinel) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/s/sentinel.rb)

## システム要件

- macOS 27, 26, 15, 14, 13, 12, 11 向けのビルド · アプリのバージョン: 0.41.1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sentinel.rb> · 2026-12-06 に確認
  - <https://releases.hashicorp.com/sentinel/0.41.1/sentinel_0.41.1_darwin_amd64.zip>
  - SHA-256: `d426d3b4b7b599505eaa8be2516e8fc016dbcdd9a4a51008c4b1fbf50a5b699b`
- macOS 27, 26, 15, 14, 13, 12, 11 向けのビルド · アプリのバージョン: 0.41.1 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sentinel.rb> · 2026-12-06 に確認
  - <https://releases.hashicorp.com/sentinel/0.41.1/sentinel_0.41.1_darwin_arm64.zip>
  - SHA-256: `52bc7058e460d39abbb36b53f02bf5c75a847dc6f861294c962b57c95f8a47af`

## アンインストール

- `brew uninstall --cask sentinel`

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

## 情報と出典

- <https://opennavo.com/ja/apps/sentinel>
- <https://opennavo.com/ja/apps/sentinel/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sentinel.rb> · 2026-12-06 に確認
- <https://formulae.brew.sh/cask/sentinel>
