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.zipInstalls 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監査」等のキーワードで使用する。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
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以上)を持っていること
作業指示
-
Azure環境の全体把握を行う
- 以下のコマンドでリソースの全体像を確認する:
# サブスクリプション一覧 az account list --output table # リソースグループ一覧 az group list --output table # リソース一覧 az resource list --resource-group <rg-name> --output table
- 以下のコマンドでリソースの全体像を確認する:
-
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)が有効化されているか
- 以下を確認する:
-
ネットワークセキュリティを検証する
- 以下を確認する:
# 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 が有効化されているか
- 以下を確認する:
-
データ保護・暗号化を検証する
- 以下を確認する:
# 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のソフト削除と消去保護が有効化されているか
- 以下を確認する:
-
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の推奨事項に未対応のものがないか
- 以下を確認する:
-
ログ・監視・アラートの設定を検証する
- 以下を確認する:
# 診断設定の確認 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日推奨)
- 以下を確認する:
-
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| azure-cloud-security-review (this skill) | 0 | 4mo | Review | Advanced |
| cloud-penetration-testing | 3 | 6mo | Review | Advanced |
| building-cloud-siem-with-sentinel | 0 | 2mo | Review | Advanced |
| cloud-iam-deep | 0 | 2mo | Caution | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by shyamagu-ms
View all by shyamagu-ms →You might also like
cloud-penetration-testing
davila7
This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP security", "enumerate cloud resources", "exploit cloud misconfigurations", "test O365 security", "extract secrets from cloud environments", or "audit cloud infrastructure". It provides comprehensive techniques for security assessment across major cloud platforms.
building-cloud-siem-with-sentinel
26zl
This skill covers deploying Microsoft Sentinel as a cloud-native SIEM
cloud-iam-deep
elementalsouls
Cloud IAM red-team attack chain across AWS, Azure, GCP — focused on EXTERNAL exploitation paths and post-credential-discovery privilege analysis. Covers IAM enumeration (aws iam, az role, gcloud iam), STS/AssumeRole chaining, Azure Managed Identity abuse (via SSRF/leak), GCP service account JSON abu
cloud-defense
transilienceai
Detect and break the cloud post-compromise attack chain (AWS / Azure / GCP) — per-stage CloudTrail / Activity-Log / Audit-Log detection signals and the preventive controls that close each step. Use for cloud detection engineering, hardening, remediation write-ups, or blue-team posture review of the
cloud-security-audit
Ed1s0nZ
云安全审计的专业技能和方法论
performing-cloud-forensics-investigation
yanacuti1121
Conduct forensic investigations in cloud environments by collecting and