Get available actions
()
| 12901 | gw_class = classify_device(gw_vendor, ['53', '80', '443'], gateway_ip=gateway_ip, device_ip=gateway_ip) |
| 12902 | nodes.append({ |
| 12903 | 'id': gateway_ip, |
| 12904 | 'ip': gateway_ip, |
| 12905 | 'mac': gw.get('gateway_mac', ''), |
| 12906 | 'hostname': 'Gateway', |
| 12907 | 'vendor': gw_vendor, |
| 12908 | 'type': 'router', |
| 12909 | 'type_label': 'Router/Gateway', |
| 12910 | 'confidence': 1.0, |
| 12911 | 'ports': [], |
| 12912 | 'status': 'alive', |
| 12913 | 'risk': 0, |
| 12914 | 'last_seen': '', |