def get_cmdb_detail_apps(cmdb_detail):
    """
    Iterate over CMDB details from response.
    This method is used in "risksense-get-apps" command.

    :param cmdb_detail: CMDB details from response
    :return: List of CMDB elements which includes required fields from resp.
    """
    return {
        'ManufacturedBy': cmdb_detail.get('manufacturedBy', ''),
        'Model': cmdb_detail.get('model', ''),
        'MacAddress': cmdb_detail.get('macAddress', ''),
        'Location': cmdb_detail.get('location', ''),
        'ManagedBy': cmdb_detail.get('managedBy', ''),
        'OwnedBy': cmdb_detail.get('ownedBy', ''),
        'SupportedBy': cmdb_detail.get('supportedBy', ''),
        'SupportGroup': cmdb_detail.get('supportGroup', ''),
        'SysID': cmdb_detail.get('sysId', ''),
        'OperatingSystem': cmdb_detail.get('operatingSystem', ''),
        'LastScanDate': cmdb_detail.get('lastScanDate', ''),
        'FerpaComplianceAsset': cmdb_detail.get('ferpaComplianceAsset', ''),
        'HipaaComplianceAsset': cmdb_detail.get('hipaaComplianceAsset', ''),
        'PciComplianceAsset': cmdb_detail.get('pciComplianceAsset', '')
    }