INNER CODE UNIT · Python
run_domain_group
samugit83/redamon · recon/main.py:1841
def run_domain_group(target_domain: str, subdomain_list: list, start_time=None) -> int:
"""Run the whole domain pipeline for ONE target: a single-domain project, or
one group of a Domain batch.
Everything that is per-TARGET lives here (ownership verification, target
parsing, RoE host exclusion, the pipeline itself, the summary). Everything
that is per-RUN stays in main(): the RoE time window, and above all the
graph clear, which must happen ONCE so a batch's groups accumulate into one
graph instead of each wiping the last.
The target arrives as ARGUMENTS, never through the module globals: a batch
group's domain is not TARGET_DOMAIN (which is empty in batch mode), and
downstream modules re-read settings from the API, so a mutated global would
not reach them anyway.
Returns 0 on success, 1 if this target was aborted.
"""
if start_time is None: