island: include 'icmp' from scan telemetry in report

This commit is contained in:
Mike Salvatore 2021-02-02 11:03:39 -05:00
parent c7a1f246cb
commit c6bec1335c
1 changed files with 2 additions and 1 deletions

View File

@ -510,6 +510,7 @@ class ReportService:
'hostname': monkey['hostname'],
'target': target_ip,
'services': scan['data']['machine']['services'],
'icmp': scan['data']['machine']['icmp'],
'is_self': False
})
@ -544,7 +545,7 @@ class ReportService:
@staticmethod
def get_cross_segment_issues():
scans = mongo.db.telemetry.find({'telem_category': 'scan'},
{'monkey_guid': 1, 'data.machine.ip_addr': 1, 'data.machine.services': 1})
{'monkey_guid': 1, 'data.machine.ip_addr': 1, 'data.machine.services': 1, 'data.machine.icmp': 1})
cross_segment_issues = []