Compliance — Kiểm tra tuân thủ
Validate tuân thủ các quy chuẩn bảo mật và privacy: GDPR, SOC 2, HIPAA, PCI-DSS.Cú pháp
Luồng hoạt động
Bước 1: Identify applicable frameworks
Xác định quy chuẩn áp dụng dựa trên: loại data, geography, industry.
Bước 2: Scan codebase
Kiểm tra code against compliance requirements:
- Data handling, encryption, access controls
- Logging, audit trail
- PII processing, data retention
Frameworks hỗ trợ
| Framework | Focus | Common Requirements |
|---|---|---|
| GDPR | EU data privacy | Consent, data deletion, DPO, breach notification |
| SOC 2 | Service organization controls | Access control, encryption, monitoring, incident response |
| HIPAA | Healthcare data | PHI encryption, access logs, BAA |
| PCI-DSS | Payment card data | Card data encryption, network segmentation, pen testing |
Ví dụ thực tế
Khi nào dùng / không dùng
| Dùng | Không dùng |
|---|---|
| Trước audit chính thức | Internal tool, không có compliance requirements |
| Khi xử lý PII, payment data | Code review thường (dùng /code-review) |
| Onboarding compliance framework mới | Security vulnerability scan (dùng /ck-security) |