PCI DSS Compliance Automator Skill
Purpose
Automate Payment Card Industry Data Security Standard (PCI DSS) compliance activities including cardholder data environment scoping, SAQ questionnaire automation, ASV scan orchestration, control validation, and compliance reporting.
Capabilities
Cardholder Data Environment (CDE) Scoping
- Identify systems storing, processing, or transmitting cardholder data
- Map cardholder data flows
- Document network segmentation
- Identify connected and security-impacting systems
- Generate CDE scope documentation
Self-Assessment Questionnaire (SAQ) Automation
- Determine appropriate SAQ type (A, A-EP, B, B-IP, C, C-VT, D, P2PE)
- Auto-populate questionnaire responses from evidence
- Track compensating controls
- Generate SAQ submissions
ASV Scan Orchestration
- Schedule and manage ASV vulnerability scans
- Track quarterly scan requirements
- Manage scan disputes and remediation
- Aggregate scan results across environments
- Monitor passing scan status
Control Validation by Requirement
- Requirement 1: Network security controls
- Requirement 2: Secure configurations
- Requirement 3: Protect stored account data
- Requirement 4: Protect data in transit
- Requirement 5: Malware protection
- Requirement 6: Secure systems and software
- Requirement 7: Restrict access by business need
- Requirement 8: User identification and authentication
- Requirement 9: Physical access restrictions
- Requirement 10: Logging and monitoring
- Requirement 11: Security testing
- Requirement 12: Security policies
Evidence Collection
- Automated evidence gathering for each requirement
- Policy and procedure documentation
- Configuration evidence capture
- Log sample collection
- Access control evidence
Compliance Reporting
- Generate Attestation of Compliance (AOC)
- Prepare Report on Compliance (ROC) artifacts
- Create compliance dashboards
- Track compliance metrics over time
PCI DSS v4.0 Coverage
Build and Maintain Secure Network
- Req 1: Install and maintain network security controls
- Req 2: Apply secure configurations
Protect Account Data
- Req 3: Protect stored account data
- Req 4: Protect cardholder data during transmission
Maintain Vulnerability Management
- Req 5: Protect against malicious software
- Req 6: Develop and maintain secure systems
Implement Strong Access Control
- Req 7: Restrict access to system components
- Req 8: Identify users and authenticate access
- Req 9: Restrict physical access
Monitor and Test Networks
- Req 10: Log and monitor access
- Req 11: Test security regularly
Maintain Security Policy
- Req 12: Support information security with policies
Integrations
- SecurityMetrics: PCI compliance and ASV scanning
- Qualys: Vulnerability scanning and PCI compliance
- Trustwave: ASV scanning and compliance services
- PCI Council Tools: Official PCI SSC resources
- Cloud Provider Tools: AWS, Azure, GCP compliance tools
Target Processes
- PCI DSS Compliance Process
- Quarterly ASV Scanning
- Annual Assessment Preparation
- Cardholder Data Protection
Input Schema
{
"type": "object",
"properties": {
"assessmentType": {
"type": "string",
"enum": ["full", "saq", "asv", "scope", "gap"],
"description": "Type of PCI DSS assessment"
},
"merchantLevel": {
"type": "integer",
"enum": [1, 2, 3, 4],
"description": "PCI merchant level"
},
"saqType": {
"type": "string",
"enum": ["A", "A-EP", "B", "B-IP", "C", "C-VT", "D-Merchant", "D-ServiceProvider", "P2PE"],
"description": "Applicable SAQ type"
},
"cdeScope": {
"type": "object",
"properties": {
"systems": { "type": "array", "items": { "type": "string" } },
"networks": { "type": "array", "items": { "type": "string" } },
"applications": { "type": "array", "items": { "type": "string" } }
}
},
"asvTargets": {
"type": "array",
"items": { "type": "string" },
"description": "IP addresses/hostnames for ASV scanning"
},
"existingDocumentation": {
"type": "string",
"description": "Path to existing PCI documentation"
}
},
"required": ["assessmentType"]
}
Output Schema
{
"type": "object",
"properties": {
"assessmentId": {
"type": "string"
},
"assessmentType": {
"type": "string"
},
"assessmentDate": {
"type": "string",
"format": "date-time"
},
"cdeScope": {
"type": "object",
"properties": {
"inScopeSystems": { "type": "array" },
"connectedSystems": { "type": "array" },
"outOfScopeSystems": { "type": "array" },
"segmentationStatus": { "type": "string" }
}
},
"requirementStatus": {
"type": "array",
"items": {
"type": "object",
"properties": {
"requirement": { "type": "string" },
"status": { "type": "string", "enum": ["compliant", "non-compliant", "not-applicable", "compensating-control"] },
"findings": { "type": "array" },
"evidence": { "type": "array" }
}
}
},
"asvResults": {
"type": "object",
"properties": {
"scanDate": { "type": "string" },
"passingStatus": { "type": "boolean" },
"vulnerabilities": { "type": "array" },
"disputes": { "type": "array" }
}
},
"saqResponses": {
"type": "object"
},
"gapAnalysis": {
"type": "array"
},
"complianceScore": {
"type": "number"
},
"recommendations": {
"type": "array",
"items": { "type": "string" }
}
}
}
Usage Example
skill: {
name: 'pci-dss-compliance-automator',
context: {
assessmentType: 'full',
merchantLevel: 2,
saqType: 'D-Merchant',
cdeScope: {
systems: ['Payment Gateway', 'POS Terminal', 'Web Store'],
networks: ['Payment VLAN', 'DMZ']
}
}
}
1---
2name: pci-dss-compliance-automator
3description: PCI DSS compliance assessment and reporting for cardholder data protection, SAQ automation, and ASV scan orchestration
4allowed-tools:
5 - Bash
6 - Read
7 - Write
8 - Glob
9 - Grep
10 - WebFetch
11graph:
12 domains: [domain:security]
13 specializations: [specialization:security-compliance]
14 skillAreas: [skill-area:compliance-automation, skill-area:vulnerability-scanning-remediation]
15 roles: [role:compliance-officer, role:security-engineer]
16 workflows: [workflow:compliance-audit, workflow:security-audit]
17
18metadata:
19 source: https://skillmd.com/skills/a5c-ai/pci-dss-compliance-automator
20---
21
22# PCI DSS Compliance Automator Skill
23
24## Purpose
25
26Automate Payment Card Industry Data Security Standard (PCI DSS) compliance activities including cardholder data environment scoping, SAQ questionnaire automation, ASV scan orchestration, control validation, and compliance reporting.
27
28## Capabilities
29
30### Cardholder Data Environment (CDE) Scoping
31- Identify systems storing, processing, or transmitting cardholder data
32- Map cardholder data flows
33- Document network segmentation
34- Identify connected and security-impacting systems
35- Generate CDE scope documentation
36
37### Self-Assessment Questionnaire (SAQ) Automation
38- Determine appropriate SAQ type (A, A-EP, B, B-IP, C, C-VT, D, P2PE)
39- Auto-populate questionnaire responses from evidence
40- Track compensating controls
41- Generate SAQ submissions
42
43### ASV Scan Orchestration
44- Schedule and manage ASV vulnerability scans
45- Track quarterly scan requirements
46- Manage scan disputes and remediation
47- Aggregate scan results across environments
48- Monitor passing scan status
49
50### Control Validation by Requirement
51- Requirement 1: Network security controls
52- Requirement 2: Secure configurations
53- Requirement 3: Protect stored account data
54- Requirement 4: Protect data in transit
55- Requirement 5: Malware protection
56- Requirement 6: Secure systems and software
57- Requirement 7: Restrict access by business need
58- Requirement 8: User identification and authentication
59- Requirement 9: Physical access restrictions
60- Requirement 10: Logging and monitoring
61- Requirement 11: Security testing
62- Requirement 12: Security policies
63
64### Evidence Collection
65- Automated evidence gathering for each requirement
66- Policy and procedure documentation
67- Configuration evidence capture
68- Log sample collection
69- Access control evidence
70
71### Compliance Reporting
72- Generate Attestation of Compliance (AOC)
73- Prepare Report on Compliance (ROC) artifacts
74- Create compliance dashboards
75- Track compliance metrics over time
76
77## PCI DSS v4.0 Coverage
78
79### Build and Maintain Secure Network
80- Req 1: Install and maintain network security controls
81- Req 2: Apply secure configurations
82
83### Protect Account Data
84- Req 3: Protect stored account data
85- Req 4: Protect cardholder data during transmission
86
87### Maintain Vulnerability Management
88- Req 5: Protect against malicious software
89- Req 6: Develop and maintain secure systems
90
91### Implement Strong Access Control
92- Req 7: Restrict access to system components
93- Req 8: Identify users and authenticate access
94- Req 9: Restrict physical access
95
96### Monitor and Test Networks
97- Req 10: Log and monitor access
98- Req 11: Test security regularly
99
100### Maintain Security Policy
101- Req 12: Support information security with policies
102
103## Integrations
104
105- **SecurityMetrics**: PCI compliance and ASV scanning
106- **Qualys**: Vulnerability scanning and PCI compliance
107- **Trustwave**: ASV scanning and compliance services
108- **PCI Council Tools**: Official PCI SSC resources
109- **Cloud Provider Tools**: AWS, Azure, GCP compliance tools
110
111## Target Processes
112
113- PCI DSS Compliance Process
114- Quarterly ASV Scanning
115- Annual Assessment Preparation
116- Cardholder Data Protection
117
118## Input Schema
119
120```json
121{
122 "type": "object",
123 "properties": {
124 "assessmentType": {
125 "type": "string",
126 "enum": ["full", "saq", "asv", "scope", "gap"],
127 "description": "Type of PCI DSS assessment"
128 },
129 "merchantLevel": {
130 "type": "integer",
131 "enum": [1, 2, 3, 4],
132 "description": "PCI merchant level"
133 },
134 "saqType": {
135 "type": "string",
136 "enum": ["A", "A-EP", "B", "B-IP", "C", "C-VT", "D-Merchant", "D-ServiceProvider", "P2PE"],
137 "description": "Applicable SAQ type"
138 },
139 "cdeScope": {
140 "type": "object",
141 "properties": {
142 "systems": { "type": "array", "items": { "type": "string" } },
143 "networks": { "type": "array", "items": { "type": "string" } },
144 "applications": { "type": "array", "items": { "type": "string" } }
145 }
146 },
147 "asvTargets": {
148 "type": "array",
149 "items": { "type": "string" },
150 "description": "IP addresses/hostnames for ASV scanning"
151 },
152 "existingDocumentation": {
153 "type": "string",
154 "description": "Path to existing PCI documentation"
155 }
156 },
157 "required": ["assessmentType"]
158}
159```
160
161## Output Schema
162
163```json
164{
165 "type": "object",
166 "properties": {
167 "assessmentId": {
168 "type": "string"
169 },
170 "assessmentType": {
171 "type": "string"
172 },
173 "assessmentDate": {
174 "type": "string",
175 "format": "date-time"
176 },
177 "cdeScope": {
178 "type": "object",
179 "properties": {
180 "inScopeSystems": { "type": "array" },
181 "connectedSystems": { "type": "array" },
182 "outOfScopeSystems": { "type": "array" },
183 "segmentationStatus": { "type": "string" }
184 }
185 },
186 "requirementStatus": {
187 "type": "array",
188 "items": {
189 "type": "object",
190 "properties": {
191 "requirement": { "type": "string" },
192 "status": { "type": "string", "enum": ["compliant", "non-compliant", "not-applicable", "compensating-control"] },
193 "findings": { "type": "array" },
194 "evidence": { "type": "array" }
195 }
196 }
197 },
198 "asvResults": {
199 "type": "object",
200 "properties": {
201 "scanDate": { "type": "string" },
202 "passingStatus": { "type": "boolean" },
203 "vulnerabilities": { "type": "array" },
204 "disputes": { "type": "array" }
205 }
206 },
207 "saqResponses": {
208 "type": "object"
209 },
210 "gapAnalysis": {
211 "type": "array"
212 },
213 "complianceScore": {
214 "type": "number"
215 },
216 "recommendations": {
217 "type": "array",
218 "items": { "type": "string" }
219 }
220 }
221}
222```
223
224## Usage Example
225
226```javascript
227skill: {
228 name: 'pci-dss-compliance-automator',
229 context: {
230 assessmentType: 'full',
231 merchantLevel: 2,
232 saqType: 'D-Merchant',
233 cdeScope: {
234 systems: ['Payment Gateway', 'POS Terminal', 'Web Store'],
235 networks: ['Payment VLAN', 'DMZ']
236 }
237 }
238}
239```