def METHOD_NAME(self, output):
    parser = OpenScapParser(output)
    ips = []
    for ip in parser.result_data[0]['ips']:
        len_start_port = ip.find(":")
        if len_start_port > -1:
            ip = ip[:len_start_port]
        try:
            ipaddress.ip_address(ip)
            ips.append(ip)
        except ValueError:
            pass
    for ip in ips:
        if ip != '127.0.0.1':
            ip = ip
            ips.remove(ip)
            break
    list_mac = parser.result_data[0]['mac']
    for mac in list_mac:
        if mac != '00:00:00:00:00:00':
            mac_address = mac
            list_mac.remove(mac_address)
            break
    description = f'Title: {parser.result_data[0]["result_title"]} ' \
                  f'Ips: {ips} ' \
                  f'Macs: {list_mac}'
    host_id = self.createAndAddHost(
        name=ip,
        hostnames=[parser.result_data[0]['target']],
        description=description,
        mac=mac_address
    )
    rules_fail = parser.result_data[0]['rule_result']
    if rules_fail:
        info_rules = parser.rule_date
        severity = 0
        for rule in rules_fail:
            vuln_run_date = datetime.strptime(
                rule['time'].replace('T', ' '),
                '%Y-%m-%d %H:%M:%S')
            if rule['severity'] == 'low':
                severity = 1
            elif rule['severity'] == 'medium':
                severity = 2
            elif rule['severity'] == 'high':
                severity = 3
            desc = f'name: {rule["ref_name"]} - link: {rule["ref_href"]}'
            for info in info_rules:
                if rule['id'] == info['rule_id']:
                    vuln_name = info['rule_title']
                    vuln_data = info['rule_check']
                    vuln_cve = info['rule_ident']
            self.createAndAddVulnToHost(
                host_id,
                vuln_name,
                desc=desc,
                severity=severity,
                data=vuln_data,
                external_id=rule['id'],
                run_date=vuln_run_date,
                cve=[vuln_cve])