Design a Pen-Testing Orchestration Platform

Hard45 min
1 / 30
System design answer

Design a Pen-Testing Orchestration Platform

Hard45 min30 sections
understanding•11 min read

Problem Statement: An Orchestration Layer for Continuous Security Validation

Frames the platform as a multi-scanner orchestration and finding-lifecycle system, not a single scanner wrapper.

Problem statement

Design a pen-testing orchestration platform that schedules automated vulnerability scans and penetration tests across microservices, subnets, container images, and cloud workloads. The platform integrates multiple scanning engines, aggregates and normalizes their heterogeneous outputs, de-duplicates findings, classifies severity using CVSS and contextual risk, auto-creates remediation tickets in engineering workflows, tracks remediation SLAs, and produces compliance evidence for auditors.

This is not "run Nmap and email the PDF." A serious orchestration platform treats scanning as a continuous, scheduled, multi-engine pipeline with durable state, idempotent execution, and auditable evidence. The core tension is that scanners are stateless, heterogeneous, and produce overlapping results, while the organization needs a single, deduplicated, severity-ranked, ownership-assigned view of its security posture.

Why the problem is distinctive

A CI/CD pipeline can retry a failed build. A vulnerability finding that is lost, duplicated, or misclassified has real security consequences. The design therefore separates scan execution (stateless, retryable, scanner-specific) from finding lifecycle (durable, deduplicated, severity-tracked, remediation-bound). A scan can fail and be retried. A finding, once confirmed, must persist through the entire remediation workflow.

The problem requires scheduling, multi-scanner integration, result aggregation with severity classification, and auto-ticketing.

Public operating baseline versus design assumptions

Public evidence establishes that the category is operationally real. Tenable reports serving over 100,000 customers and scanning billions of assets across on-premises, cloud, and OT environments. Qualys reports more than 15,000 customers and processes over 6 billion vulnerability assessments. The NIST National Vulnerability Database contains over 200,000 published CVE entries. Rapid7's Metasploit Framework is used by security teams worldwide for penetration testing validation. These are cited company and public figures, not requirements for our fictional system.

For capacity planning, this answer explicitly assumes a mature enterprise deployment with 50,000 tracked assets, 500 scan jobs per day, 5 integrated scanner engines, 2 million raw findings per month before deduplication, and a 5x peak multiplier during compliance windows. Unless a number is tied to a citation, it is a stated design assumption, target, budget, or illustrative threshold.

The four architectural planes

  1. Orchestration plane: scan scheduling, coverage definition, scanner dispatch, job lifecycle, retry, and cancellation.
  2. Aggregation plane: result ingestion, normalization, deduplication, severity classification, correlation, and enrichment.
  3. Workflow plane: ticket creation, remediation tracking, SLA enforcement, escalation, and closure verification.
  4. Governance plane: compliance reporting, audit evidence, policy enforcement, access control, and data retention.

A strong interview answer keeps these planes separate. It allows the orchestration plane to degrade without losing finding data, and it permits the governance plane to generate reports without interfering with active scans.

Key Highlights

  • •The platform orchestrates scanners; it does not replace them. Scanner engines remain pluggable behind a normalized interface.
  • •Model scan execution as a retryable job and finding lifecycle as a durable, deduplicated workflow.
  • •Public figures from Tenable, Qualys, and NIST NVD provide context; every uncited scale or SLO in this answer is an explicit design assumption.
  • •The architecture has four planes: orchestration, aggregation, workflow, and governance.
  • •A scan failure is retryable; a confirmed finding must persist through the entire remediation lifecycle.
Lead With the Orchestration Boundary
State in the first two minutes that the platform orchestrates scanners but does not replace them. Scanners remain pluggable; the platform owns scheduling, normalization, deduplication, and finding lifecycle. This instantly distinguishes an orchestration architecture from a single-scanner wrapper.
Do Not Design a Scanner
A design that builds its own vulnerability scanner from scratch misses the point. The hard problem is orchestrating heterogeneous scanners, normalizing their outputs, and managing the finding lifecycle. Scanner engines are inputs, not the product.

Section Rescue Kit

Buzzwords to use:

Finding LifecycleScanner Abstraction Layer

Safe statements:

  • "I will separate scan execution from finding lifecycle: the former is retryable, while the latter must be durable and deduplicated."
  • "Before selecting services, let me define which decisions belong to orchestration, aggregation, workflow, and governance."
Design a Pen-Testing Orchestration Platform - System Design | WinJob | WinJob