Evidence artifact collector

From GRCEngClub/claude-grc-engineering · View interactive version

Evidence artifact collector is an AI agent skill from the GitHub repository GRCEngClub/claude-grc-engineering. Generates CLI commands and API scripts to collect point-in-time evidence for audit controls. Automates evidence gathering from cloud providers (AWS, Azure, GCP) and outputs formatted reports.

How to use this skill

Skill file

Evidence Artifact Collector

Generates scripts to collect audit evidence from cloud infrastructure. Automates the most labor-intensive part of compliance - evidence gathering.

Quick Commands

Generate AWS evidence script:

node plugins/grc-engineer/scripts/collect-evidence.js "MFA for all root users" aws

Generate Azure evidence script:

node plugins/grc-engineer/scripts/collect-evidence.js "All storage accounts encrypted" azure

Generate GCP evidence script:

node plugins/grc-engineer/scripts/collect-evidence.js "IAM bindings audit" gcp

Supported Providers

Output Formats

Example Controls

Generated Script Features

Example Output

#!/usr/bin/env python3
"""
Evidence Collection Script
Control: MFA for all root users
Provider: AWS
Generated: 2025-01-15T10:30:00Z
"""

import boto3
import json
from datetime import datetime

iam = boto3.client('iam')

def collect_mfa_evidence():
    """Collect evidence for MFA requirement on root users."""
    evidence = {
        "control": "MFA for all root users",
        "timestamp": datetime.utcnow().isoformat(),
        "results": []
    }
    
    # Get account summary
    summary = iam.get_account_summary()
    mfa_enabled = summary['SummaryMap'].get('AccountMFAEnabled', 0)
    
    evidence["results"].append({
        "check": "Root account MFA status",
        "status": "PASS" if mfa_enabled == 1 else "FAIL",
        "details": f"MFA Enabled: {mfa_enabled == 1}"
    })
    
    return evidence

if __name__ == "__main__":
    result = collect_mfa_evidence()
    print(json.dumps(result, indent=2))

Prerequisites

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.