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

Function get_scan_profile

actions/scanning.py:105–108  ·  view source on GitHub ↗

Resolve the active scan profile from config, defaulting to 'high'.

(shared_data)

Source from the content-addressed store, hash-verified

103
104
105def get_scan_profile(shared_data):
106 """Resolve the active scan profile from config, defaulting to 'high'."""
107 name = (shared_data.config.get('scan_intensity') or 'high').strip().lower()
108 return SCAN_PROFILES.get(name, SCAN_PROFILES['high'])
109
110
111def get_default_gateway_ip():

Callers 2

run_nmap_network_scanMethod · 0.85
deep_scan_hostMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected