MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_actions

Function get_actions

webapp_modern.py:12903–12911  ·  view source on GitHub ↗

Get available actions

()

Source from the content-addressed store, hash-verified

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': '',

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected