diff --git a/boefjes/boefjes/plugins/kat_dns_version/main.py b/boefjes/boefjes/plugins/kat_dns_version/main.py index 40631e61f69..de1a81f37bc 100644 --- a/boefjes/boefjes/plugins/kat_dns_version/main.py +++ b/boefjes/boefjes/plugins/kat_dns_version/main.py @@ -14,7 +14,7 @@ def run(boefje_meta: BoefjeMeta) -> list[tuple[set, str | bytes]]: input_ = boefje_meta.arguments["input"] # input is IPService ip_port = input_["ip_port"] if input_["service"]["name"] != "domain": - return [({"boefje/error"}, "Not a DNS service")] + return [({"error/boefje"}, "Not a DNS service")] ip = ip_port["address"]["address"] port = int(ip_port["port"]) diff --git a/boefjes/boefjes/plugins/kat_service_banner/main.py b/boefjes/boefjes/plugins/kat_service_banner/main.py index fdc791290c6..5659de9b2a0 100644 --- a/boefjes/boefjes/plugins/kat_service_banner/main.py +++ b/boefjes/boefjes/plugins/kat_service_banner/main.py @@ -17,7 +17,7 @@ def get_sock(ip, port, timeout): def get_banner(sock): if not sock: - return [({"boefje/error"}, "Unable to connect to the service")] + return [({"error/boefje"}, "Unable to connect to the service")] try: sock.settimeout(TIMEOUT) banner = sock.recv(1024) @@ -28,7 +28,7 @@ def get_banner(sock): sock.close() return [({"openkat/service-banner"}, banner)] except Exception as e: - return [({"boefje/error"}, f"Unable to get banner. {str(e)}")] + return [({"error/boefje"}, f"Unable to get banner. {str(e)}")] def run(boefje_meta: BoefjeMeta) -> list[tuple[set, str | bytes]]: diff --git a/boefjes/tests/examples/raw/leakix-example.com-output.txt b/boefjes/tests/examples/raw/leakix-example.com-output.txt index 72032235123..52237e3dbf3 100644 --- a/boefjes/tests/examples/raw/leakix-example.com-output.txt +++ b/boefjes/tests/examples/raw/leakix-example.com-output.txt @@ -1 +1 @@ -[AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|14061', number='14061', name='DIGITALOCEAN-ASN'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.128.108.228', address=IPv4Address('178.128.108.228'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|178.128.108.228|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|14061'), parent=None, start_ip=Reference('IPAddressV4|internet|178.128.108.228'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|178.128.108.228|tcp|80', address=Reference('IPAddressV4|internet|178.128.108.228'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.128.108.228', address=IPv4Address('178.128.108.228'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|LiteSpeed||', name='LiteSpeed', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|178.128.108.228|Software|LiteSpeed||', ooi=Reference('IPAddressV4|internet|178.128.108.228'), software=Reference('Software|LiteSpeed||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|LiteSpeed|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|LiteSpeed||'), proof=None, description='Software = "LiteSpeed".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|12703', number='12703', name='Pulsant (Scotland) Ltd'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|5.153.73.160', address=IPv4Address('5.153.73.160'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|5.153.73.160|19', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|12703'), parent=None, start_ip=Reference('IPAddressV4|internet|5.153.73.160'), mask=19), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|5.153.73.160|tcp|80', address=Reference('IPAddressV4|internet|5.153.73.160'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|5.153.73.160', address=IPv4Address('5.153.73.160'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|5.153.73.160|Software|Apache||', ooi=Reference('IPAddressV4|internet|5.153.73.160'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|40021', number='40021', name='CONTABO'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|144.126.159.199', address=IPv4Address('144.126.159.199'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|144.126.159.199|19', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|40021'), parent=None, start_ip=Reference('IPAddressV4|internet|144.126.159.199'), mask=19), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|144.126.159.199|tcp|80', address=Reference('IPAddressV4|internet|144.126.159.199'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|144.126.159.199', address=IPv4Address('144.126.159.199'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Kibana||', name='Kibana', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|144.126.159.199|Software|Kibana||', ooi=Reference('IPAddressV4|internet|144.126.159.199'), software=Reference('Software|Kibana||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-HIGH', id='KAT-LEAKIX-HIGH', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Kibana|||KAT-LEAKIX-HIGH', finding_type=Reference('KATFindingType|KAT-LEAKIX-HIGH'), ooi=Reference('Software|Kibana||'), proof=None, description='Software = "Kibana".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|24940', number='24940', name='Hetzner Online GmbH'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.63.132.10', address=IPv4Address('178.63.132.10'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|178.63.132.10|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|24940'), parent=None, start_ip=Reference('IPAddressV4|internet|178.63.132.10'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|178.63.132.10|tcp|443', address=Reference('IPAddressV4|internet|178.63.132.10'), protocol=, port=443, state=), Hostname(object_type='Hostname', scan_profile=None, user_id=None, primary_key='Hostname|internet|praktikant.dimata.it', network=Reference('Network|internet'), name='praktikant.dimata.it', dns_zone=None, registered_domain=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx||', name='nginx', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|Hostname|internet|praktikant.dimata.it|Software|nginx||', ooi=Reference('Hostname|internet|praktikant.dimata.it'), software=Reference('Software|nginx||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx||'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|14061', number='14061', name='DIGITALOCEAN-ASN'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|104.131.213.169', address=IPv4Address('104.131.213.169'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|104.131.213.169|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|14061'), parent=None, start_ip=Reference('IPAddressV4|internet|104.131.213.169'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|104.131.213.169|tcp|80', address=Reference('IPAddressV4|internet|104.131.213.169'), protocol=, port=80, state=), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.14.2|', name='nginx', version='1.14.2', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPPort|internet|104.131.213.169|tcp|80|Software|nginx|1.14.2|', ooi=Reference('IPPort|internet|104.131.213.169|tcp|80'), software=Reference('Software|nginx|1.14.2|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.14.2||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.14.2|'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|27843', number='27843', name='WIN EMPRESAS S.A.C.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|45.236.45.11', address=IPv4Address('45.236.45.11'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|45.236.45.11|22', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|27843'), parent=None, start_ip=Reference('IPAddressV4|internet|45.236.45.11'), mask=22), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|45.236.45.11|tcp|443', address=Reference('IPAddressV4|internet|45.236.45.11'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|45.236.45.11', address=IPv4Address('45.236.45.11'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.18.0|', name='nginx', version='1.18.0', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|45.236.45.11|Software|nginx|1.18.0|', ooi=Reference('IPAddressV4|internet|45.236.45.11'), software=Reference('Software|nginx|1.18.0|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.18.0||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.18.0|'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|43391', number='43391', name='Netdirekt A.S.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|93.187.201.46', address=IPv4Address('93.187.201.46'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|93.187.201.46|21', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|43391'), parent=None, start_ip=Reference('IPAddressV4|internet|93.187.201.46'), mask=21), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|93.187.201.46|tcp|80', address=Reference('IPAddressV4|internet|93.187.201.46'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|93.187.201.46', address=IPv4Address('93.187.201.46'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx||', name='nginx', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|93.187.201.46|Software|nginx||', ooi=Reference('IPAddressV4|internet|93.187.201.46'), software=Reference('Software|nginx||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx||'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|63949', number='63949', name='Akamai Connected Cloud'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.79.147.40', address=IPv4Address('178.79.147.40'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|178.79.147.40|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|63949'), parent=None, start_ip=Reference('IPAddressV4|internet|178.79.147.40'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|178.79.147.40|tcp|443', address=Reference('IPAddressV4|internet|178.79.147.40'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.79.147.40', address=IPv4Address('178.79.147.40'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Elasticsearch|7.17.9|', name='Elasticsearch', version='7.17.9', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|178.79.147.40|Software|Elasticsearch|7.17.9|', ooi=Reference('IPAddressV4|internet|178.79.147.40'), software=Reference('Software|Elasticsearch|7.17.9|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Elasticsearch|7.17.9||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Elasticsearch|7.17.9|'), proof=None, description='Software = "Elasticsearch".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|45102', number='45102', name='Alibaba US Technology Co., Ltd.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|8.219.94.19', address=IPv4Address('8.219.94.19'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|8.219.94.19|15', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|45102'), parent=None, start_ip=Reference('IPAddressV4|internet|8.219.94.19'), mask=15), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|8.219.94.19|tcp|443', address=Reference('IPAddressV4|internet|8.219.94.19'), protocol=, port=443, state=), Hostname(object_type='Hostname', scan_profile=None, user_id=None, primary_key='Hostname|internet|chat.getdeepin.org', network=Reference('Network|internet'), name='chat.getdeepin.org', dns_zone=None, registered_domain=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.23.3|', name='nginx', version='1.23.3', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|Hostname|internet|chat.getdeepin.org|Software|nginx|1.23.3|', ooi=Reference('Hostname|internet|chat.getdeepin.org'), software=Reference('Software|nginx|1.23.3|')), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|25400', number='25400', name='Telia Norge AS'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|93.124.249.166', address=IPv4Address('93.124.249.166'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|93.124.249.166|17', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|25400'), parent=None, start_ip=Reference('IPAddressV4|internet|93.124.249.166'), mask=17), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|93.124.249.166|tcp|443', address=Reference('IPAddressV4|internet|93.124.249.166'), protocol=, port=443, state=), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache|2.4.6|', name='Apache', version='2.4.6', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPPort|internet|93.124.249.166|tcp|443|Software|Apache|2.4.6|', ooi=Reference('IPPort|internet|93.124.249.166|tcp|443'), software=Reference('Software|Apache|2.4.6|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-LOW', id='KAT-LEAKIX-LOW', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|2.4.6||KAT-LEAKIX-LOW', finding_type=Reference('KATFindingType|KAT-LEAKIX-LOW'), ooi=Reference('Software|Apache|2.4.6|'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|16276', number='16276', name='OVH SAS'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|213.251.158.214', address=IPv4Address('213.251.158.214'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|213.251.158.214|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|16276'), parent=None, start_ip=Reference('IPAddressV4|internet|213.251.158.214'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|213.251.158.214|tcp|80', address=Reference('IPAddressV4|internet|213.251.158.214'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|213.251.158.214', address=IPv4Address('213.251.158.214'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|213.251.158.214|Software|Apache||', ooi=Reference('IPAddressV4|internet|213.251.158.214'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|136052', number='136052', name='PT Cloud Hosting Indonesia'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|103.31.39.64', address=IPv4Address('103.31.39.64'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|103.31.39.64|23', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|136052'), parent=None, start_ip=Reference('IPAddressV4|internet|103.31.39.64'), mask=23), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|103.31.39.64|tcp|443', address=Reference('IPAddressV4|internet|103.31.39.64'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|103.31.39.64', address=IPv4Address('103.31.39.64'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.25.3|', name='nginx', version='1.25.3', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|103.31.39.64|Software|nginx|1.25.3|', ooi=Reference('IPAddressV4|internet|103.31.39.64'), software=Reference('Software|nginx|1.25.3|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.25.3||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.25.3|'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|63199', number='63199', name='CDSC-AS1'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|148.153.126.87', address=IPv4Address('148.153.126.87'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|148.153.126.87|20', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|63199'), parent=None, start_ip=Reference('IPAddressV4|internet|148.153.126.87'), mask=20), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|148.153.126.87|tcp|443', address=Reference('IPAddressV4|internet|148.153.126.87'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|148.153.126.87', address=IPv4Address('148.153.126.87'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|VIP|vipshop|', name='VIP', version='vipshop', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|148.153.126.87|Software|VIP|vipshop|', ooi=Reference('IPAddressV4|internet|148.153.126.87'), software=Reference('Software|VIP|vipshop|')), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|7922', number='7922', name='COMCAST-7922'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|104.171.169.158', address=IPv4Address('104.171.169.158'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|104.171.169.158|21', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|7922'), parent=None, start_ip=Reference('IPAddressV4|internet|104.171.169.158'), mask=21), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|104.171.169.158|tcp|6556', address=Reference('IPAddressV4|internet|104.171.169.158'), protocol=, port=6556, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|104.171.169.158', address=IPv4Address('104.171.169.158'), network=Reference('Network|internet'), netblock=None), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-HIGH', id='KAT-LEAKIX-HIGH', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|IPAddressV4|internet|104.171.169.158|KAT-LEAKIX-HIGH', finding_type=Reference('KATFindingType|KAT-LEAKIX-HIGH'), ooi=Reference('IPAddressV4|internet|104.171.169.158'), proof=None, description='Plugin = "IPAddressV4|internet|104.171.169.158".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|60130', number='60130', name='Nexthop AS'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|185.56.187.42', address=IPv4Address('185.56.187.42'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|185.56.187.42|22', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|60130'), parent=None, start_ip=Reference('IPAddressV4|internet|185.56.187.42'), mask=22), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|185.56.187.42|tcp|443', address=Reference('IPAddressV4|internet|185.56.187.42'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|185.56.187.42', address=IPv4Address('185.56.187.42'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|185.56.187.42|Software|Apache||', ooi=Reference('IPAddressV4|internet|185.56.187.42'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|4766', number='4766', name='Korea Telecom'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|183.111.5.204', address=IPv4Address('183.111.5.204'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|183.111.5.204|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|4766'), parent=None, start_ip=Reference('IPAddressV4|internet|183.111.5.204'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|183.111.5.204|tcp|80', address=Reference('IPAddressV4|internet|183.111.5.204'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|183.111.5.204', address=IPv4Address('183.111.5.204'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|183.111.5.204|Software|Apache||', ooi=Reference('IPAddressV4|internet|183.111.5.204'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|8849', number='8849', name='Melbikomas UAB'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|162.247.152.131', address=IPv4Address('162.247.152.131'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|162.247.152.131|22', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|8849'), parent=None, start_ip=Reference('IPAddressV4|internet|162.247.152.131'), mask=22), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|162.247.152.131|tcp|443', address=Reference('IPAddressV4|internet|162.247.152.131'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|162.247.152.131', address=IPv4Address('162.247.152.131'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|162.247.152.131|Software|Apache||', ooi=Reference('IPAddressV4|internet|162.247.152.131'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|1136', number='1136', name='KPN B.V.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|77.60.161.116', address=IPv4Address('77.60.161.116'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|77.60.161.116|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|1136'), parent=None, start_ip=Reference('IPAddressV4|internet|77.60.161.116'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|77.60.161.116|tcp|443', address=Reference('IPAddressV4|internet|77.60.161.116'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|77.60.161.116', address=IPv4Address('77.60.161.116'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|77.60.161.116|Software|Apache||', ooi=Reference('IPAddressV4|internet|77.60.161.116'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|396982', number='396982', name='GOOGLE-CLOUD-PLATFORM'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|35.197.147.118', address=IPv4Address('35.197.147.118'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|35.197.147.118|15', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|396982'), parent=None, start_ip=Reference('IPAddressV4|internet|35.197.147.118'), mask=15), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|35.197.147.118|tcp|80', address=Reference('IPAddressV4|internet|35.197.147.118'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|35.197.147.118', address=IPv4Address('35.197.147.118'), network=Reference('Network|internet'), netblock=None), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|IPAddressV4|internet|35.197.147.118|KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('IPAddressV4|internet|35.197.147.118'), proof=None, description='Plugin = "IPAddressV4|internet|35.197.147.118".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|14061', number='14061', name='DIGITALOCEAN-ASN'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|143.244.145.201', address=IPv4Address('143.244.145.201'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|143.244.145.201|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|14061'), parent=None, start_ip=Reference('IPAddressV4|internet|143.244.145.201'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|143.244.145.201|tcp|443', address=Reference('IPAddressV4|internet|143.244.145.201'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|143.244.145.201', address=IPv4Address('143.244.145.201'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.14.0|', name='nginx', version='1.14.0', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|143.244.145.201|Software|nginx|1.14.0|', ooi=Reference('IPAddressV4|internet|143.244.145.201'), software=Reference('Software|nginx|1.14.0|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=0.0, risk_severity=), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.14.0||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.14.0|'), proof=None, description='Software = "nginx".', reproduce=None)] +[AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|14061', number='14061', name='DIGITALOCEAN-ASN'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.128.108.228', address=IPv4Address('178.128.108.228'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|178.128.108.228|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|14061'), parent=None, start_ip=Reference('IPAddressV4|internet|178.128.108.228'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|178.128.108.228|tcp|80', address=Reference('IPAddressV4|internet|178.128.108.228'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.128.108.228', address=IPv4Address('178.128.108.228'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|LiteSpeed||', name='LiteSpeed', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|178.128.108.228|Software|LiteSpeed||', ooi=Reference('IPAddressV4|internet|178.128.108.228'), software=Reference('Software|LiteSpeed||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|LiteSpeed|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|LiteSpeed||'), proof=None, description='Software = "LiteSpeed".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|12703', number='12703', name='Pulsant (Scotland) Ltd'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|5.153.73.160', address=IPv4Address('5.153.73.160'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|5.153.73.160|19', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|12703'), parent=None, start_ip=Reference('IPAddressV4|internet|5.153.73.160'), mask=19), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|5.153.73.160|tcp|80', address=Reference('IPAddressV4|internet|5.153.73.160'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|5.153.73.160', address=IPv4Address('5.153.73.160'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|5.153.73.160|Software|Apache||', ooi=Reference('IPAddressV4|internet|5.153.73.160'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|40021', number='40021', name='CONTABO'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|144.126.159.199', address=IPv4Address('144.126.159.199'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|144.126.159.199|19', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|40021'), parent=None, start_ip=Reference('IPAddressV4|internet|144.126.159.199'), mask=19), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|144.126.159.199|tcp|80', address=Reference('IPAddressV4|internet|144.126.159.199'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|144.126.159.199', address=IPv4Address('144.126.159.199'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Kibana||', name='Kibana', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|144.126.159.199|Software|Kibana||', ooi=Reference('IPAddressV4|internet|144.126.159.199'), software=Reference('Software|Kibana||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-HIGH', id='KAT-LEAKIX-HIGH', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Kibana|||KAT-LEAKIX-HIGH', finding_type=Reference('KATFindingType|KAT-LEAKIX-HIGH'), ooi=Reference('Software|Kibana||'), proof=None, description='Software = "Kibana".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|24940', number='24940', name='Hetzner Online GmbH'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.63.132.10', address=IPv4Address('178.63.132.10'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|178.63.132.10|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|24940'), parent=None, start_ip=Reference('IPAddressV4|internet|178.63.132.10'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|178.63.132.10|tcp|443', address=Reference('IPAddressV4|internet|178.63.132.10'), protocol=, port=443, state=), Hostname(object_type='Hostname', scan_profile=None, user_id=None, primary_key='Hostname|internet|praktikant.dimata.it', network=Reference('Network|internet'), name='praktikant.dimata.it', dns_zone=None, registered_domain=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx||', name='nginx', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|Hostname|internet|praktikant.dimata.it|Software|nginx||', ooi=Reference('Hostname|internet|praktikant.dimata.it'), software=Reference('Software|nginx||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx||'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|14061', number='14061', name='DIGITALOCEAN-ASN'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|104.131.213.169', address=IPv4Address('104.131.213.169'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|104.131.213.169|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|14061'), parent=None, start_ip=Reference('IPAddressV4|internet|104.131.213.169'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|104.131.213.169|tcp|80', address=Reference('IPAddressV4|internet|104.131.213.169'), protocol=, port=80, state=), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.14.2|', name='nginx', version='1.14.2', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPPort|internet|104.131.213.169|tcp|80|Software|nginx|1.14.2|', ooi=Reference('IPPort|internet|104.131.213.169|tcp|80'), software=Reference('Software|nginx|1.14.2|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.14.2||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.14.2|'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|27843', number='27843', name='WIN EMPRESAS S.A.C.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|45.236.45.11', address=IPv4Address('45.236.45.11'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|45.236.45.11|22', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|27843'), parent=None, start_ip=Reference('IPAddressV4|internet|45.236.45.11'), mask=22), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|45.236.45.11|tcp|443', address=Reference('IPAddressV4|internet|45.236.45.11'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|45.236.45.11', address=IPv4Address('45.236.45.11'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.18.0|', name='nginx', version='1.18.0', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|45.236.45.11|Software|nginx|1.18.0|', ooi=Reference('IPAddressV4|internet|45.236.45.11'), software=Reference('Software|nginx|1.18.0|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.18.0||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.18.0|'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|43391', number='43391', name='Netdirekt A.S.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|93.187.201.46', address=IPv4Address('93.187.201.46'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|93.187.201.46|21', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|43391'), parent=None, start_ip=Reference('IPAddressV4|internet|93.187.201.46'), mask=21), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|93.187.201.46|tcp|80', address=Reference('IPAddressV4|internet|93.187.201.46'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|93.187.201.46', address=IPv4Address('93.187.201.46'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx||', name='nginx', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|93.187.201.46|Software|nginx||', ooi=Reference('IPAddressV4|internet|93.187.201.46'), software=Reference('Software|nginx||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx||'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|63949', number='63949', name='Akamai Connected Cloud'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.79.147.40', address=IPv4Address('178.79.147.40'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|178.79.147.40|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|63949'), parent=None, start_ip=Reference('IPAddressV4|internet|178.79.147.40'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|178.79.147.40|tcp|443', address=Reference('IPAddressV4|internet|178.79.147.40'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|178.79.147.40', address=IPv4Address('178.79.147.40'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Elasticsearch|7.17.9|', name='Elasticsearch', version='7.17.9', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|178.79.147.40|Software|Elasticsearch|7.17.9|', ooi=Reference('IPAddressV4|internet|178.79.147.40'), software=Reference('Software|Elasticsearch|7.17.9|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Elasticsearch|7.17.9||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Elasticsearch|7.17.9|'), proof=None, description='Software = "Elasticsearch".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|45102', number='45102', name='Alibaba US Technology Co., Ltd.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|8.219.94.19', address=IPv4Address('8.219.94.19'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|8.219.94.19|15', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|45102'), parent=None, start_ip=Reference('IPAddressV4|internet|8.219.94.19'), mask=15), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|8.219.94.19|tcp|443', address=Reference('IPAddressV4|internet|8.219.94.19'), protocol=, port=443, state=), Hostname(object_type='Hostname', scan_profile=None, user_id=None, primary_key='Hostname|internet|chat.getdeepin.org', network=Reference('Network|internet'), name='chat.getdeepin.org', dns_zone=None, registered_domain=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.23.3|', name='nginx', version='1.23.3', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|Hostname|internet|chat.getdeepin.org|Software|nginx|1.23.3|', ooi=Reference('Hostname|internet|chat.getdeepin.org'), software=Reference('Software|nginx|1.23.3|')), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|25400', number='25400', name='Telia Norge AS'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|93.124.249.166', address=IPv4Address('93.124.249.166'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|93.124.249.166|17', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|25400'), parent=None, start_ip=Reference('IPAddressV4|internet|93.124.249.166'), mask=17), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|93.124.249.166|tcp|443', address=Reference('IPAddressV4|internet|93.124.249.166'), protocol=, port=443, state=), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache|2.4.6|', name='Apache', version='2.4.6', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPPort|internet|93.124.249.166|tcp|443|Software|Apache|2.4.6|', ooi=Reference('IPPort|internet|93.124.249.166|tcp|443'), software=Reference('Software|Apache|2.4.6|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-LOW', id='KAT-LEAKIX-LOW', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|2.4.6||KAT-LEAKIX-LOW', finding_type=Reference('KATFindingType|KAT-LEAKIX-LOW'), ooi=Reference('Software|Apache|2.4.6|'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|16276', number='16276', name='OVH SAS'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|213.251.158.214', address=IPv4Address('213.251.158.214'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|213.251.158.214|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|16276'), parent=None, start_ip=Reference('IPAddressV4|internet|213.251.158.214'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|213.251.158.214|tcp|80', address=Reference('IPAddressV4|internet|213.251.158.214'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|213.251.158.214', address=IPv4Address('213.251.158.214'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|213.251.158.214|Software|Apache||', ooi=Reference('IPAddressV4|internet|213.251.158.214'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|136052', number='136052', name='PT Cloud Hosting Indonesia'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|103.31.39.64', address=IPv4Address('103.31.39.64'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|103.31.39.64|23', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|136052'), parent=None, start_ip=Reference('IPAddressV4|internet|103.31.39.64'), mask=23), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|103.31.39.64|tcp|443', address=Reference('IPAddressV4|internet|103.31.39.64'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|103.31.39.64', address=IPv4Address('103.31.39.64'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.25.3|', name='nginx', version='1.25.3', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|103.31.39.64|Software|nginx|1.25.3|', ooi=Reference('IPAddressV4|internet|103.31.39.64'), software=Reference('Software|nginx|1.25.3|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.25.3||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.25.3|'), proof=None, description='Software = "nginx".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|63199', number='63199', name='CDSC-AS1'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|148.153.126.87', address=IPv4Address('148.153.126.87'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|148.153.126.87|20', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|63199'), parent=None, start_ip=Reference('IPAddressV4|internet|148.153.126.87'), mask=20), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|148.153.126.87|tcp|443', address=Reference('IPAddressV4|internet|148.153.126.87'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|148.153.126.87', address=IPv4Address('148.153.126.87'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|VIP|vipshop|', name='VIP', version='vipshop', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|148.153.126.87|Software|VIP|vipshop|', ooi=Reference('IPAddressV4|internet|148.153.126.87'), software=Reference('Software|VIP|vipshop|')), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|7922', number='7922', name='COMCAST-7922'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|104.171.169.158', address=IPv4Address('104.171.169.158'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|104.171.169.158|21', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|7922'), parent=None, start_ip=Reference('IPAddressV4|internet|104.171.169.158'), mask=21), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|104.171.169.158|tcp|6556', address=Reference('IPAddressV4|internet|104.171.169.158'), protocol=, port=6556, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|104.171.169.158', address=IPv4Address('104.171.169.158'), network=Reference('Network|internet'), netblock=None), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-HIGH', id='KAT-LEAKIX-HIGH', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|IPAddressV4|internet|104.171.169.158|KAT-LEAKIX-HIGH', finding_type=Reference('KATFindingType|KAT-LEAKIX-HIGH'), ooi=Reference('IPAddressV4|internet|104.171.169.158'), proof=None, description='Plugin = "IPAddressV4|internet|104.171.169.158".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|60130', number='60130', name='Nexthop AS'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|185.56.187.42', address=IPv4Address('185.56.187.42'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|185.56.187.42|22', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|60130'), parent=None, start_ip=Reference('IPAddressV4|internet|185.56.187.42'), mask=22), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|185.56.187.42|tcp|443', address=Reference('IPAddressV4|internet|185.56.187.42'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|185.56.187.42', address=IPv4Address('185.56.187.42'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|185.56.187.42|Software|Apache||', ooi=Reference('IPAddressV4|internet|185.56.187.42'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|4766', number='4766', name='Korea Telecom'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|183.111.5.204', address=IPv4Address('183.111.5.204'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|183.111.5.204|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|4766'), parent=None, start_ip=Reference('IPAddressV4|internet|183.111.5.204'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|183.111.5.204|tcp|80', address=Reference('IPAddressV4|internet|183.111.5.204'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|183.111.5.204', address=IPv4Address('183.111.5.204'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|183.111.5.204|Software|Apache||', ooi=Reference('IPAddressV4|internet|183.111.5.204'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|8849', number='8849', name='Melbikomas UAB'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|162.247.152.131', address=IPv4Address('162.247.152.131'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|162.247.152.131|22', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|8849'), parent=None, start_ip=Reference('IPAddressV4|internet|162.247.152.131'), mask=22), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|162.247.152.131|tcp|443', address=Reference('IPAddressV4|internet|162.247.152.131'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|162.247.152.131', address=IPv4Address('162.247.152.131'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|162.247.152.131|Software|Apache||', ooi=Reference('IPAddressV4|internet|162.247.152.131'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|1136', number='1136', name='KPN B.V.'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|77.60.161.116', address=IPv4Address('77.60.161.116'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|77.60.161.116|16', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|1136'), parent=None, start_ip=Reference('IPAddressV4|internet|77.60.161.116'), mask=16), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|77.60.161.116|tcp|443', address=Reference('IPAddressV4|internet|77.60.161.116'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|77.60.161.116', address=IPv4Address('77.60.161.116'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|Apache||', name='Apache', version=None, cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|77.60.161.116|Software|Apache||', ooi=Reference('IPAddressV4|internet|77.60.161.116'), software=Reference('Software|Apache||')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|Apache|||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|Apache||'), proof=None, description='Software = "Apache".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|396982', number='396982', name='GOOGLE-CLOUD-PLATFORM'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|35.197.147.118', address=IPv4Address('35.197.147.118'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|35.197.147.118|15', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|396982'), parent=None, start_ip=Reference('IPAddressV4|internet|35.197.147.118'), mask=15), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|35.197.147.118|tcp|80', address=Reference('IPAddressV4|internet|35.197.147.118'), protocol=, port=80, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|35.197.147.118', address=IPv4Address('35.197.147.118'), network=Reference('Network|internet'), netblock=None), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|IPAddressV4|internet|35.197.147.118|KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('IPAddressV4|internet|35.197.147.118'), proof=None, description='Plugin = "IPAddressV4|internet|35.197.147.118".', reproduce=None), AutonomousSystem(object_type='AutonomousSystem', scan_profile=None, user_id=None, primary_key='AutonomousSystem|14061', number='14061', name='DIGITALOCEAN-ASN'), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|143.244.145.201', address=IPv4Address('143.244.145.201'), network=Reference('Network|internet'), netblock=None), IPV4NetBlock(object_type='IPV4NetBlock', scan_profile=None, user_id=None, primary_key='IPV4NetBlock|internet|internet|143.244.145.201|18', network=Reference('Network|internet'), name=None, description=None, announced_by=Reference('AutonomousSystem|14061'), parent=None, start_ip=Reference('IPAddressV4|internet|143.244.145.201'), mask=18), IPPort(object_type='IPPort', scan_profile=None, user_id=None, primary_key='IPPort|internet|143.244.145.201|tcp|443', address=Reference('IPAddressV4|internet|143.244.145.201'), protocol=, port=443, state=), IPAddressV4(object_type='IPAddressV4', scan_profile=None, user_id=None, primary_key='IPAddressV4|internet|143.244.145.201', address=IPv4Address('143.244.145.201'), network=Reference('Network|internet'), netblock=None), Software(object_type='Software', scan_profile=None, user_id=None, primary_key='Software|nginx|1.14.0|', name='nginx', version='1.14.0', cpe=None), SoftwareInstance(object_type='SoftwareInstance', scan_profile=None, user_id=None, primary_key='SoftwareInstance|IPAddressV4|internet|143.244.145.201|Software|nginx|1.14.0|', ooi=Reference('IPAddressV4|internet|143.244.145.201'), software=Reference('Software|nginx|1.14.0|')), KATFindingType(object_type='KATFindingType', scan_profile=None, user_id=None, primary_key='KATFindingType|KAT-LEAKIX-MEDIUM', id='KAT-LEAKIX-MEDIUM', description=None, source=None, impact=None, recommendation=None, risk_score=None, risk_severity=None), Finding(object_type='Finding', scan_profile=None, user_id=None, primary_key='Finding|Software|nginx|1.14.0||KAT-LEAKIX-MEDIUM', finding_type=Reference('KATFindingType|KAT-LEAKIX-MEDIUM'), ooi=Reference('Software|nginx|1.14.0|'), proof=None, description='Software = "nginx".', reproduce=None)] diff --git a/octopoes/bits/default_findingtype_risk/__init__.py b/octopoes/bits/default_findingtype_risk/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/octopoes/bits/default_findingtype_risk/bit.py b/octopoes/bits/default_findingtype_risk/bit.py new file mode 100644 index 00000000000..2a4301f7333 --- /dev/null +++ b/octopoes/bits/default_findingtype_risk/bit.py @@ -0,0 +1,10 @@ +from bits.definitions import BitDefinition +from octopoes.models.ooi.findings import FindingType + +BIT = BitDefinition( + id="default-findingtype-risk", + consumes=FindingType, + parameters=[], + module="bits.default_findingtype_risk.default_findingtype_risk", + min_scan_level=0, +) diff --git a/octopoes/bits/default_findingtype_risk/default_findingtype_risk.py b/octopoes/bits/default_findingtype_risk/default_findingtype_risk.py new file mode 100644 index 00000000000..7acca28d705 --- /dev/null +++ b/octopoes/bits/default_findingtype_risk/default_findingtype_risk.py @@ -0,0 +1,17 @@ +from collections.abc import Iterator +from typing import Any + +from octopoes.models import OOI +from octopoes.models.ooi.findings import FindingType, RiskLevelSeverity + + +def run(input_ooi: FindingType, additional_oois: list, config: dict[str, Any]) -> Iterator[OOI]: + value_set = False + if not input_ooi.risk_severity: + input_ooi.risk_severity = RiskLevelSeverity.PENDING + value_set = True + if not input_ooi.risk_score: + input_ooi.risk_score = 0 + value_set = True + if value_set: + yield input_ooi diff --git a/octopoes/octopoes/models/ooi/findings.py b/octopoes/octopoes/models/ooi/findings.py index cae072df737..f7bce1365e9 100644 --- a/octopoes/octopoes/models/ooi/findings.py +++ b/octopoes/octopoes/models/ooi/findings.py @@ -39,8 +39,8 @@ class FindingType(OOI): impact: str | None = None recommendation: str | None = None - risk_score: float | None = 0.0 - risk_severity: RiskLevelSeverity | None = RiskLevelSeverity.PENDING + risk_score: float | None = None + risk_severity: RiskLevelSeverity | None = None _natural_key_attrs = ["id"] _traversable = False diff --git a/octopoes/tests/test_bit_default_findingtype_risk.py b/octopoes/tests/test_bit_default_findingtype_risk.py new file mode 100644 index 00000000000..785d80fbdf1 --- /dev/null +++ b/octopoes/tests/test_bit_default_findingtype_risk.py @@ -0,0 +1,25 @@ +from bits.default_findingtype_risk.default_findingtype_risk import run as run_default_findingtype_risk + +from octopoes.models.ooi.findings import KATFindingType, RiskLevelSeverity + + +def test_default_findingtype_risk_pending(): + test_finding_type = KATFindingType(id="KAT-TEST") + + assert test_finding_type.risk_severity is None + assert test_finding_type.risk_score is None + + results = list(run_default_findingtype_risk(test_finding_type, [], {})) + + expected_result = results[0] + assert isinstance(expected_result, KATFindingType) + assert expected_result.risk_severity == RiskLevelSeverity.PENDING, "Risk Severity None should default to pending" + assert expected_result.risk_score == 0, "Risk Score None should default to 0" + + +def test_default_findingtype_risk_unkown(): + test_finding_type = KATFindingType(id="KAT-TEST", risk_severity=RiskLevelSeverity.UNKNOWN, risk_score=5) + + results = list(run_default_findingtype_risk(test_finding_type, [], {})) + + assert results == [], "Bit should not output anything when risk_severity or risk_score are set" diff --git a/rocky/katalogus/views/boefje_setup.py b/rocky/katalogus/views/boefje_setup.py index 901d0b8ba32..2ae9d89a8ef 100644 --- a/rocky/katalogus/views/boefje_setup.py +++ b/rocky/katalogus/views/boefje_setup.py @@ -2,6 +2,7 @@ from datetime import datetime from urllib.parse import urlencode +import structlog from account.mixins import OrganizationPermissionRequiredMixin, OrganizationView from django.urls import reverse from django.views.generic.edit import FormView @@ -10,6 +11,8 @@ from katalogus.client import Boefje, DuplicatePluginError, KATalogusNotAllowedError, get_katalogus from octopoes.models.types import type_by_name +logger = structlog.get_logger(__name__) + class BoefjeSetupView(OrganizationPermissionRequiredMixin, OrganizationView, FormView): """Setup view for creating new Boefjes and variants""" @@ -41,6 +44,7 @@ def form_valid(self, form): plugin = create_boefje_with_form_data(form_data, self.plugin_id, self.created) try: + logger.info("Creating boefje", event_code=800025, boefje=plugin) self.katalogus.create_plugin(plugin) return super().form_valid(form) except DuplicatePluginError as error: @@ -95,6 +99,7 @@ def form_valid(self, form): plugin = create_boefje_with_form_data(form_data, self.plugin_id, self.created) try: + logger.info("Creating boefje", event_code=800025, boefje=plugin) self.katalogus.create_plugin(plugin) return super().form_valid(form) except DuplicatePluginError as error: @@ -164,6 +169,7 @@ def form_valid(self, form): plugin = create_boefje_with_form_data(form_data, self.plugin_id, self.created) try: + logger.info("Editing boefje", event_code=800026, boefje=plugin) self.katalogus.edit_plugin(plugin) return super().form_valid(form) except DuplicatePluginError as error: diff --git a/rocky/katalogus/views/plugin_enable_disable.py b/rocky/katalogus/views/plugin_enable_disable.py index c800e66463f..1e7f791da09 100644 --- a/rocky/katalogus/views/plugin_enable_disable.py +++ b/rocky/katalogus/views/plugin_enable_disable.py @@ -1,3 +1,4 @@ +import structlog from django.contrib import messages from django.http import HttpResponseRedirect from django.shortcuts import redirect @@ -6,12 +7,15 @@ from katalogus.views.mixins import SinglePluginView +logger = structlog.get_logger(__name__) + class PluginEnableDisableView(SinglePluginView): def post(self, request, *args, **kwargs): plugin_state = kwargs["plugin_state"] if plugin_state == "True": + logger.info("Disabling plugin", event_code=800022, plugin=self.plugin.name) self.katalogus_client.disable_plugin(self.plugin) messages.add_message( self.request, @@ -21,6 +25,7 @@ def post(self, request, *args, **kwargs): return HttpResponseRedirect(request.POST.get("current_url")) if self.plugin.can_scan(self.organization_member): + logger.info("Enabling plugin", event_code=800021, plugin=self.plugin.name) self.katalogus_client.enable_plugin(self.plugin) messages.add_message( self.request, messages.SUCCESS, _("{} '{}' enabled.").format(self.plugin.type.title(), self.plugin.name) diff --git a/rocky/katalogus/views/plugin_settings_add.py b/rocky/katalogus/views/plugin_settings_add.py index f6a3ff9199c..74263a3151d 100644 --- a/rocky/katalogus/views/plugin_settings_add.py +++ b/rocky/katalogus/views/plugin_settings_add.py @@ -1,3 +1,4 @@ +import structlog from account.mixins import OrganizationPermissionRequiredMixin from django.contrib import messages from django.shortcuts import redirect @@ -9,6 +10,8 @@ from katalogus.forms import PluginSchemaForm from katalogus.views.mixins import SinglePluginView +logger = structlog.get_logger(__name__) + class PluginSettingsAddView(OrganizationPermissionRequiredMixin, SinglePluginView, FormView): """View to add a general setting for all plugins in KAT-alogus""" @@ -44,6 +47,7 @@ def form_valid(self, form): return redirect(self.get_success_url()) try: + logger.info("Adding plugin settings", event_code=800023, plugin=self.plugin.name) self.katalogus_client.upsert_plugin_settings(self.plugin.id, form.cleaned_data) messages.add_message(self.request, messages.SUCCESS, _("Added settings for '{}'").format(self.plugin.name)) except HTTPError: @@ -52,6 +56,7 @@ def form_valid(self, form): if "add-enable" in self.request.POST: try: + logger.info("Enabling plugin", event_code=800021, plugin=self.plugin.name) self.katalogus_client.enable_plugin(self.plugin) except HTTPError: messages.add_message(self.request, messages.ERROR, _("Enabling {} failed").format(self.plugin.name)) diff --git a/rocky/katalogus/views/plugin_settings_delete.py b/rocky/katalogus/views/plugin_settings_delete.py index 21563167fd4..9ad917e5f4c 100644 --- a/rocky/katalogus/views/plugin_settings_delete.py +++ b/rocky/katalogus/views/plugin_settings_delete.py @@ -1,3 +1,4 @@ +import structlog from account.mixins import OrganizationPermissionRequiredMixin from django.contrib import messages from django.http import HttpResponseRedirect @@ -8,6 +9,8 @@ from katalogus.views.mixins import SinglePluginView +logger = structlog.get_logger(__name__) + class PluginSettingsDeleteView(OrganizationPermissionRequiredMixin, SinglePluginView, TemplateView): template_name = "plugin_settings_delete.html" @@ -55,6 +58,7 @@ def get_success_url(self): def delete(self, request, *args, **kwargs): try: + logger.info("Deleting plugin settings", event_code=800024, plugin=self.plugin.name) self.katalogus_client.delete_plugin_settings(self.plugin.id) messages.add_message( request, messages.SUCCESS, _("Settings for plugin {} successfully deleted.").format(self.plugin.name) diff --git a/rocky/tests/integration/test_reports.py b/rocky/tests/integration/test_reports.py index 01d5f130588..a28d5ba3ee3 100644 --- a/rocky/tests/integration/test_reports.py +++ b/rocky/tests/integration/test_reports.py @@ -294,25 +294,25 @@ def test_multi_report( assert multi_data["asset_vulnerabilities"] == [ { "asset": "IPAddressV6|test|3e4d:64a2:cb49:bd48:a1ba:def3:d15d:9230", - "vulnerabilities": {"CVE-2018-20677": 0.0, "CVE-2019-8331": 0.0, "RetireJS-jquerymigrate-f3a3": 0.0}, + "vulnerabilities": {"CVE-2018-20677": None, "CVE-2019-8331": None, "RetireJS-jquerymigrate-f3a3": None}, "organisation": "test-test_multi_report", "services": ["Web"], }, { "asset": "IPAddressV4|test|192.0.2.3", - "vulnerabilities": {"CVE-2018-20677": 0.0, "CVE-2019-8331": 0.0, "RetireJS-jquerymigrate-f3a3": 0.0}, + "vulnerabilities": {"CVE-2018-20677": None, "CVE-2019-8331": None, "RetireJS-jquerymigrate-f3a3": None}, "organisation": "test-test_multi_report", "services": ["Dicom", "Mail", "Other", "Web"], }, { "asset": "IPAddressV6|test|3e4d:64a2:cb49:bd48:a1ba:def3:d15d:9230", - "vulnerabilities": {"CVE-2018-20677": 0.0, "CVE-2019-8331": 0.0, "RetireJS-jquerymigrate-f3a3": 0.0}, + "vulnerabilities": {"CVE-2018-20677": None, "CVE-2019-8331": None, "RetireJS-jquerymigrate-f3a3": None}, "organisation": "test-test_multi_report-2", "services": ["Web"], }, { "asset": "IPAddressV4|test|192.0.2.3", - "vulnerabilities": {"CVE-2018-20677": 0.0, "CVE-2019-8331": 0.0, "RetireJS-jquerymigrate-f3a3": 0.0}, + "vulnerabilities": {"CVE-2018-20677": None, "CVE-2019-8331": None, "RetireJS-jquerymigrate-f3a3": None}, "organisation": "test-test_multi_report-2", "services": ["Dicom", "Mail", "Other", "Web"], }, @@ -377,9 +377,9 @@ def test_multi_report( "Web": {"number_of_available": 4, "number_of_ips": 4, "number_of_valid": 4, "rpki_ips": True}, } assert multi_data["system_vulnerabilities"] == { - "CVE-2018-20677": {"cvss": 0.0, "Web": 4, "Dicom": 2, "Mail": 2, "Other": 2}, - "CVE-2019-8331": {"cvss": 0.0, "Web": 4, "Dicom": 2, "Mail": 2, "Other": 2}, - "RetireJS-jquerymigrate-f3a3": {"cvss": 0.0, "Web": 4, "Dicom": 2, "Mail": 2, "Other": 2}, + "CVE-2018-20677": {"cvss": None, "Web": 4, "Dicom": 2, "Mail": 2, "Other": 2}, + "CVE-2019-8331": {"cvss": None, "Web": 4, "Dicom": 2, "Mail": 2, "Other": 2}, + "RetireJS-jquerymigrate-f3a3": {"cvss": None, "Web": 4, "Dicom": 2, "Mail": 2, "Other": 2}, } assert multi_data["ipv6"] == { "Dicom": {"total": 2, "enabled": 2}, diff --git a/rocky/tests/reports/test_vulnerability_report.py b/rocky/tests/reports/test_vulnerability_report.py index fa915918661..d406c023395 100644 --- a/rocky/tests/reports/test_vulnerability_report.py +++ b/rocky/tests/reports/test_vulnerability_report.py @@ -82,7 +82,7 @@ def test_vulnerability_report_finding_no_score( data = report.collect_data([str(hostname.reference)], valid_time)[str(hostname.reference)] assert data[str(ipaddressv4.reference)]["vulnerabilities"]["CVE-2023-38408"]["cvss"]["score"] == 9.8 - assert data[str(ipaddressv4.reference)]["vulnerabilities"]["CVE-0000-0001"]["cvss"]["score"] == 0 + assert data[str(ipaddressv4.reference)]["vulnerabilities"]["CVE-0000-0001"]["cvss"]["score"] is None assert data[str(ipaddressv4.reference)]["summary"]["total_criticals"] == 1 assert data[str(ipaddressv4.reference)]["summary"]["total_findings"] == 2