Compliance Evidence Collector Skill
Purpose
Automate compliance evidence collection across multiple frameworks by gathering configuration snapshots, access control evidence, logs, policies, and documentation from cloud providers, identity systems, and security tools.
Capabilities
Cloud Configuration Evidence
- Capture AWS, Azure, GCP configuration snapshots
- Document IAM policies and role configurations
- Export security group and network ACL settings
- Collect encryption settings and key management evidence
- Screenshot cloud console configurations
- Archive CloudTrail, Activity Logs, Audit Logs
Access Control Evidence
- Export user and group listings
- Document role-based access control configurations
- Capture privileged access reviews
- Collect authentication policy evidence
- Document MFA enrollment status
- Archive access provisioning/deprovisioning records
Log Collection and Verification
- Collect security event logs
- Verify log retention compliance
- Document log integrity mechanisms
- Export SIEM correlation rules
- Capture alerting configurations
- Archive incident response logs
Policy Document Management
- Version control policy documents
- Track policy review and approval dates
- Document policy acknowledgments
- Archive superseded policies
- Generate policy compliance matrices
Screenshot Automation
- Automate evidence screenshots for manual controls
- Capture UI-based configuration evidence
- Document workflow approvals
- Screenshot training completion records
Evidence Chain of Custody
- Maintain evidence metadata and timestamps
- Track evidence collection dates
- Document evidence sources
- Generate evidence inventories
- Create audit-ready packages
Evidence Categories
Technical Evidence
- System configurations
- Security tool outputs
- Vulnerability scan results
- Penetration test reports
- Code analysis results
Administrative Evidence
- Policies and procedures
- Training records
- Risk assessments
- Incident reports
- Change management records
Physical Evidence
- Facility access logs
- Visitor records
- Asset inventories
- Environmental controls documentation
Framework Mapping
| Framework |
Evidence Types |
| SOC 2 |
Technical, Administrative, Screenshots |
| GDPR |
Data processing, Consent, Privacy |
| HIPAA |
ePHI, Safeguards, BAAs |
| PCI DSS |
CDE, Network, ASV scans |
| ISO 27001 |
ISMS, Controls, Risk |
| NIST |
Security controls, Risk management |
| FedRAMP |
Cloud security, Continuous monitoring |
Integrations
- AWS: Config, CloudTrail, IAM, Security Hub
- Azure: Policy, Activity Log, Azure AD, Defender
- GCP: Cloud Asset Inventory, Audit Logs, IAM
- Identity Providers: Okta, Azure AD, Google Workspace
- SIEM Systems: Splunk, Elastic, Sentinel, Chronicle
- Security Tools: Various vulnerability scanners, EDR
Target Processes
- All compliance audit processes
- Continuous compliance monitoring
- Audit preparation
- Control validation
Input Schema
{
"type": "object",
"properties": {
"frameworks": {
"type": "array",
"items": {
"type": "string",
"enum": ["SOC2", "GDPR", "HIPAA", "PCI-DSS", "ISO27001", "NIST", "FedRAMP"]
},
"description": "Target compliance frameworks"
},
"evidenceTypes": {
"type": "array",
"items": {
"type": "string",
"enum": ["cloud-config", "access-control", "logs", "policies", "screenshots", "network", "encryption"]
}
},
"cloudProviders": {
"type": "array",
"items": {
"type": "string",
"enum": ["AWS", "Azure", "GCP"]
}
},
"dateRange": {
"type": "object",
"properties": {
"startDate": { "type": "string", "format": "date" },
"endDate": { "type": "string", "format": "date" }
}
},
"controlIds": {
"type": "array",
"items": { "type": "string" },
"description": "Specific control IDs to collect evidence for"
},
"outputPath": {
"type": "string",
"description": "Base path for evidence storage"
}
},
"required": ["frameworks", "evidenceTypes"]
}
Output Schema
{
"type": "object",
"properties": {
"collectionId": {
"type": "string"
},
"collectionDate": {
"type": "string",
"format": "date-time"
},
"frameworks": {
"type": "array"
},
"evidenceSummary": {
"type": "object",
"properties": {
"totalItems": { "type": "integer" },
"collected": { "type": "integer" },
"failed": { "type": "integer" },
"pending": { "type": "integer" }
}
},
"evidenceInventory": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidenceId": { "type": "string" },
"controlId": { "type": "string" },
"type": { "type": "string" },
"source": { "type": "string" },
"collectionTimestamp": { "type": "string" },
"filePath": { "type": "string" },
"hash": { "type": "string" },
"status": { "type": "string" }
}
}
},
"chainOfCustody": {
"type": "object",
"properties": {
"collector": { "type": "string" },
"collectionMethod": { "type": "string" },
"integrityVerification": { "type": "string" }
}
},
"gaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"controlId": { "type": "string" },
"missingEvidence": { "type": "string" },
"reason": { "type": "string" }
}
}
},
"auditPackage": {
"type": "object",
"properties": {
"basePath": { "type": "string" },
"indexFile": { "type": "string" },
"totalSize": { "type": "string" }
}
}
}
}
Usage Example
skill: {
name: 'compliance-evidence-collector',
context: {
frameworks: ['SOC2', 'ISO27001'],
evidenceTypes: ['cloud-config', 'access-control', 'logs'],
cloudProviders: ['AWS', 'Azure'],
dateRange: {
startDate: '2024-01-01',
endDate: '2024-12-31'
}
}
}
1---
2name: compliance-evidence-collector
3description: Automated evidence collection across compliance frameworks from cloud providers, identity systems, and security tools
4allowed-tools:
5 - Bash
6 - Read
7 - Write
8 - Glob
9 - Grep
10 - WebFetch
11metadata:
12 source: https://skillmd.com/skills/aibot88/compliance-evidence-collector
13---
14
15# Compliance Evidence Collector Skill
16
17## Purpose
18
19Automate compliance evidence collection across multiple frameworks by gathering configuration snapshots, access control evidence, logs, policies, and documentation from cloud providers, identity systems, and security tools.
20
21## Capabilities
22
23### Cloud Configuration Evidence
24- Capture AWS, Azure, GCP configuration snapshots
25- Document IAM policies and role configurations
26- Export security group and network ACL settings
27- Collect encryption settings and key management evidence
28- Screenshot cloud console configurations
29- Archive CloudTrail, Activity Logs, Audit Logs
30
31### Access Control Evidence
32- Export user and group listings
33- Document role-based access control configurations
34- Capture privileged access reviews
35- Collect authentication policy evidence
36- Document MFA enrollment status
37- Archive access provisioning/deprovisioning records
38
39### Log Collection and Verification
40- Collect security event logs
41- Verify log retention compliance
42- Document log integrity mechanisms
43- Export SIEM correlation rules
44- Capture alerting configurations
45- Archive incident response logs
46
47### Policy Document Management
48- Version control policy documents
49- Track policy review and approval dates
50- Document policy acknowledgments
51- Archive superseded policies
52- Generate policy compliance matrices
53
54### Screenshot Automation
55- Automate evidence screenshots for manual controls
56- Capture UI-based configuration evidence
57- Document workflow approvals
58- Screenshot training completion records
59
60### Evidence Chain of Custody
61- Maintain evidence metadata and timestamps
62- Track evidence collection dates
63- Document evidence sources
64- Generate evidence inventories
65- Create audit-ready packages
66
67## Evidence Categories
68
69### Technical Evidence
70- System configurations
71- Security tool outputs
72- Vulnerability scan results
73- Penetration test reports
74- Code analysis results
75
76### Administrative Evidence
77- Policies and procedures
78- Training records
79- Risk assessments
80- Incident reports
81- Change management records
82
83### Physical Evidence
84- Facility access logs
85- Visitor records
86- Asset inventories
87- Environmental controls documentation
88
89## Framework Mapping
90
91| Framework | Evidence Types |
92|-----------|---------------|
93| SOC 2 | Technical, Administrative, Screenshots |
94| GDPR | Data processing, Consent, Privacy |
95| HIPAA | ePHI, Safeguards, BAAs |
96| PCI DSS | CDE, Network, ASV scans |
97| ISO 27001 | ISMS, Controls, Risk |
98| NIST | Security controls, Risk management |
99| FedRAMP | Cloud security, Continuous monitoring |
100
101## Integrations
102
103- **AWS**: Config, CloudTrail, IAM, Security Hub
104- **Azure**: Policy, Activity Log, Azure AD, Defender
105- **GCP**: Cloud Asset Inventory, Audit Logs, IAM
106- **Identity Providers**: Okta, Azure AD, Google Workspace
107- **SIEM Systems**: Splunk, Elastic, Sentinel, Chronicle
108- **Security Tools**: Various vulnerability scanners, EDR
109
110## Target Processes
111
112- All compliance audit processes
113- Continuous compliance monitoring
114- Audit preparation
115- Control validation
116
117## Input Schema
118
119```json
120{
121 "type": "object",
122 "properties": {
123 "frameworks": {
124 "type": "array",
125 "items": {
126 "type": "string",
127 "enum": ["SOC2", "GDPR", "HIPAA", "PCI-DSS", "ISO27001", "NIST", "FedRAMP"]
128 },
129 "description": "Target compliance frameworks"
130 },
131 "evidenceTypes": {
132 "type": "array",
133 "items": {
134 "type": "string",
135 "enum": ["cloud-config", "access-control", "logs", "policies", "screenshots", "network", "encryption"]
136 }
137 },
138 "cloudProviders": {
139 "type": "array",
140 "items": {
141 "type": "string",
142 "enum": ["AWS", "Azure", "GCP"]
143 }
144 },
145 "dateRange": {
146 "type": "object",
147 "properties": {
148 "startDate": { "type": "string", "format": "date" },
149 "endDate": { "type": "string", "format": "date" }
150 }
151 },
152 "controlIds": {
153 "type": "array",
154 "items": { "type": "string" },
155 "description": "Specific control IDs to collect evidence for"
156 },
157 "outputPath": {
158 "type": "string",
159 "description": "Base path for evidence storage"
160 }
161 },
162 "required": ["frameworks", "evidenceTypes"]
163}
164```
165
166## Output Schema
167
168```json
169{
170 "type": "object",
171 "properties": {
172 "collectionId": {
173 "type": "string"
174 },
175 "collectionDate": {
176 "type": "string",
177 "format": "date-time"
178 },
179 "frameworks": {
180 "type": "array"
181 },
182 "evidenceSummary": {
183 "type": "object",
184 "properties": {
185 "totalItems": { "type": "integer" },
186 "collected": { "type": "integer" },
187 "failed": { "type": "integer" },
188 "pending": { "type": "integer" }
189 }
190 },
191 "evidenceInventory": {
192 "type": "array",
193 "items": {
194 "type": "object",
195 "properties": {
196 "evidenceId": { "type": "string" },
197 "controlId": { "type": "string" },
198 "type": { "type": "string" },
199 "source": { "type": "string" },
200 "collectionTimestamp": { "type": "string" },
201 "filePath": { "type": "string" },
202 "hash": { "type": "string" },
203 "status": { "type": "string" }
204 }
205 }
206 },
207 "chainOfCustody": {
208 "type": "object",
209 "properties": {
210 "collector": { "type": "string" },
211 "collectionMethod": { "type": "string" },
212 "integrityVerification": { "type": "string" }
213 }
214 },
215 "gaps": {
216 "type": "array",
217 "items": {
218 "type": "object",
219 "properties": {
220 "controlId": { "type": "string" },
221 "missingEvidence": { "type": "string" },
222 "reason": { "type": "string" }
223 }
224 }
225 },
226 "auditPackage": {
227 "type": "object",
228 "properties": {
229 "basePath": { "type": "string" },
230 "indexFile": { "type": "string" },
231 "totalSize": { "type": "string" }
232 }
233 }
234 }
235}
236```
237
238## Usage Example
239
240```javascript
241skill: {
242 name: 'compliance-evidence-collector',
243 context: {
244 frameworks: ['SOC2', 'ISO27001'],
245 evidenceTypes: ['cloud-config', 'access-control', 'logs'],
246 cloudProviders: ['AWS', 'Azure'],
247 dateRange: {
248 startDate: '2024-01-01',
249 endDate: '2024-12-31'
250 }
251 }
252}
253```