← 返回
未分类 Key 中文

AuditClaw Github

GitHub compliance evidence collection for auditclaw-grc. 9 read-only checks covering branch protection, secret scanning, 2FA, Dependabot, deploy keys, audit...
GitHub 合规证据收集(auditclaw-grc),9项只读检查,覆盖分支保护、密钥扫描、双因素认证、Dependabot、部署密钥、审计等。
mailnike
未分类 clawhub v1.0.2 1 版本 99441.3 Key: 需要
★ 0
Stars
📥 178
下载
💾 0
安装
1
版本
#latest

概述

AuditClaw GitHub

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

9 checks | Read-only token permissions | Evidence stored in shared GRC database

Security Model

  • Read-only access: Uses fine-grained personal access token with read-only repository and organization permissions. No write access.
  • Credentials: Uses GITHUB_TOKEN env var. No credentials stored by this skill.
  • Dependencies: PyGithub==2.8.1 (pinned)
  • Data flow: Check results stored as evidence in ~/.openclaw/grc/compliance.sqlite via auditclaw-grc

Prerequisites

  • GitHub personal access token with read-only permissions (or classic token with repo, read:org, security_events)
  • Set as GITHUB_TOKEN environment variable
  • pip install -r scripts/requirements.txt
  • auditclaw-grc skill installed and initialized

Commands

  • "Run GitHub evidence sweep": Run all checks, store results in GRC database
  • "Check branch protection": Verify branch protection rules
  • "Check secret scanning": Review secret scanning alerts
  • "Check Dependabot alerts": Review dependency vulnerability alerts
  • "Show GitHub 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/github_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --org my-org --all

To run specific checks:

python3 scripts/github_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --org my-org --checks branch_protection,secret_scanning

Check Categories (9)

CheckWhat It Verifies
------------------------
branch_protectionDefault branch protection rules, required reviews, status checks
secret_scanningSecret scanning enabled, active alert count
dependabotDependabot alerts by severity, auto-fix PRs
two_factorOrganization-level 2FA enforcement
deploy_keysDeploy key audit, read-only vs read-write
audit_logAdmin audit log accessibility
webhooksWebhook security (HTTPS, secrets configured)
codeownersCODEOWNERS file present in repositories
ci_cdGitHub Actions security, workflow permissions

Evidence Storage

Each check produces evidence items stored with:

  • source: "github"
  • 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 GitHub integration, guide them through these steps:

Step 1: Create Fine-Grained Personal Access Token

Direct user to: GitHub → Settings → Developer Settings → Personal Access Tokens → Fine-grained tokens

Step 2: Configure Token Permissions

  • Name: auditclaw-grc
  • Expiration: 90 days (recommended)
  • Resource owner: Select their organization
  • Repository access: All repositories (or specific repos)
  • Permissions (all READ-ONLY):
  • Repository: Contents, Administration, Secret scanning alerts, Dependabot alerts, Code scanning alerts, Actions, Webhooks
  • Organization: Members (read), Administration (read)

Classic token alternative: If fine-grained tokens unavailable, use scopes: repo, read:org, security_events

Step 3: Set Token

Set as GITHUB_TOKEN environment variable.

Step 4: Verify Connection

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

The exact permissions are documented in scripts/github-permissions.json. Show with:

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

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-12 05:38 安全 安全

安全检测

腾讯云安全 (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,334