Resolve the active scan profile from config, defaulting to 'high'.
(shared_data)
| 103 | |
| 104 | |
| 105 | def 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 | |
| 111 | def get_default_gateway_ip(): |
no test coverage detected