Loading...
Loading...
Compare original and translation side by side
/hipaa-guardian [command] [path] [options]/hipaa-guardian [command] [path] [options]scan <path>scan-code <path>scan-auth <path>scan-logs <path>scan-response <path>audit <path>controls <path>reportscan <path>scan-code <path>scan-auth <path>scan-logs <path>scan-response <path>audit <path>controls <path>report--format <type>--output <file>--severity <level>--include <patterns>--exclude <patterns>--synthetic--format <type>--output <file>--severity <level>--include <patterns>--exclude <patterns>--syntheticundefinedundefinedundefinedundefinedreferences/detection-patterns.mdreferences/detection-patterns.mdreferences/risk-scoring.mdRisk Score = (Sensitivity × 0.35) + (Exposure × 0.25) +
(Volume × 0.20) + (Identifiability × 0.20)references/risk-scoring.md风险评分 = (敏感度 × 0.35) + (暴露程度 × 0.25) +
(数据量 × 0.20) + (可识别性 × 0.20)references/privacy-rule.mdreferences/security-rule.mdreferences/breach-rule.mdreferences/privacy-rule.mdreferences/security-rule.mdreferences/breach-rule.mdexamples/sample-finding.json{
"id": "F-YYYYMMDD-NNNN",
"timestamp": "ISO-8601",
"file": "path/to/file",
"line": 123,
"field": "field.path",
"value_hash": "sha256:...",
"classification": "PHI|PII|sensitive_nonPHI",
"identifier_type": "ssn|mrn|dob|...",
"confidence": 0.95,
"risk_score": 85,
"hipaa_rules": [...],
"remediation": [...],
"status": "open"
}examples/sample-finding.json{
"id": "F-YYYYMMDD-NNNN",
"timestamp": "ISO-8601",
"file": "path/to/file",
"line": 123,
"field": "field.path",
"value_hash": "sha256:...",
"classification": "PHI|PII|sensitive_nonPHI",
"identifier_type": "ssn|mrn|dob|...",
"confidence": 0.95,
"risk_score": 85,
"hipaa_rules": [...],
"remediation": [...],
"status": "open"
}.env.envreferences/code-scanning.mdreferences/code-scanning.md.gitignore.gitignorereferences/hipaa-identifiers.mdreferences/detection-patterns.mdreferences/code-scanning.mdreferences/healthcare-formats.mdreferences/privacy-rule.mdreferences/security-rule.mdreferences/breach-rule.mdreferences/risk-scoring.mdreferences/auth-patterns.mdreferences/logging-safety.mdreferences/api-security.mdreferences/hipaa-identifiers.mdreferences/detection-patterns.mdreferences/code-scanning.mdreferences/healthcare-formats.mdreferences/privacy-rule.mdreferences/security-rule.mdreferences/breach-rule.mdreferences/risk-scoring.mdreferences/auth-patterns.mdreferences/logging-safety.mdreferences/api-security.mdundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined| Format | Extensions | Detection |
|---|---|---|
| FHIR R4 | | Resource type, identifiers |
| HL7 v2.x | | MSH, PID, DG1 segments |
| CDA/C-CDA | | ClinicalDocument, patientRole |
| X12 EDI | | Transaction set headers |
| 格式 | 扩展名 | 检测能力 |
|---|---|---|
| FHIR R4 | | 资源类型、标识符 |
| HL7 v2.x | | MSH、PID、DG1段 |
| CDA/C-CDA | | ClinicalDocument、patientRole |
| X12 EDI | | 交易集头 |
PatientConditionObservationMedicationRequestDiagnosticReportPatientConditionObservationMedicationRequestDiagnosticReportPIDDG1OBXIN1examples/sample-finding.jsonexamples/sample-audit-report.mdexamples/synthetic-phi-data.jsonexamples/sample-finding.jsonexamples/sample-audit-report.mdexamples/synthetic-phi-data.jsonscripts/detect-phi.pyscripts/scan-code.pyscripts/scan-auth.pyscripts/scan-logs.pyscripts/scan-response.pyscripts/generate-report.pyscripts/validate-controls.shscripts/pre-commit-hook.shscripts/detect-phi.pyscripts/scan-code.pyscripts/scan-auth.pyscripts/scan-logs.pyscripts/scan-response.pyscripts/generate-report.pyscripts/validate-controls.shscripts/pre-commit-hook.sh