def data_disks_are_encrypted_7_3(virtual_machines):
    """
    TODO rather than making a second call here, enrich
    the data during the get_data phase if required.

    Then add the managed disk section commented out section.
    TODO: test this works for encrypted data disks.
    """
    items_flagged_list = []
    items_checked = 0
    for vm in virtual_machines:
        if not vm['storageProfile']['dataDisksEncrypted']:
            for disk in vm['storageProfile']['dataDisks']:
                if disk['managedDisk']:
                    managed = 'True'
                else:
                    managed = 'False'
                items_flagged_list.append((vm['resourceGroup'], vm['name'],
                    disk['name'], managed))
    stats = {'items_flagged': len(items_flagged_list), 'items_checked': len
        (virtual_machines)}
    metadata = {'finding_name': 'data_disks_are_encrypted', 'negative_name':
        '', 'columns': ['Resource Group', 'Name', 'Disk Name', 'Managed']}
    return {'items': items_flagged_list, 'stats': stats, 'metadata': metadata}
    stats = {'items_flagged': len(items_flagged_list), 'items_checked': len
        (virtual_machines)}
    metadata = {'finding_name': 'data_disks_are_encrypted', 'negative_name':
        '', 'columns': ['Resource Group', 'Name', 'Disk Name']}
    return {'items': items_flagged_list, 'stats': stats, 'metadata': metadata}
