forked from p15670423/monkey
island: include 'icmp' from scan telemetry in report
This commit is contained in:
parent
c7a1f246cb
commit
c6bec1335c
|
@ -510,6 +510,7 @@ class ReportService:
|
||||||
'hostname': monkey['hostname'],
|
'hostname': monkey['hostname'],
|
||||||
'target': target_ip,
|
'target': target_ip,
|
||||||
'services': scan['data']['machine']['services'],
|
'services': scan['data']['machine']['services'],
|
||||||
|
'icmp': scan['data']['machine']['icmp'],
|
||||||
'is_self': False
|
'is_self': False
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -544,7 +545,7 @@ class ReportService:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_cross_segment_issues():
|
def get_cross_segment_issues():
|
||||||
scans = mongo.db.telemetry.find({'telem_category': 'scan'},
|
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 = []
|
cross_segment_issues = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue