MCMMCM DocsEngineering (Internal)
HLDModulesGovernanceBuilt-in Groups
v1.2 is unreleased — see v1.1 for the current stable release.

HIPAA Compliance

HIPAA requirements, cloud enforcement via Cloud Custodian, and control coverage mapping.

HIPAA Compliance

HIPAA (Health Insurance Portability and Accountability Act) is a US federal law governing how Protected Health Information (PHI) is created, stored, processed, transmitted, and protected. It applies to healthcare providers, health plans, clearinghouses, and their Business Associates — including cloud providers, SaaS platforms, and MSPs handling PHI.


Core Requirements

A. Administrative Safeguards

  • Risk analysis and risk management.
  • Defined security policies and standard operating procedures.
  • Workforce training.
  • Incident response procedures.

B. Physical Safeguards

  • Data centre security (handled by the cloud provider).
  • Controlled access to systems.

C. Technical Safeguards

  • Access control (least privilege).
  • Audit controls (logging).
  • Integrity controls.
  • Transmission security (encryption).

HIPAA compliance is a combination of legal, technical, and operational controls. A signed Business Associate Agreement (BAA) with the cloud provider is mandatory when handling PHI.


Cloud Custodian HIPAA Coverage

Cloud Custodian enforces HIPAA Technical Safeguards by detecting and preventing cloud misconfigurations.

HIPAA Control AreaCoveredDescription
Encryption at rest✅ Cloud CustodianS3, EBS, RDS encryption enforcement
Encryption in transit✅ Cloud CustodianHTTPS / TLS enforcement
Access control✅ Cloud CustodianMFA, IAM hygiene, least privilege
Audit controls✅ Cloud CustodianCloudTrail and logging checks
Exposure prevention✅ Cloud CustodianPublic storage and network detection
Data retention✅ Cloud CustodianResource lifecycle cleanup
Region control✅ Cloud CustodianEnforce approved regions

Sample Cloud Custodian Policies

Enforce S3 Encryption (PHI Storage)

policies:
  - name: hipaa-s3-encryption-required
    resource: s3
    filters:
      - type: bucket-encryption
        state: false

Block Public S3 Buckets

policies:
  - name: hipaa-no-public-s3
    resource: s3
    filters:
      - type: global-grants
        operator: not-equal
        value: []

Enforce MFA for IAM Users

policies:
  - name: hipaa-mfa-required
    resource: iam-user
    filters:
      - type: credential
        key: mfa_active
        value: false

Ensure CloudTrail is Enabled

policies:
  - name: hipaa-cloudtrail-enabled
    resource: account
    filters:
      - type: cloudtrail
        key: IsMultiRegionTrail
        value: true

Prevent Public RDS Instances

policies:
  - name: hipaa-no-public-rds
    resource: rds
    filters:
      - PubliclyAccessible: true

Full Controls Coverage

HIPAA Control / RequirementTool CoverageNotes
Encryption at rest (S3/EBS/RDS)Cloud CustodianCloud-side encryption configuration
Encryption in transit (TLS/HTTPS)Cloud CustodianHTTPS/TLS policies on ELB, S3, IAM
IAM least privilegeCloud CustodianIAM policy & role hygiene
MFA for usersCloud CustodianIAM credential checks
Public cloud resourcesCloud CustodianS3, RDS, SG, snapshot exposure
Approved regions / data residencyCloud CustodianRegion guardrails
Cloud audit logging (CloudTrail)Cloud CustodianEnsures audit trail exists
Log integrity (cloud)Requires secure storage + WORM process
OS & application logsWazuhHost-based log collection
File integrity monitoringWazuhDetects unauthorised file changes
Malware detectionWazuhRootkits, trojans
Intrusion detectionWazuhSuspicious runtime behaviour
Vulnerability scanningWazuhCVE detection on hosts
Incident evidence & forensicsWazuhAlerts, timelines, investigation data
Backup configurationCloud CustodianSnapshot & backup configuration checks
Backup restore testingRequires periodic manual / DR testing
Business Associate Agreement (BAA)Legal contract, not tool-based
Risk assessment documentationAdministrative safeguard
Workforce trainingOrganisational process
Incident response planProcess & governance
Breach notification workflowLegal & operational

On this page