← 返回
未分类 Key

AuditClaw Azure

Azure compliance evidence collection for auditclaw-grc. 12 read-only checks across storage, NSG, Key Vault, SQL, compute, App Service, and Defender for Cloud.
针对 auditclaw-grc 的 Azure 合规证据收集,覆盖存储、NSG、密钥保管库、SQL、计算、App Service 和 Defender for Cloud 的 12 项只读检查。
mailnike
未分类 clawhub v1.0.3 1 版本 99425.3 Key: 需要
★ 0
Stars
📥 173
下载
💾 0
安装
1
版本
#latest

概述

AuditClaw Azure

Companion skill for auditclaw-grc. Collects compliance evidence from Azure subscriptions using read-only API calls.

12 checks | Reader + Security Reader roles only | Evidence stored in shared GRC database

Security Model

  • Read-only access: Requires only Reader + Security Reader roles (subscription-level). No write/modify permissions.
  • Credentials: Uses DefaultAzureCredential (service principal env vars, az login, or managed identity). No credentials stored by this skill.
  • Dependencies: Azure SDK packages (all pinned in requirements.txt)
  • Data flow: Check results stored as evidence in ~/.openclaw/grc/compliance.sqlite via auditclaw-grc

Prerequisites

  • Azure credentials configured (service principal or az login)
  • pip install -r scripts/requirements.txt
  • auditclaw-grc skill installed and initialized

Commands

  • "Run Azure evidence sweep": Run all checks, store results in GRC database
  • "Check Azure storage security": Run storage-specific checks
  • "Check Azure network security": Run NSG checks
  • "Check Azure Key Vault": Run Key Vault checks
  • "Check Azure SQL compliance": Run SQL Server checks
  • "Check Azure VM encryption": Run compute checks
  • "Check Azure App Service": Run App Service checks
  • "Check Azure Defender": Run Defender for Cloud checks
  • "Show Azure integration health": Last sync, errors, evidence count

Usage

All evidence is stored in the shared GRC database at ~/.openclaw/grc/compliance.sqlite

via the auditclaw-grc skill's db_query.py script.

To run a full evidence sweep:

python3 scripts/azure_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --all

To run specific checks:

python3 scripts/azure_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --checks storage,network,keyvault

To list available checks:

python3 scripts/azure_evidence.py --list-checks

Check Categories (7 files, 12 findings)

CheckWhat It Verifies
------------------------
storageHTTPS-only transfer, TLS 1.2+, public blob access disabled, network default deny
networkNSG no unrestricted SSH (port 22), no unrestricted RDP (port 3389)
keyvaultSoft delete + purge protection enabled
sqlServer auditing enabled, TDE encryption on all databases
computeVM disk encryption (encryption at host)
appserviceHTTPS-only + TLS 1.2+
defenderDefender plans enabled (Standard tier) for critical resource types

Authentication

Uses DefaultAzureCredential from azure-identity. Supports:

  • Service principal: AZURE_CLIENT_ID + AZURE_TENANT_ID + AZURE_CLIENT_SECRET
  • Azure CLI: az login
  • Managed identity (when running in Azure)

Minimum roles: Reader + Security Reader (subscription-level)

Evidence Storage

Each check produces evidence items stored with:

  • source: "azure"
  • type: "automated"
  • control_id: Mapped to relevant SOC2/ISO/HIPAA controls
  • description: Human-readable finding summary
  • file_content: JSON details of the check result

Setup Guide

When a user asks to set up Azure integration, guide them through these steps:

Step 1: Create Service Principal

az ad sp create-for-rbac --name auditclaw-scanner --role Reader --scopes /subscriptions/<SUBSCRIPTION_ID>

Step 2: Add Security Reader Role

az role assignment create --assignee <APP_ID> --role "Security Reader" --scope /subscriptions/<SUBSCRIPTION_ID>

Only 2 roles needed: Reader + Security Reader (subscription-level).

Step 3: Configure Credentials

Set environment variables from the service principal output:

  • AZURE_CLIENT_ID (appId)
  • AZURE_CLIENT_SECRET (password)
  • AZURE_TENANT_ID (tenant)
  • AZURE_SUBSCRIPTION_ID

Step 4: Verify Connection

Run: python3 {baseDir}/scripts/azure_evidence.py --test-connection

The exact roles are documented in scripts/azure-roles.json. Show with:

python3 {baseDir}/../auditclaw-grc/scripts/db_query.py --action show-policy --provider azure

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-12 05:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

WebClaw

mailnike
OpenClaw 网页仪表盘。浏览器 UI,支持任意已安装技能。模式驱动渲染、JWT 认证、RBAC、AI 聊天、实时更新。安装网页仪表盘…
★ 0 📥 1,403
security-compliance

AuditClaw GRC

mailnike
{"answer":"面向 OpenClaw 的 AI 原生 GRC(治理、风险与合规)。涵盖 SOC 2、ISO 27001、HIPAA、GDPR、NIST CSF、PCI DSS、CI... 等 13 个框架的 97 项操作。"}
★ 0 📥 940
data-analysis

Erpclaw Publish 4.8.0 20260611 101918

mailnike
AI原生的ERP系统。完整会计、开票、库存、采购、税务、计费、人力资源、工资单,高级会计(ASC 606/842、公司间、合并报表…)
★ 1 📥 2,333