cloudg 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. cloudg/__init__.py +21 -0
  2. cloudg/api.py +613 -0
  3. cloudg/cli.py +934 -0
  4. cloudg/collectors/__init__.py +5 -0
  5. cloudg/collectors/aws.py +830 -0
  6. cloudg/collectors/azure.py +362 -0
  7. cloudg/collectors/base.py +44 -0
  8. cloudg/collectors/gcp.py +170 -0
  9. cloudg/collectors/multi.py +329 -0
  10. cloudg/config.py +261 -0
  11. cloudg/coverage.py +93 -0
  12. cloudg/credentials.py +451 -0
  13. cloudg/graph/__init__.py +6 -0
  14. cloudg/graph/builder.py +336 -0
  15. cloudg/graph/ontology.py +914 -0
  16. cloudg/graph/rag_export.py +533 -0
  17. cloudg/graph/reachability.py +237 -0
  18. cloudg/normaliser.py +390 -0
  19. cloudg/policies/custodian-aws-security.yml +139 -0
  20. cloudg/policies/custodian-azure.yml +95 -0
  21. cloudg/policies/custodian-gcp.yml +87 -0
  22. cloudg/policies/custodian.yml +131 -0
  23. cloudg/region_discovery.py +330 -0
  24. cloudg/registry.py +142 -0
  25. cloudg/renderers/__init__.py +1 -0
  26. cloudg/renderers/html_report.py +430 -0
  27. cloudg/renderers/json_export.py +65 -0
  28. cloudg/renderers/svg.py +689 -0
  29. cloudg/renderers/terraform_export.py +666 -0
  30. cloudg/retry.py +103 -0
  31. cloudg/rules/cis_aws_v3.yaml +148 -0
  32. cloudg/rules/cis_azure_v2.yaml +142 -0
  33. cloudg/rules/cis_gcp_v3.yaml +133 -0
  34. cloudg/rules/frameworks/aws_foundational_security_best_practices_aws.yaml +1286 -0
  35. cloudg/rules/frameworks/cis_5.0_aws.yaml +280 -0
  36. cloudg/rules/frameworks/cis_5.0_azure.yaml +475 -0
  37. cloudg/rules/frameworks/cis_5.0_gcp.yaml +327 -0
  38. cloudg/rules/frameworks/gdpr_aws.yaml +95 -0
  39. cloudg/rules/frameworks/hipaa_aws.yaml +461 -0
  40. cloudg/rules/frameworks/hipaa_azure.yaml +504 -0
  41. cloudg/rules/frameworks/hipaa_gcp.yaml +211 -0
  42. cloudg/rules/frameworks/iso27001_2022_aws.yaml +789 -0
  43. cloudg/rules/frameworks/iso27001_2022_azure.yaml +477 -0
  44. cloudg/rules/frameworks/iso27001_2022_gcp.yaml +240 -0
  45. cloudg/rules/frameworks/mitre_attack_aws.yaml +596 -0
  46. cloudg/rules/frameworks/mitre_attack_azure.yaml +418 -0
  47. cloudg/rules/frameworks/mitre_attack_gcp.yaml +300 -0
  48. cloudg/rules/frameworks/nist_800_53_revision_5_aws.yaml +3234 -0
  49. cloudg/rules/frameworks/nist_csf_2.0_aws.yaml +828 -0
  50. cloudg/rules/frameworks/pci_4.0_aws.yaml +7108 -0
  51. cloudg/rules/frameworks/pci_4.0_azure.yaml +4696 -0
  52. cloudg/rules/frameworks/pci_4.0_gcp.yaml +5405 -0
  53. cloudg/rules/frameworks/soc2_aws.yaml +421 -0
  54. cloudg/rules/frameworks/soc2_azure.yaml +477 -0
  55. cloudg/rules/frameworks/soc2_gcp.yaml +342 -0
  56. cloudg/rules/gdpr.yaml +56 -0
  57. cloudg/rules/hipaa_security_rule.yaml +83 -0
  58. cloudg/rules/iso_27001_2022.yaml +88 -0
  59. cloudg/rules/nist_800_53.yaml +134 -0
  60. cloudg/rules/pci_dss_v4.yaml +108 -0
  61. cloudg/rules/soc2_tsc.yaml +93 -0
  62. cloudg/scanners/__init__.py +1 -0
  63. cloudg/scanners/checkov.py +174 -0
  64. cloudg/scanners/iam_linter.py +200 -0
  65. cloudg/scanners/prowler.py +237 -0
  66. cloudg/scanners/scoutsuite.py +163 -0
  67. cloudg/scanners/trivy.py +339 -0
  68. cloudg/schema/__init__.py +25 -0
  69. cloudg/schema/models.py +260 -0
  70. cloudg/templates/report.html.j2 +828 -0
  71. cloudg-0.3.0.dist-info/METADATA +330 -0
  72. cloudg-0.3.0.dist-info/RECORD +75 -0
  73. cloudg-0.3.0.dist-info/WHEEL +4 -0
  74. cloudg-0.3.0.dist-info/entry_points.txt +14 -0
  75. cloudg-0.3.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,504 @@
1
+ # Generated by scripts/import_prowler_compliance.py — do not edit by hand.
2
+ # Framework: HIPAA (Azure)
3
+ # Data source: Prowler (https://github.com/prowler-cloud/prowler), Apache-2.0.
4
+ framework: HIPAA-AZURE
5
+ version: null
6
+ source: Prowler compliance data (hipaa_azure.json), Apache-2.0, https://github.com/prowler-cloud/prowler
7
+ provider: azure
8
+ controls:
9
+ - id: 164_308_a_1_ii_a
10
+ title: Conduct an accurate and thorough assessment of the potential risks and vulnerabilities
11
+ to the confidentiality, integrity, and availability of electronic protected health
12
+ information held by the covered entity or business associate.
13
+ checks:
14
+ - defender_ensure_defender_for_app_services_is_on
15
+ - defender_ensure_defender_for_arm_is_on
16
+ - defender_ensure_defender_for_containers_is_on
17
+ - defender_ensure_defender_for_cosmosdb_is_on
18
+ - defender_ensure_defender_for_dns_is_on
19
+ - defender_ensure_defender_for_keyvault_is_on
20
+ - defender_ensure_defender_for_server_is_on
21
+ - defender_ensure_defender_for_sql_servers_is_on
22
+ - defender_ensure_defender_for_storage_is_on
23
+ - defender_ensure_mcas_is_enabled
24
+ - policy_ensure_asc_enforcement_enabled
25
+ - id: 164_308_a_1_ii_b
26
+ title: 'Implement security measures sufficient to reduce risks and vulnerabilities
27
+ to a reasonable and appropriate level to comply with 164.306(a): Ensure the confidentiality,
28
+ integrity, and availability of all electronic protected health information the
29
+ covered entity or business associate creates, receiv…'
30
+ checks:
31
+ - aks_clusters_created_with_private_nodes
32
+ - aks_clusters_public_access_disabled
33
+ - cosmosdb_account_firewall_use_selected_networks
34
+ - cosmosdb_account_use_private_endpoints
35
+ - iam_custom_role_has_permissions_to_administer_resource_locks
36
+ - iam_subscription_roles_owner_custom_not_created
37
+ - keyvault_key_rotation_enabled
38
+ - keyvault_private_endpoints
39
+ - keyvault_rbac_enabled
40
+ - network_http_internet_access_restricted
41
+ - network_rdp_internet_access_restricted
42
+ - network_ssh_internet_access_restricted
43
+ - network_udp_internet_access_restricted
44
+ - sqlserver_tde_encrypted_with_cmk
45
+ - sqlserver_tde_encryption_enabled
46
+ - sqlserver_unrestricted_inbound_access
47
+ - storage_blob_public_access_level_is_disabled
48
+ - storage_default_network_access_rule_is_denied
49
+ - storage_ensure_encryption_with_customer_managed_keys
50
+ - storage_ensure_private_endpoints_in_storage_accounts
51
+ - storage_infrastructure_encryption_is_enabled
52
+ - vm_ensure_attached_disks_encrypted_with_cmk
53
+ - vm_ensure_unattached_disks_encrypted_with_cmk
54
+ - id: 164_308_a_1_ii_d
55
+ title: Implement procedures to regularly review records of information system activity,
56
+ such as audit logs, access reports, and security incident tracking reports.
57
+ checks:
58
+ - app_http_logs_enabled
59
+ - appinsights_ensure_is_configured
60
+ - keyvault_logging_enabled
61
+ - monitor_alert_create_policy_assignment
62
+ - monitor_alert_create_update_nsg
63
+ - monitor_alert_create_update_security_solution
64
+ - monitor_alert_delete_nsg
65
+ - monitor_alert_delete_policy_assignment
66
+ - monitor_alert_delete_security_solution
67
+ - monitor_diagnostic_setting_with_appropriate_categories
68
+ - monitor_diagnostic_settings_exists
69
+ - network_flow_log_captured_sent
70
+ - network_flow_log_more_than_90_days
71
+ - network_watcher_enabled
72
+ - sqlserver_auditing_enabled
73
+ - sqlserver_auditing_retention_90_days
74
+ - id: 164_308_a_3_i
75
+ title: Implement policies and procedures to ensure that all members of its workforce
76
+ have appropriate access to electronic protected health information, as provided
77
+ under paragraph (a)(4) of this section, and to prevent those workforce members
78
+ who do not have access under paragraph (a)(4) of this section …
79
+ checks:
80
+ - aisearch_service_not_publicly_accessible
81
+ - app_function_not_publicly_accessible
82
+ - containerregistry_not_publicly_accessible
83
+ - cosmosdb_account_firewall_use_selected_networks
84
+ - iam_role_user_access_admin_restricted
85
+ - iam_subscription_roles_owner_custom_not_created
86
+ - network_http_internet_access_restricted
87
+ - network_rdp_internet_access_restricted
88
+ - network_ssh_internet_access_restricted
89
+ - sqlserver_unrestricted_inbound_access
90
+ - storage_blob_public_access_level_is_disabled
91
+ - storage_default_network_access_rule_is_denied
92
+ - id: 164_308_a_3_ii_a
93
+ title: Implement procedures for the authorization and/or supervision of workforce
94
+ members who work with electronic protected health information or in locations
95
+ where it might be accessed.
96
+ checks:
97
+ - app_http_logs_enabled
98
+ - entra_conditional_access_policy_require_mfa_for_management_api
99
+ - entra_non_privileged_user_has_mfa
100
+ - entra_privileged_user_has_mfa
101
+ - entra_security_defaults_enabled
102
+ - entra_user_with_vm_access_has_mfa
103
+ - keyvault_logging_enabled
104
+ - monitor_diagnostic_setting_with_appropriate_categories
105
+ - monitor_diagnostic_settings_exists
106
+ - network_flow_log_captured_sent
107
+ - sqlserver_auditing_enabled
108
+ - id: 164_308_a_3_ii_b
109
+ title: Implement procedures to determine that the access of a workforce member to
110
+ electronic protected health information is appropriate.
111
+ checks:
112
+ - entra_global_admin_in_less_than_five_users
113
+ - entra_policy_default_users_cannot_create_security_groups
114
+ - entra_policy_ensure_default_user_cannot_create_apps
115
+ - entra_policy_guest_invite_only_for_admin_roles
116
+ - entra_policy_guest_users_access_restrictions
117
+ - iam_custom_role_has_permissions_to_administer_resource_locks
118
+ - iam_role_user_access_admin_restricted
119
+ - iam_subscription_roles_owner_custom_not_created
120
+ - id: 164_308_a_3_ii_c
121
+ title: Implement procedures for terminating access to electronic protected health
122
+ information when the employment of, or other arrangement with, a workforce member
123
+ ends or as required by determinations made as specified in paragraph (a)(3)(ii)(b).
124
+ checks:
125
+ - entra_user_with_recent_sign_in
126
+ - keyvault_key_expiration_set_in_non_rbac
127
+ - keyvault_key_rotation_enabled
128
+ - keyvault_non_rbac_secret_expiration_set
129
+ - keyvault_rbac_key_expiration_set
130
+ - keyvault_rbac_secret_expiration_set
131
+ - storage_key_rotation_90_days
132
+ - id: 164_308_a_4_i
133
+ title: Implement policies and procedures for authorizing access to electronic protected
134
+ health information that are consistent with the applicable requirements of subpart
135
+ E of this part.
136
+ checks:
137
+ - entra_global_admin_in_less_than_five_users
138
+ - entra_policy_restricts_user_consent_for_apps
139
+ - entra_policy_user_consent_for_verified_apps
140
+ - iam_custom_role_has_permissions_to_administer_resource_locks
141
+ - iam_role_user_access_admin_restricted
142
+ - iam_subscription_roles_owner_custom_not_created
143
+ - keyvault_rbac_enabled
144
+ - id: 164_308_a_4_ii_a
145
+ title: If a health care clearinghouse is part of a larger organization, the clearinghouse
146
+ must implement policies and procedures that protect the electronic protected health
147
+ information of the clearinghouse from unauthorized access by the larger organization.
148
+ checks:
149
+ - cosmosdb_account_use_private_endpoints
150
+ - databricks_workspace_cmk_encryption_enabled
151
+ - databricks_workspace_vnet_injection_enabled
152
+ - keyvault_key_rotation_enabled
153
+ - keyvault_logging_enabled
154
+ - keyvault_private_endpoints
155
+ - sqlserver_auditing_enabled
156
+ - sqlserver_tde_encrypted_with_cmk
157
+ - sqlserver_tde_encryption_enabled
158
+ - storage_default_network_access_rule_is_denied
159
+ - storage_ensure_encryption_with_customer_managed_keys
160
+ - storage_ensure_private_endpoints_in_storage_accounts
161
+ - storage_infrastructure_encryption_is_enabled
162
+ - vm_backup_enabled
163
+ - vm_ensure_attached_disks_encrypted_with_cmk
164
+ - id: 164_308_a_4_ii_b
165
+ title: Implement policies and procedures for granting access to electronic protected
166
+ health information, as one illustrative example, through access to a workstation,
167
+ transaction, program, process, or other mechanism.
168
+ checks:
169
+ - aks_cluster_rbac_enabled
170
+ - cosmosdb_account_use_aad_and_rbac
171
+ - entra_global_admin_in_less_than_five_users
172
+ - iam_custom_role_has_permissions_to_administer_resource_locks
173
+ - iam_role_user_access_admin_restricted
174
+ - iam_subscription_roles_owner_custom_not_created
175
+ - keyvault_rbac_enabled
176
+ - sqlserver_azuread_administrator_enabled
177
+ - id: 164_308_a_4_ii_c
178
+ title: Implement policies and procedures that, based upon the covered entity's or
179
+ the business associate's access authorization policies, establish, document, review,
180
+ and modify a user's right of access to a workstation, transaction, program, or
181
+ process.
182
+ checks:
183
+ - entra_global_admin_in_less_than_five_users
184
+ - entra_policy_default_users_cannot_create_security_groups
185
+ - entra_policy_ensure_default_user_cannot_create_apps
186
+ - iam_role_user_access_admin_restricted
187
+ - iam_subscription_roles_owner_custom_not_created
188
+ - keyvault_key_rotation_enabled
189
+ - keyvault_rbac_key_expiration_set
190
+ - keyvault_rbac_secret_expiration_set
191
+ - storage_key_rotation_90_days
192
+ - id: 164_308_a_5_ii_b
193
+ title: Procedures for guarding against, detecting, and reporting malicious software.
194
+ checks:
195
+ - defender_assessments_vm_endpoint_protection_installed
196
+ - defender_container_images_resolved_vulnerabilities
197
+ - defender_container_images_scan_enabled
198
+ - defender_ensure_defender_for_server_is_on
199
+ - defender_ensure_system_updates_are_applied
200
+ - defender_ensure_wdatp_is_enabled
201
+ - id: 164_308_a_5_ii_c
202
+ title: Procedures for monitoring log-in attempts and reporting discrepancies.
203
+ checks:
204
+ - defender_ensure_defender_for_server_is_on
205
+ - defender_ensure_mcas_is_enabled
206
+ - entra_security_defaults_enabled
207
+ - keyvault_logging_enabled
208
+ - monitor_diagnostic_setting_with_appropriate_categories
209
+ - sqlserver_auditing_enabled
210
+ - id: 164_308_a_5_ii_d
211
+ title: Procedures for creating, changing, and safeguarding passwords.
212
+ checks:
213
+ - entra_non_privileged_user_has_mfa
214
+ - entra_privileged_user_has_mfa
215
+ - entra_security_defaults_enabled
216
+ - keyvault_key_rotation_enabled
217
+ - keyvault_rbac_key_expiration_set
218
+ - keyvault_rbac_secret_expiration_set
219
+ - storage_key_rotation_90_days
220
+ - id: 164_308_a_6_i
221
+ title: Implement policies and procedures to address security incidents.
222
+ checks:
223
+ - defender_additional_email_configured_with_a_security_contact
224
+ - defender_attack_path_notifications_properly_configured
225
+ - defender_ensure_defender_for_server_is_on
226
+ - defender_ensure_notify_alerts_severity_is_high
227
+ - defender_ensure_notify_emails_to_owners
228
+ - monitor_alert_create_update_nsg
229
+ - monitor_alert_create_update_security_solution
230
+ - monitor_alert_delete_nsg
231
+ - monitor_alert_delete_security_solution
232
+ - monitor_alert_service_health_exists
233
+ - id: 164_308_a_6_ii
234
+ title: Identify and respond to suspected or known security incidents; mitigate,
235
+ to the extent practicable, harmful effects of security incidents that are known
236
+ to the covered entity or business associate; and document security incidents and
237
+ their outcomes.
238
+ checks:
239
+ - app_http_logs_enabled
240
+ - defender_additional_email_configured_with_a_security_contact
241
+ - defender_ensure_defender_for_server_is_on
242
+ - defender_ensure_notify_alerts_severity_is_high
243
+ - defender_ensure_notify_emails_to_owners
244
+ - keyvault_logging_enabled
245
+ - monitor_alert_create_update_nsg
246
+ - monitor_alert_delete_nsg
247
+ - monitor_diagnostic_setting_with_appropriate_categories
248
+ - monitor_diagnostic_settings_exists
249
+ - network_flow_log_captured_sent
250
+ - sqlserver_auditing_enabled
251
+ - id: 164_308_a_7_i
252
+ title: Establish (and implement as needed) policies and procedures for responding
253
+ to an emergency or other occurrence (for example, fire, vandalism, system failure,
254
+ and natural disaster) that damages systems that contain electronic protected health
255
+ information.
256
+ checks:
257
+ - keyvault_recoverable
258
+ - sqlserver_auditing_retention_90_days
259
+ - storage_blob_versioning_is_enabled
260
+ - storage_ensure_file_shares_soft_delete_is_enabled
261
+ - storage_ensure_soft_delete_is_enabled
262
+ - storage_geo_redundant_enabled
263
+ - vm_backup_enabled
264
+ - vm_sufficient_daily_backup_retention_period
265
+ - id: 164_308_a_7_ii_a
266
+ title: Establish and implement procedures to create and maintain retrievable exact
267
+ copies of electronic protected health information.
268
+ checks:
269
+ - cosmosdb_account_backup_policy_continuous
270
+ - keyvault_recoverable
271
+ - mysql_flexible_server_geo_redundant_backup_enabled
272
+ - postgresql_flexible_server_geo_redundant_backup_enabled
273
+ - postgresql_flexible_server_log_retention_days_greater_3
274
+ - recovery_vault_backup_policy_retention_adequate
275
+ - sqlserver_auditing_retention_90_days
276
+ - storage_blob_versioning_is_enabled
277
+ - storage_ensure_file_shares_soft_delete_is_enabled
278
+ - storage_ensure_soft_delete_is_enabled
279
+ - storage_geo_redundant_enabled
280
+ - vm_backup_enabled
281
+ - vm_sufficient_daily_backup_retention_period
282
+ - id: 164_308_a_7_ii_b
283
+ title: Establish (and implement as needed) procedures to restore any loss of data.
284
+ checks:
285
+ - keyvault_recoverable
286
+ - storage_blob_versioning_is_enabled
287
+ - storage_ensure_soft_delete_is_enabled
288
+ - storage_geo_redundant_enabled
289
+ - vm_backup_enabled
290
+ - vm_sufficient_daily_backup_retention_period
291
+ - id: 164_308_a_7_ii_c
292
+ title: Establish (and implement as needed) procedures to enable continuation of
293
+ critical business processes for protection of the security of electronic protected
294
+ health information while operating in emergency mode.
295
+ checks:
296
+ - keyvault_recoverable
297
+ - storage_blob_versioning_is_enabled
298
+ - storage_ensure_soft_delete_is_enabled
299
+ - storage_geo_redundant_enabled
300
+ - vm_backup_enabled
301
+ - vm_sufficient_daily_backup_retention_period
302
+ - id: 164_308_a_8
303
+ title: Perform a periodic technical and nontechnical evaluation, based initially
304
+ upon the standards implemented under this rule and subsequently, in response to
305
+ environmental or operational changes affecting the security of electronic protected
306
+ health information, that establishes the extent to which an e…
307
+ checks:
308
+ - defender_ensure_defender_for_server_is_on
309
+ - defender_ensure_mcas_is_enabled
310
+ - policy_ensure_asc_enforcement_enabled
311
+ - sqlserver_va_emails_notifications_admins_enabled
312
+ - sqlserver_va_periodic_recurring_scans_enabled
313
+ - sqlserver_va_scan_reports_configured
314
+ - sqlserver_vulnerability_assessment_enabled
315
+ - id: 164_310_a_1
316
+ title: Implement policies and procedures to limit physical access to its electronic
317
+ information systems and the facility or facilities in which they are housed, while
318
+ ensuring that properly authorized access is allowed.
319
+ checks:
320
+ - aks_clusters_created_with_private_nodes
321
+ - aks_clusters_public_access_disabled
322
+ - network_bastion_host_exists
323
+ - network_http_internet_access_restricted
324
+ - network_rdp_internet_access_restricted
325
+ - network_ssh_internet_access_restricted
326
+ - vm_jit_access_enabled
327
+ - id: 164_310_d_1
328
+ title: Implement policies and procedures that govern the receipt and removal of
329
+ hardware and electronic media that contain electronic protected health information
330
+ into and out of a facility, and the movement of these items within the facility.
331
+ checks:
332
+ - databricks_workspace_cmk_encryption_enabled
333
+ - sqlserver_tde_encryption_enabled
334
+ - storage_ensure_encryption_with_customer_managed_keys
335
+ - storage_infrastructure_encryption_is_enabled
336
+ - vm_ensure_attached_disks_encrypted_with_cmk
337
+ - vm_ensure_unattached_disks_encrypted_with_cmk
338
+ - vm_ensure_using_managed_disks
339
+ - id: 164_312_a_1
340
+ title: Implement technical policies and procedures for electronic information systems
341
+ that maintain electronic protected health information to allow access only to
342
+ those persons or software programs that have been granted access rights as specified
343
+ in 164.308(a)(4).
344
+ checks:
345
+ - aisearch_service_not_publicly_accessible
346
+ - aks_clusters_public_access_disabled
347
+ - app_function_not_publicly_accessible
348
+ - containerregistry_not_publicly_accessible
349
+ - cosmosdb_account_firewall_use_selected_networks
350
+ - cosmosdb_account_use_private_endpoints
351
+ - entra_privileged_user_has_mfa
352
+ - iam_role_user_access_admin_restricted
353
+ - iam_subscription_roles_owner_custom_not_created
354
+ - network_http_internet_access_restricted
355
+ - network_rdp_internet_access_restricted
356
+ - network_ssh_internet_access_restricted
357
+ - sqlserver_unrestricted_inbound_access
358
+ - storage_blob_public_access_level_is_disabled
359
+ - storage_default_network_access_rule_is_denied
360
+ - storage_ensure_private_endpoints_in_storage_accounts
361
+ - id: 164_312_a_2_i
362
+ title: Assign a unique name and/or number for identifying and tracking user identity.
363
+ checks:
364
+ - cosmosdb_account_use_aad_and_rbac
365
+ - entra_security_defaults_enabled
366
+ - postgresql_flexible_server_entra_id_authentication_enabled
367
+ - sqlserver_auditing_enabled
368
+ - sqlserver_azuread_administrator_enabled
369
+ - storage_default_to_entra_authorization_enabled
370
+ - id: 164_312_a_2_ii
371
+ title: Establish (and implement as needed) procedures for obtaining necessary electronic
372
+ protected health information during an emergency.
373
+ checks:
374
+ - keyvault_recoverable
375
+ - storage_blob_versioning_is_enabled
376
+ - storage_ensure_soft_delete_is_enabled
377
+ - storage_geo_redundant_enabled
378
+ - vm_backup_enabled
379
+ - vm_sufficient_daily_backup_retention_period
380
+ - id: 164_312_a_2_iv
381
+ title: Implement a mechanism to encrypt and decrypt electronic protected health
382
+ information.
383
+ checks:
384
+ - databricks_workspace_cmk_encryption_enabled
385
+ - keyvault_key_rotation_enabled
386
+ - monitor_storage_account_with_activity_logs_cmk_encrypted
387
+ - sqlserver_tde_encrypted_with_cmk
388
+ - sqlserver_tde_encryption_enabled
389
+ - storage_ensure_encryption_with_customer_managed_keys
390
+ - storage_infrastructure_encryption_is_enabled
391
+ - storage_secure_transfer_required_is_enabled
392
+ - vm_ensure_attached_disks_encrypted_with_cmk
393
+ - vm_ensure_unattached_disks_encrypted_with_cmk
394
+ - id: 164_312_b
395
+ title: Implement hardware, software, and/or procedural mechanisms that record and
396
+ examine activity in information systems that contain or use electronic protected
397
+ health information.
398
+ checks:
399
+ - app_http_logs_enabled
400
+ - appinsights_ensure_is_configured
401
+ - keyvault_logging_enabled
402
+ - monitor_alert_create_policy_assignment
403
+ - monitor_alert_create_update_nsg
404
+ - monitor_alert_create_update_sqlserver_fr
405
+ - monitor_alert_delete_nsg
406
+ - monitor_alert_delete_policy_assignment
407
+ - monitor_alert_delete_sqlserver_fr
408
+ - monitor_diagnostic_setting_with_appropriate_categories
409
+ - monitor_diagnostic_settings_exists
410
+ - mysql_flexible_server_audit_log_connection_activated
411
+ - mysql_flexible_server_audit_log_enabled
412
+ - network_flow_log_captured_sent
413
+ - network_flow_log_more_than_90_days
414
+ - network_watcher_enabled
415
+ - postgresql_flexible_server_log_checkpoints_on
416
+ - postgresql_flexible_server_log_connections_on
417
+ - postgresql_flexible_server_log_disconnections_on
418
+ - sqlserver_auditing_enabled
419
+ - sqlserver_auditing_retention_90_days
420
+ - id: 164_312_c_1
421
+ title: Implement policies and procedures to protect electronic protected health
422
+ information from improper alteration or destruction.
423
+ checks:
424
+ - keyvault_key_rotation_enabled
425
+ - keyvault_recoverable
426
+ - sqlserver_tde_encryption_enabled
427
+ - storage_blob_versioning_is_enabled
428
+ - storage_ensure_encryption_with_customer_managed_keys
429
+ - storage_secure_transfer_required_is_enabled
430
+ - vm_ensure_attached_disks_encrypted_with_cmk
431
+ - id: 164_312_c_2
432
+ title: Implement electronic mechanisms to corroborate that electronic protected
433
+ health information has not been altered or destroyed in an unauthorized manner.
434
+ checks:
435
+ - keyvault_key_rotation_enabled
436
+ - keyvault_logging_enabled
437
+ - network_flow_log_captured_sent
438
+ - sqlserver_auditing_enabled
439
+ - storage_blob_versioning_is_enabled
440
+ - storage_ensure_encryption_with_customer_managed_keys
441
+ - storage_secure_transfer_required_is_enabled
442
+ - id: 164_312_d
443
+ title: Implement procedures to verify that a person or entity seeking access to
444
+ electronic protected health information is the one claimed.
445
+ checks:
446
+ - entra_conditional_access_policy_require_mfa_for_management_api
447
+ - entra_non_privileged_user_has_mfa
448
+ - entra_privileged_user_has_mfa
449
+ - entra_security_defaults_enabled
450
+ - entra_trusted_named_locations_exists
451
+ - entra_user_with_vm_access_has_mfa
452
+ - postgresql_flexible_server_entra_id_authentication_enabled
453
+ - sqlserver_azuread_administrator_enabled
454
+ - id: 164_312_e_1
455
+ title: Implement technical security measures to guard against unauthorized access
456
+ to electronic protected health information that is being transmitted over an electronic
457
+ communications network.
458
+ checks:
459
+ - app_ensure_http_is_redirected_to_https
460
+ - app_ensure_using_http20
461
+ - app_ftp_deployment_disabled
462
+ - app_function_ftps_deployment_disabled
463
+ - app_minimum_tls_version_12
464
+ - mysql_flexible_server_minimum_tls_version_12
465
+ - mysql_flexible_server_ssl_connection_enabled
466
+ - network_rdp_internet_access_restricted
467
+ - network_ssh_internet_access_restricted
468
+ - postgresql_flexible_server_enforce_ssl_enabled
469
+ - sqlserver_recommended_minimal_tls_version
470
+ - storage_ensure_minimum_tls_version_12
471
+ - storage_secure_transfer_required_is_enabled
472
+ - id: 164_312_e_2_i
473
+ title: Implement security measures to ensure that electronically transmitted electronic
474
+ protected health information is not improperly modified without detection until
475
+ disposed of.
476
+ checks:
477
+ - defender_ensure_defender_for_server_is_on
478
+ - keyvault_logging_enabled
479
+ - monitor_diagnostic_setting_with_appropriate_categories
480
+ - network_flow_log_captured_sent
481
+ - sqlserver_auditing_enabled
482
+ - storage_blob_versioning_is_enabled
483
+ - storage_ensure_minimum_tls_version_12
484
+ - storage_secure_transfer_required_is_enabled
485
+ - id: 164_312_e_2_ii
486
+ title: Implement a mechanism to encrypt electronic protected health information
487
+ whenever deemed appropriate.
488
+ checks:
489
+ - app_ensure_http_is_redirected_to_https
490
+ - app_minimum_tls_version_12
491
+ - databricks_workspace_cmk_encryption_enabled
492
+ - keyvault_key_rotation_enabled
493
+ - mysql_flexible_server_minimum_tls_version_12
494
+ - mysql_flexible_server_ssl_connection_enabled
495
+ - postgresql_flexible_server_enforce_ssl_enabled
496
+ - sqlserver_recommended_minimal_tls_version
497
+ - sqlserver_tde_encrypted_with_cmk
498
+ - sqlserver_tde_encryption_enabled
499
+ - storage_ensure_encryption_with_customer_managed_keys
500
+ - storage_ensure_minimum_tls_version_12
501
+ - storage_infrastructure_encryption_is_enabled
502
+ - storage_secure_transfer_required_is_enabled
503
+ - vm_ensure_attached_disks_encrypted_with_cmk
504
+ - vm_ensure_unattached_disks_encrypted_with_cmk