AZ

azure-cloud-security-review

Evaluates Azure infrastructure against Azure Security Benchmark v3 and CIS Benchmarks. Audits IAM, networking, and logging.

Install

mkdir -p .claude/skills/azure-cloud-security-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13403" && unzip -o skill.zip -d .claude/skills/azure-cloud-security-review && rm skill.zip

Installs to .claude/skills/azure-cloud-security-review

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Azure上にデプロイされたリソースのセキュリティ構成を評価し、Azure Security Benchmark v3およびCIS Benchmarksに準拠しているかを検証する。 IAM、ネットワークセキュリティ、データ暗号化、Defender for Cloud、ログ監視、Azure Policyを確認する。 「Azureのセキュリティ監査」「クラウドセキュリティ監査」「Azure監査」「IAM監査」「NSG監査」等のキーワードで使用する。
224 charsno explicit “when” trigger
Advanced

Key capabilities

  • Perform Azure environment overall assessment
  • Validate IAM (Identity and Access Management)
  • Verify network security configurations
  • Assess data protection and encryption settings
  • Check Microsoft Defender for Cloud status

How it works

The skill evaluates Azure resource security configurations against benchmarks by executing Azure CLI commands to check IAM, network security, data encryption, Defender for Cloud, logging, and Azure Policy.

Inputs & outputs

You give it
Azure subscription ID, resource group name, resource IDs
You get back
Security assessment of Azure resources against Azure Security Benchmark v3 and CIS Benchmarks

When to use azure-cloud-security-review

  • Audit Azure IAM roles
  • Validate NSG security rules
  • Verify encryption settings
  • Review cloud security benchmarks

About this skill

Azureクラウド セキュリティレビュー

目的

Azure上にデプロイされたリソースのセキュリティ構成を評価し、Azure Security Benchmark v3およびCIS Benchmarksに準拠しているかを検証する。

前提条件

  • Azure CLIがインストールされ、対象サブスクリプションにログイン済みであること
  • 対象リソースグループへの読み取り権限(Reader以上)を持っていること

作業指示

  1. Azure環境の全体把握を行う

    • 以下のコマンドでリソースの全体像を確認する:
      # サブスクリプション一覧
      az account list --output table
      
      # リソースグループ一覧
      az group list --output table
      
      # リソース一覧
      az resource list --resource-group <rg-name> --output table
      
  2. IAM(Identity and Access Management)を検証する

    • 以下を確認する:
      # ロール割り当ての確認
      az role assignment list --all --output table
      
      # カスタムロールの確認
      az role definition list --custom-role-only true --output table
      
    • 検証項目:
      • マネージドID(Managed Identity)が使用されているか
      • サービスプリンシパルにパスワード認証ではなく証明書認証が使用されているか
      • 最小権限の原則が適用されているか(Owner権限の付与が最小限か)
      • ゲストユーザのアクセスが適切に制限されているか
      • Privileged Identity Management(PIM)が有効化されているか
  3. ネットワークセキュリティを検証する

    • 以下を確認する:
      # NSGルールの確認
      az network nsg list --output table
      az network nsg rule list --nsg-name <nsg-name> --resource-group <rg-name> --output table
      
      # パブリックIPの確認
      az network public-ip list --output table
      
      # VNet構成の確認
      az network vnet list --output table
      
    • 検証項目:
      • 不要なインバウンドルール(0.0.0.0/0からのSSH/RDP)がないか
      • プライベートエンドポイントが使用されているか
      • WAF(Web Application Firewall)が適用されているか
      • DDoS Protection が有効化されているか
  4. データ保護・暗号化を検証する

    • 以下を確認する:
      # Key Vaultの確認
      az keyvault list --output table
      az keyvault show --name <vault-name>
      
      # ストレージアカウントの確認
      az storage account list --output table
      az storage account show --name <account-name> --query "{httpsOnly:enableHttpsTrafficOnly,minimumTlsVersion:minimumTlsVersion,publicAccess:allowBlobPublicAccess}"
      
    • 検証項目:
      • ストレージアカウントのパブリックアクセスが無効化されているか
      • HTTPSのみの通信が強制されているか
      • TLS 1.2以上が最小バージョンとして設定されているか
      • Key Vaultでシークレットが管理されているか
      • Key Vaultのソフト削除と消去保護が有効化されているか
  5. Microsoft Defender for Cloudの状態を確認する

    • 以下を確認する:
      # セキュリティ評価の確認
      az security assessment list --output table
      
      # セキュアスコアの確認
      az security secure-score-control list --output table
      
      # 規制コンプライアンスの確認
      az security regulatory-compliance-standards list --output table
      
    • 検証項目:
      • Defender for Cloudが全サブスクリプションで有効化されているか
      • セキュアスコアが70%以上であるか
      • Critical/Highの推奨事項に未対応のものがないか
  6. ログ・監視・アラートの設定を検証する

    • 以下を確認する:
      # 診断設定の確認
      az monitor diagnostic-settings list --resource <resource-id> --output table
      
      # Log Analytics ワークスペースの確認
      az monitor log-analytics workspace list --output table
      
      # アクティビティログアラートの確認
      az monitor activity-log alert list --output table
      
    • 検証項目:
      • 主要リソースの診断ログが有効化されているか
      • Log Analyticsワークスペースにログが集約されているか
      • セキュリティイベントに対するアラートが設定されているか
      • ログの保持期間が適切に設定されているか(最低90日推奨)
  7. Azure Policyによるガバナンスを確認する

    • 以下を確認する:
      # ポリシー割り当ての確認
      az policy assignment list --output table
      
      # ポリシーコンプライアンス状態の確認
      az policy state summarize --output table
      
    • 検証項目:
      • セキュリティ関連のポリシーが割り当てられているか
      • 非準拠リソースの数と内容を確認し、改善を提案する

When not to use it

  • When Azure CLI is not installed or not logged into the target subscription
  • When the user does not have Reader permissions or higher to the target resource group

Prerequisites

Azure CLI installedLogged into target subscriptionReader permissions (or higher) to target resource group

Limitations

  • Requires Azure CLI to be installed and authenticated.
  • Requires Reader permissions or higher to the target resource group.
  • Log retention period should be at least 90 days.

How it compares

This skill provides a structured, command-line driven security review of Azure resources against specific benchmarks, automating checks that would otherwise be performed manually across various Azure portals and tools.

Compared to similar skills

azure-cloud-security-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
azure-cloud-security-review (this skill)04moReviewAdvanced
cloud-penetration-testing36moReviewAdvanced
building-cloud-siem-with-sentinel02moReviewAdvanced
cloud-iam-deep02moCautionAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry